document.write("");

maven 正常运行,打包提示未找到Class

  1. 引入的有外部jar :

            <groupId>xxx</groupId>
            <artifactId>xxxx</artifactId>
            <version>xxxx</version>
            <scope>system</scope>
            <systemPath>${project.basedir}/lib/xxxxxxxx.jar</systemPath>

  2.打包需要配置一下:

            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <configuration>
                    <includeSystemScope>true</includeSystemScope>
                </configuration>
            </plugin>

  

posted @ 2021-08-05 08:26  人间春风意  阅读(771)  评论(0)    收藏  举报