<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>
![](https://img2020.cnblogs.com/blog/1905484/202109/1905484-20210903101216301-1678220754.png)