[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.0.6.RELEASE:repackage (default) on project my-project: Execution default of goal org.springframework.boot:spring-boot-maven-plugin:2.0.6.RELEASE:repackagefailed: Unable to rename '...\target\my-project-0.1-SNAPSHOT.jar' to '...\target\my-project-0.1-SNAPSHOT.jar.original' -> [Help 1]pom.xml<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.0.6.RELEASE</version>
<configuration>
<fork>true</fork>
<mainClass>...Application</mainClass>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
4 回答

weibo_藍石頭藍_0
TA貢獻1條經(jīng)驗 獲得超1個贊
my-project-0.1-SNAPSHOT.jar 文件被其他進程占用了。你試著刪一下看看哪個程序占用,結束那個程序進程就行了
添加回答
舉報
0/150
提交
取消