hello-world icon indicating copy to clipboard operation
hello-world copied to clipboard

Source option 6 is no longer supported. Use 7 or later.

Open sumanthsara opened this issue 3 years ago • 2 comments

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project server: Compilation failure: Compilation failure: [ERROR] error: Source option 6 is no longer supported. Use 7 or later. [ERROR] error: Target option 6 is no longer supported. Use 7 or later. [ERROR] -> [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 [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :server

Can you Help me this errors.

sumanthsara avatar Sep 09 '21 09:09 sumanthsara

See this issue

OmerBaddour avatar Sep 14 '21 20:09 OmerBaddour

You need to configure the plugin to add the source and target versions. Please check Maven site to see how => https://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html

jhrozo avatar Oct 14 '23 19:10 jhrozo