siyi 发表于 2023-3-14 10:43:39

自定义工程模板mvn install报错

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default) on project x_sampleproject_core_entity: Fatal error compiling: 无效的目标发行版: 11 ->

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the following articles:
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

After correcting the problems, you can resume the build with the command
   mvn <goals> -rf :x_sampleproject_core_entity

xadmin 发表于 2023-3-14 17:40:35

看您这个报错是java版本不对
页: [1]
查看完整版本: 自定义工程模板mvn install报错