0
点赞
收藏
分享

微信扫一扫

已解决java.nio.file.FileSystemException文件系统异常的正确解决方法,亲测有效!!!

拾光的Shelly 2024-04-22 阅读 34

在pom.xml文件中添加以下:

<plugin>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-maven-plugin</artifactId>
    <version>2.3.4.RELEASE</version>
    <configuration>
        <!-- 指定该Main Class为全局的唯一入口 这里是启动类的地址 -->
        <mainClass>com.cloud.cloudprint.CloudPrintApplication</mainClass>
        <layout>ZIP</layout>
    </configuration>
    <executions>
        <execution>
            <goals>
                <goal>repackage</goal><!--可以把依赖的包都打包到生成的Jar包中-->
            </goals>
        </execution>
    </executions>
</plugin>
举报

相关推荐

0 条评论