把jar包放到WEB_INF里面,并在pom文件里添加以下代码即可

<dependency>
    <groupId>com.cb</groupId>
    <artifactId>SMUtils</artifactId>
    <scope>system</scope>
    <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/SMUtils.jar</systemPath>
</dependency>

 

maven项目手动添加jar包

相关文章:

  • 2022-12-23
  • 2022-01-07
  • 2021-07-29
  • 2022-12-23
  • 2021-12-05
  • 2021-11-21
  • 2021-06-27
  • 2021-06-28
猜你喜欢
  • 2021-07-24
  • 2021-07-19
  • 2021-07-31
  • 2021-05-02
  • 2022-12-23
  • 2022-12-23
  • 2021-08-20
相关资源
相似解决方案