ale*_*oid 8 tomcat apr tomcat8 spring-boot
在我的openSUSE Leap 42.3服务器上,在嵌入式Tomcat服务器上的Spring Boot 2.0.0.M6应用程序启动期间,我在日志中看到以下错误:
ERROR 30471 --- [main] o.a.catalina.core.AprLifecycleListener: An incompatible version [1.1.34] of the APR based Apache Tomcat Native library is installed, while Tomcat requires version [1.2.14]
Run Code Online (Sandbox Code Playgroud)
你可以解释一下应该在那里修复什么(以及在哪里)以避免这个错误?
这是因为系统安装的tomcat(CATALINA_HOME)与spring boot tomcat的库冲突。因此,要摆脱此错误,请下载所需版本的本机库并替换为 bin 文件夹的 tcnative-1.dll
下载链接:https://archive.apache.org/dist/tomcat/tomcat-connectors/native/
小智 5
由于答案对我来说是不完整的,而且这是google在研究中找到的第一个线索,因此我会说什么可以为我解决问题。
我必须从https://tomcat.apache.org/download-native.cgi下载Apache Tomcat本机库,然后将bin文件夹的内容(带有tcnative-1.dll)放入我使用的jdk bin文件夹中。
希望能对某人有所帮助!
| 归档时间: |
|
| 查看次数: |
8316 次 |
| 最近记录: |