Error--An incompatible version [1.2.33] of the Apache Tomcat Native library is installed, while Tomcat requires version [1.2.34]
這個錯誤表明,當(dāng)前系統(tǒng)上安裝的 Apache Tomcat Native library 版本不兼容,具體來說: 系統(tǒng)安裝的 Tomcat Native library 版本是 1.2.33,但 Tomcat 需要至少 1.2.34 版本。
Apache Tomcat Native Library 是 Tomcat 用來加速網(wǎng)絡(luò) I/O 的一個庫,特別是在使用 APR(Apache Portable Runtime)時,它能提高性能。
Tomcat Native library 通常與 APR 綁定,以實現(xiàn)高效的文件處理和加密。
解決:
Apache官網(wǎng)找到高的版本替換:https://archive.apache.org/dist/tomcat/tomcat-connectors/native/
進(jìn)入目錄:https://archive.apache.org/dist/tomcat/tomcat-connectors/native/1.2.34/binaries/

下載解壓好后進(jìn)入 bin 目錄中找到 tcnative-1.dll 文件。拷貝文件到 jdk 的 bin 目錄下。


浙公網(wǎng)安備 33010602011771號