javawhy 2019-02-27 14:31 采纳率: 30%
浏览 2997
已采纳

springboot maven打jar包异常

[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin
:2.0.6.RELEASE:repackage (default) on project my-project: Execution default o
f goal org.springframework.boot:spring-boot-maven-plugin:2.0.6.RELEASE:repackage
failed: 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>
  • 写回答

2条回答 默认 最新

      报告相同问题?

      相关推荐 更多相似问题

      悬赏问题

      • ¥15 vba代出现莫须有错误,都是一个个复制下来的为啥出错呢?
      • ¥15 /etc/vsftpd/vsftp.conf配置文件加了一行utf8_filesystem=YES之后,启动vsftpd报错
      • ¥15 W5100可以收广播,但是无法发出广播
      • ¥100 PCD点云排序和分割
      • ¥15 GG-CNN抓取数据集
      • ¥15 C++类和对象,多态性,继承,虚函数虚基类
      • ¥15 使用VS2019和Dev c++按%p输出地址,结果相差很大
      • ¥30 有偿解惑TINA老报错,求解惑
      • ¥15 arduino esp8266 编译问题
      • ¥15 metawrap画图报错