Idea编译打包过程发生错误

在使用Idea进行项目打包时遇到了错误,通过删除不完整的编译器版本文件(如3.7.0),重新执行Maven的pom文件进行下载,或更换为其他版本(如3.3)来解决问题。成功编译并打包。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Idea打包遇到如下问题

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project HDF
SConnection: Execution default-compile of goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile failed: Plugin o
rg.apache.maven.plugins:maven-compiler-plugin:3.7.0 or one of its dependencies could not be resolved: Could not transfer art
ifact org.ow2.asm:asm:jar:6.0_BETA from/to alimaven (http://maven.aliyun.com/nexus/content/groups/public/): Failed to transf
er file: http://maven.aliyun.com/nexus/content/groups/public/org/ow2/asm/asm/6.0_BETA/asm-6.0_BETA.jar. Return code is: 500
, ReasonPhrase:Internal Server 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] 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值