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