在使用tomcat6.0时老提示“The APR based Apache Tomcat Native library which allows optimal performanc e in production environments was not found ”,需要向其安装目录下的bin目录下添加tcnative-1 1.1.17而事实上需要的版本是1.1.19.
tcnative-1 本地库,在出现The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: 错误的时候要用上, 把该文件放在bin目录下即可
1.解决:The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path...
2.用法:win+R 到C:\Windows\System32里面去 ,根据你的操作系统把tcnative-1.dll、tcnative-1-src.pdb都放进去。
java.lang.UnsatisfiedLinkError:
Can't load IA 32-bit .dll on a AMD 64-bit platform
错误原因
由错误提示可知,tcnative-1.dll是一个32位文件,但是运行在64位系统上
解决办法
下载一个64位的tcnative-1.dll,覆盖了原来的文件
java.lang.UnsatisfiedLinkError:
Can't load IA 32-bit .dll on a AM
在IntelliJ IDEA 2019.3.3 x64中启动tomcat时报错java.lang.UnsatisfiedLinkError: D:\Tomcat v7.0.4.7\bin\tcnative-1.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
/***************************