2019年8月20日 星期二

eclipse The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path

eclipse exception show on console
The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path

1.download from http://tomcat.apache.org/download-native.cgi
2.put tcnative-1.dll into path
3.eclipse tomcat server args past -Djava.library.path="C:\Java\MyLib"