[java 2020-04-24] springboot生成的jar包没有主类和依赖jar包

2021-02-08 18:17

阅读:705

标签:class   mave   pil   org   nbsp   div   for   maven   efi   

build>
        plugins>
            plugin>
                groupId>org.springframework.bootgroupId>
                artifactId>spring-boot-maven-pluginartifactId>
                configuration>
                    fork>truefork>
                    mainClass>com.shijt.WebApplicationmainClass>
                configuration>
            plugin>
            plugin>
                groupId>org.apache.maven.pluginsgroupId>
                artifactId>maven-compiler-pluginartifactId>
                configuration>
                    source>1.8source>
                    target>1.8target>
                configuration>
            plugin>
            plugin>
                groupId>org.apache.maven.pluginsgroupId>
                artifactId>maven-surefire-pluginartifactId>
                configuration>
                    skipTests>trueskipTests>
                configuration>
            plugin>
        plugins>
    build>

 

[java 2020-04-24] springboot生成的jar包没有主类和依赖jar包

标签:class   mave   pil   org   nbsp   div   for   maven   efi   

原文地址:https://www.cnblogs.com/shijt/p/12770286.html


评论


亲,登录后才可以留言!