An incompatible version [1.2.31] of the Apache Tomcat Native library is installed, while Tomcat requ

An incompatible version [1.2.31] of the Apache Tomcat Native library is installed, while Tomcat requires version [1.2.34]


项目场景:
提示:这里简述项目相关背景:

新建SpringBoot项目后测试的时候出现这个问题,翻译过来的大概意思是:
安装了Apache Tomcat Native库的不兼容版本[1.2.23],而Tomcat需要版本[1.2.34]

一开始以为 tomcat位置配置不对,检查后并没有问题

解决方案:
提示:这里填写该问题的具体解决方案:

去apache官网找到自己对应的版本,我这里是1.2.23
http://archive.apache.org/dist/tomcat/tomcat-connectors/native/

打开链接后选择自己所需要的版本

An incompatible version [1.2.31] of the Apache Tomcat Native library is installed, while Tomcat requ_第1张图片
进入所选版本的【binaries/】目录下

An incompatible version [1.2.31] of the Apache Tomcat Native library is installed, while Tomcat requ_第2张图片


下载 tomcat-native-1.2.34-openssl-1.1.1o-ocsp-win32-bin.zip

An incompatible version [1.2.31] of the Apache Tomcat Native library is installed, while Tomcat requ_第3张图片
下载后解压,进入文件的 bin目录下,根据自己电脑位数找到【tcnative-1.dll】 文件

 An incompatible version [1.2.31] of the Apache Tomcat Native library is installed, while Tomcat requ_第4张图片

 

然后将文件复制到 jdk的bin目录中(或者将文件拷贝到C:\Windows\System32)即可

An incompatible version [1.2.31] of the Apache Tomcat Native library is installed, while Tomcat requ_第5张图片

 An incompatible version [1.2.31] of the Apache Tomcat Native library is installed, while Tomcat requ_第6张图片

 

你可能感兴趣的:(apache,tomcat,java)