Spring Boot App部署到tomcat服务器后无法加载库

时间:2019-04-08 09:40:14

标签: spring-boot tomcat centos tomcat9

在我的Spring Boot应用程序中,我使用

加载 .so
System.load("/path/library.so");

通过工具运行正常。但是在将此应用程序部署到CentOS 7中的tomcat服务器后,出现以下错误:

java.lang.UnsatisfiedLinkError: Can't load library: /path/library.so

有人可以建议我如何解决此错误。预先感谢。

0 个答案:

没有答案