总有人间一两风,填我十万八千梦

mvn package Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile

杂谈 Zero、J 706℃ 0评论

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project guacamole-common: Compilation failure -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

Please check if the JDK is installed, you may only have the JRE installed.

 

原因:用的是OpenJDK8,系统中只安装了jre,并有安装JDK,使用命令安装 openjdk-8-jdk 即可,安装完JDK之后重新 mvn package,其目录如下图所示。

 

转载请注明:悠然品鉴 » mvn package Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile

喜欢 (0)or分享 (0)
发表我的评论
取消评论

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址