maven打jar包遇到的问题和解决办法

第一个问题:

要更新一个微服务,需要打jar包上传给运维,结果报错了

Cannot get the revision information from the scm repository

组长说是svn的bin目录下缺少svn.exe

原因是安装的时候没有选这一项:

将红叉那里的选项换成command line client tools就会有svn.exe了,环境变量里也自动配好了。

第二个问题:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project in-study: Compilation failure
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?

解决方案:https://blog.csdn.net/lslk9898/article/details/73836745


版权声明:本文为qq_38256982原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。