The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [C:Program FilesJavajdk1.8.0_181in;C:WindowsSunJavain;C:Windowssystem32;C:Windows;C:WINDOWSsystem32Wbem;C:WINDOWSsystem32;C:WINDOWSsystem32Wbem;C:WINDOWS;C:Program Files (x86)Common FilesOracleJavajavapath;C:Program Files (x86)IntelIntel(R) Management Engine ComponentsiCLS;C:Program FilesIntelIntel(R) Management Engine ComponentsiCLS;C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;C:WindowsSystem32WindowsPowerShellv1.0;C:WindowsSystem32OpenSSH;C:Program Files (x86)IntelIntel(R) Management Engine ComponentsDAL;C:Program FilesIntelIntel(R) Management Engine ComponentsDAL;C:Program FilesJavajdk1.8.0_181in;C:Program FilesJavajdk1.8.0_181jrein;C:Program FilesTortoiseSVNin;C:HashiCorpVagrantin;C:Program FilesGitcmd;C:Program FilesPuTTY;C:Program Files (x86)AvatarClientappg100_dahua;C:Program Files (x86)AvatarClientappg100_dahuahd;C:Program Files (x86)AvatarClientappg100_guobiao;C:Program Files (x86)AvatarClientappg100_h3c;C:Program Files (x86)AvatarClientappg100_haikang;C:Program Files (x86)AvatarClientappg100_haikanghd;C:Program Files (x86)AvatarClientappg100_hanbang;C:Program Files (x86)AvatarClientappg100_haote5;C:Program Files (x86)AvatarClientappg100_haowei;C:Program Files (x86)AvatarClientappg100_jingyang;C:Program Files (x86)AvatarClientappg100_langchi;C:Program Files (x86)AvatarClientappg100_nanzi;C:Program Files (x86)AvatarClientappg100_tiandy;C:Program Files (x86)AvatarClientappGB;C:Program Files (x86)AvatarClientapp;C:Program FilesIntelWiFiin;C:Program FilesCommon FilesIntelWirelessCommon;D:Program Filesapache-maven-3.3.9in;C:Program Files odejs;C:UsersuserAppDataLocalMicrosoftWindowsApps;C:UsersuserAppDataLocalGitHubDesktopin;C:UsersuserAppDataRoaming pm;.]
解决方法:
http://archive.apache.org/dist/tomcat/tomcat-connectors/native/
下载与你Tomcat对应版本的 tcnative-1.dll,放到apache-tomcat-N(版本号)in 目录下面,重启tomcat ;
如果你不清楚版本,你随便下载一个版本,放进目录里面,在重启tomcat 的时候,会有提示你合适的 tcnative-1.dll 版本;