The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [C:\Program Files\Java\jdk1.8.0_181\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\WINDOWS\system32\Wbem;C:\WINDOWS\system32;C:\WINDOWS\system32\Wbem;C:\WINDOWS;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\iCLS\;C:\Program Files\Intel\Intel(R) Management Engine Components\iCLS\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Java\jdk1.8.0_181\bin;C:\Program Files\Java\jdk1.8.0_181\jre\bin;C:\Program Files\TortoiseSVN\bin;C:\HashiCorp\Vagrant\bin;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:\Program Files (x86)\AvatarClient\app\g100_dahua;C:\Program Files (x86)\AvatarClient\app\g100_dahuahd;C:\Program Files (x86)\AvatarClient\app\g100_guobiao;C:\Program Files (x86)\AvatarClient\app\g100_h3c;C:\Program Files (x86)\AvatarClient\app\g100_haikang;C:\Program Files (x86)\AvatarClient\app\g100_haikanghd;C:\Program Files (x86)\AvatarClient\app\g100_hanbang;C:\Program Files (x86)\AvatarClient\app\g100_haote5;C:\Program Files (x86)\AvatarClient\app\g100_haowei;C:\Program Files (x86)\AvatarClient\app\g100_jingyang;C:\Program Files (x86)\AvatarClient\app\g100_langchi;C:\Program Files (x86)\AvatarClient\app\g100_nanzi;C:\Program Files (x86)\AvatarClient\app\g100_tiandy;C:\Program Files (x86)\AvatarClient\app\GB;C:\Program Files (x86)\AvatarClient\app;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;D:\Program Files\apache-maven-3.3.9\bin;C:\Program Files\nodejs\;C:\Users\user\AppData\Local\Microsoft\WindowsApps;C:\Users\user\AppData\Local\GitHubDesktop\bin;C:\Users\user\AppData\Roaming\npm;.]

 

解决方法:
http://archive.apache.org/dist/tomcat/tomcat-connectors/native/

下载与你Tomcat对应版本的 tcnative-1.dll,放到apache-tomcat-N(版本号)\bin 目录下面,重启tomcat ;

如果你不清楚版本,你随便下载一个版本,放进目录里面,在重启tomcat 的时候,会有提示你合适的 tcnative-1.dll 版本;

 

 

 

 

posted on 2019-09-10 14:15  刘达人186  阅读(582)  评论(0编辑  收藏  举报