[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