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

项目启动成功发现会有如下报错:An incompatible version [1.2.12] of the APR based Apache Tomcat Native library is installed, while Tomcat requires version [1.2.14]

这是因为内置tomcat版本不同的原因,点击链接http://archive.apache.org/dist/tomcat/tomcat-connectors/native/下载对应的版本即可。如下图所示:

下载解压后,根据自己电脑的操作系统位数选取对应的版本文件,我的是64位操作系统,所以是图下路径

将tcnative-1.dll此文件放入C:\Windows\System32即可,然后重启项目,此时会发现项目无报错了,

* 感谢您的阅读。如果感觉文章对您有用,麻烦您动动手指点个赞,以资鼓励。谢谢!

猜你喜欢

转载自blog.csdn.net/lihua5419/article/details/81196073