idea启动springboot时报:An incompatible version [1.2.12] of the APR based Apache Tomcat Native library is installed, while Tomcat requires version [1.2.14]


Idea报错:

An incompatible version [1.2.12] of the APR based Apache Tomcat Native library is installed, while Tomcat requires version [1.2.14]

 

原因:tcnative-1.dll的版本不兼容

解决办法:
下载相应的版本:http://archive.apache.org/dist/tomcat/tomcat-connectors/native/1.2.14/binaries/tomcat-native-1.2.14-win32-bin.zip

注意你的电脑是32位,还是64位。如果是64位系统,那么从里面找到"x64"这个文件夹,找到里面的tcnative-1.dll,将这个文件复制copy到:
(1)如果你的tomcat是安装版,则复制到C:\Windows\System32下覆盖掉tcnative-1.dll,然后重新启动springboot项目即可。
(2)如果你的tomcat是解压版,则要复制到你的tomcat的bin目录下。

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM