[INFO] --- copy-maven-plugin:0.2.5:copy
[WARNING] Error injecting: com.github.goldin.plugins.copy.CopyMojo
java.lang.NoClassDefFoundError: Lorg/sonatype/aether/RepositorySystem;
[ERROR] Failed to execute goal com.github.goldin:copy-maven-plugin:0.2.5:copy (unpack-qzz) on project travel-destination: Execution unpack-qzz of goal com.github.goldin:copy-maven-plugin:0.2.5:copy failed: A required class was missing while executing com.github.goldin:copy-maven-plugin:0.2.5:copy: Lorg/sonatype/aether/RepositorySystem;
看maven官方提示是版本不兼容,所以我试了几个maven版本2.2.1 3.1.1 3.2.1都不行
最后换成3.0.5 3.0.4这两个版本是可以的、
maven的插件太多,官方测试不完全,插件开发者自己该测一下兼容性啊
[WARNING] Error injecting: com.github.goldin.plugins.copy.CopyMojo
java.lang.NoClassDefFoundError: Lorg/sonatype/aether/RepositorySystem;
[ERROR] Failed to execute goal com.github.goldin:copy-maven-plugin:0.2.5:copy (unpack-qzz) on project travel-destination: Execution unpack-qzz of goal com.github.goldin:copy-maven-plugin:0.2.5:copy failed: A required class was missing while executing com.github.goldin:copy-maven-plugin:0.2.5:copy: Lorg/sonatype/aether/RepositorySystem;
看maven官方提示是版本不兼容,所以我试了几个maven版本2.2.1 3.1.1 3.2.1都不行
最后换成3.0.5 3.0.4这两个版本是可以的、
maven的插件太多,官方测试不完全,插件开发者自己该测一下兼容性啊
文章详细记录了解决使用Maven插件时遇到版本不兼容问题的过程,通过尝试不同版本的Maven,最终找到可以正常运行的版本。重点介绍了如何识别并解决此类常见错误。
1026

被折叠的 条评论
为什么被折叠?



