Skip to content

Instantly share code, notes, and snippets.

@kapresoft
Last active August 28, 2018 02:02
Show Gist options
  • Save kapresoft/71d2c6d703fadcfef3b38e8040feddd3 to your computer and use it in GitHub Desktop.
Save kapresoft/71d2c6d703fadcfef3b38e8040feddd3 to your computer and use it in GitHub Desktop.
Java Compiler Mismatch
/Users/bob/sandbox/github/nfet/mvn_set_java_compiler_version
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building mvn-demo-java-compiler-version 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ mvn-demo-java-compiler-version ---
[INFO] Deleting /Users/bob/sandbox/github/nfet/mvn_set_java_compiler_version/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ mvn-demo-java-compiler-version ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ mvn-demo-java-compiler-version ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /Users/bob/sandbox/github/nfet/mvn_set_java_compiler_version/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.093 s
[INFO] Finished at: 2018-08-27T18:53:35-07:00
[INFO] Final Memory: 10M/310M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project mvn-demo-java-compiler-version: Fatal error compiling: invalid target release: 1.10 -> [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/MojoExecutionException
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment