在Spring Boot中构建jar文件时出错

时间:2019-01-29 12:33:36

标签: spring maven spring-boot

[错误]无法在项目od-api上执行目标org.springframework.boot:spring-boot-maven-plugin:2.1.1.RELEASE:repackage(重新打包):目标org.springframework.boot的执行重新打包: spring-boot-maven-plugin:2.1.1.RELEASE:重新打包失败: 无法在插件中加载mojo'repackage' 'org.springframework.boot:spring-boot-maven-plugin:2.1.1.RELEASE' 由于API不兼容: org.codehaus.plexus.component.repository.exception.ComponentLookupException:  JVMCFRE003主要版本不良; class = org / springframework / boot / maven / RepackageMojo,offset = 6 [错误] ----------------------------------------------- ------ [错误]领域=插件> org.springframework.boot:spring-boot-maven-plugin:2.1.1.RELEASE [错误]策略= org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy

0 个答案:

没有答案