SpringBoot引入第三方jar包

<dependency>
    <!-- groupId,artifactId,version自定义> <groupId>sun.misc.BASE64Decoder</groupId> <artifactId>BASE64Decoder</artifactId> <version>1.0</version> <scope>system</scope>
    <!--按如下方式引入每一个第三方的jar包,其中${project.basedir}指当前项目的根目录--> <systemPath>${project.basedir}/src/main/resources/lib/sun.misc.BASE64Decoder.jar</systemPath> </dependency> <!-- 需配置为true,项目打jar包时才会将配置第三方jar加载到项目jar包里> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration> <includeSystemScope>true</includeSystemScope> </configuration> </plugin>
posted @ 2021-09-03 10:12  wujingqi  阅读(438)  评论(0编辑  收藏  举报