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

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

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

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

    <configuration>
          <includeSystemScope>true</includeSystemScope>

    </configuration>


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


至此,添加外部包完成。

相关文章:

  • 2021-11-07
  • 2022-01-06
  • 2021-11-10
  • 2022-12-23
  • 2022-01-20
  • 2022-12-23
  • 2021-06-11
猜你喜欢
  • 2022-12-23
  • 2021-06-05
  • 2021-12-26
  • 2021-08-24
  • 2021-07-10
  • 2021-09-13
相关资源
相似解决方案