需要添加dependency 和resources 否则发布的时候可能会缺少jar


<dependency>
<groupId>com.sap</groupId>
<artifactId>sapjco3</artifactId>
<version>3.0.12</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/sapjco3.jar</systemPath>
</dependency>



<!--引入本地资源-->
此配置文件放在<build></build>里面即可,完成配置 部署的时候次才能带过去

<resources>
<resource>
<directory>lib</directory>
<targetPath>BOOT-INF/lib/</targetPath>
<includes>
<include>**/*.jar</include>
</includes>
</resource>
</resources>




参考:https://www.e-learn.cn/content/qita/780126

相关文章:

  • 2021-07-10
  • 2021-07-01
  • 2022-12-23
  • 2022-12-23
  • 2021-05-20
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-01
  • 2022-12-23
  • 2021-07-20
  • 2021-12-22
  • 2022-12-23
  • 2021-09-03
相关资源
相似解决方案