Can't load IA 32-bit .dll on a AMD 64-bit platform解决办法

警告: The APR based Apache Tomcat Native library failed to load. The error reported was [C:\Windows\System32\tcnative-1.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform]
java.lang.UnsatisfiedLinkError: C:\Windows\System32\tcnative-1.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform

上文的意思是tcnative-1.dll是32位的不支持64位的平台(jdk环境),所以只要将  C:\Windows\System32\下的和tomcat安装目录下的bin下的tcnative-1.dll用64位的替换掉就行了。

各个版本下载地址:
tcnative-1.dll
http://archive.apache.org/dist/tomcat/tomcat-connectors/native/ 

ps:tomcat整合本地apr会使效率提升

你可能感兴趣的:(tomcat)