基于APR的Apache Tomcat本机库的不兼容版本[1.1.34] [英] incompatible version [1.1.34] of the APR based Apache Tomcat Native library

查看:1122
本文介绍了基于APR的Apache Tomcat本机库的不兼容版本[1.1.34]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在嵌入式Tomcat服务器上启动Spring Boot 2.0.0.M6应用程序期间,在我的openSUSE Leap 42.3服务器上,我在日志中看到以下错误:

On my openSUSE Leap 42.3 server during Spring Boot 2.0.0.M6 application startup on Embedded Tomcat server I'm seeing the following error in the logs:

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]

为了避免此错误,请您说明在此处(以及在何处)应修复的内容?

Could you please explain what should be fixed there(and where) in order to avoid this error?

推荐答案

由于答案对我来说是不完整的,而且这是google在研究中找到的第一个线索,所以我会说什么可以为我解决问题.

Since the answer was incomplete for me and it is the first thread that google finds for the research i'll say what solves the problem for me.

我必须从 https://tomcat.apache.org/下载Apache Tomcat本机库download-native.cgi ,然后将bin文件夹的内容(带有tcnative-1.dll)放入我使用的jdk bin文件夹中.

I had to download the Apache Tomcat Native Library from https://tomcat.apache.org/download-native.cgi then put the content of the bin folder (with the tcnative-1.dll) into the jdk bin folder that i use.

希望它将对某人有所帮助!

Hope it will help someone!

来源: 查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆