1、The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Program Files\Java\jdk1.8.0_112\jre\bin;D:\Program Files\Tomcat 9.0\bin
上tomcat官方网站上下载高版本的tcnative-1.dll放到Tomcat9.0\bin,jdk1.8.0_112\bin,C:\WINDOWS\System32三个目录下,然后就去tomcat网站下载最新的,地址为 http://archive.apache.org/dist/tomcat/tomcat-connectors/native/ ,下载了个1.2.8版本的dll文件。就OK了。当然你要根据自己的tomcat的版本选择适合的