maven打包常见异常

maven打包常见异常

1.1 #Process terminated

1.1.1 java.io.FileNotFoundException: F:\apache-maven-3.6.3/conf/logging

打开对应的maven目录,新建logging文件夹即可,

从Maven 3.1.0开始,默认的日志记录配置文件位于/conf/logging/simplelogger.properties。

1.1.2 The specified user settings file does not exist: F:\apache-maven-3.6.3\conf\ settings.xml

配置文件位置不对,打开idea 搜索maven重新配置正确的位置

1.1.3 项目打包出现BOOT-INF

<plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <configuration>
                    <skip>true</skip>
                </configuration>
            </plugin>
posted @ 2022-07-10 00:12  三号小玩家  阅读(172)  评论(0编辑  收藏  举报
Title
三号小玩家的 Mail: 17612457115@163.com, 联系QQ: 1359720840 微信: QQ1359720840