英文:
I keep getting a really annoying error everytime I run mvn clean install
问题
I keep getting a
> 执行目标时失败
> org.apache.maven.plugins:maven-shade-plugin:2.1:shade (默认) 于
> 项目 PermissionsPlugin 上:创建阴影 jar 时出错:在处理类 net/perms/commands/rank/deleteRank.class 的 ASM 中出现
> 错误。
我无法弄清楚发生了什么,因为当我在Intellij中构建时没有任何错误。我使用Maven构建的原因是为了进行阴影处理,如果你想知道的话。有关如何解决此问题的任何建议吗?
英文:
I keep getting a
> Failed to execute goal
> org.apache.maven.plugins:maven-shade-plugin:2.1:shade (default) on
> project PermissionsPlugin: Error creating shaded jar: Error in ASM
> processing class net/perms/commands/rank/deleteRank.class" error.
I can't figure out what is happening, as Intellij isn't giving me any errors when I build with it. The reason I build with maven is to shade, in case you were wondering. Any suggestions on how to fix this?
答案1
得分: 1
解决方案是更新Maven shade插件。
英文:
The solution was to update the Maven shade plugin.
答案2
得分: 0
我找到了问题。我的Maven Shade插件不是最新的... 这个错误在一段时间前被Maven修复了。
英文:
I found out my issue. My maven shade plugin wasn't up to date... The error has been fixed by Maven a while ago.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论