在用spring-boot-starter-parent进行打包时 执行 mvn spring-boot:repackage
报错
Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.x.0.RELEASE:repackage (default-cli) on project xxx: Execution default-cli of goal org.springframework.boot:spring-boot-maven-plugin:1.x.0.RELEASE:repackage failed: Source must refer to an existing file -> [Help 1]
解决办法:
打包时 应 改为 mvn jar:jar spring-boot:repackage
idea中修改方式如下: