查看: 4365|回复: 1

自定义工程模板mvn install报错

升级   0.39%

1

主题

0

回帖

39

积分

注册会员

Rank: 2

积分
39
发表于 2023-3-14 10:43:39 | 显示全部楼层 |阅读模式
[ERROR] 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 -> [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/confluen ... oExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :x_sampleproject_core_entity

回复

使用道具 举报

升级   100%

3

主题

1687

回帖

1018

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
1018
发表于 2023-3-14 17:40:35 | 显示全部楼层
看您这个报错是java版本不对
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

联系客服 关注微信 下载APP 返回顶部 返回列表
viewthread