SpringBoot----Maven项目引入外部jar包

记练习springboot过程中,需要引入外部一些jar遇到的问题。

1. 在pom.xml中添加需要的jar。注意:<scope>与<systemPath>标签必须


2.为使之前配置生效,需要在maven-plugin中添加:

    <configuration>
          <includeSystemScope>true</includeSystemScope>

    </configuration>




至此,添加外部包完成。

猜你喜欢

转载自blog.csdn.net/silence_hw/article/details/79922129