springboot2.0启动报错The APR based Apache Tomcat Native library which allows optimal performance in ...

错误信息具体如下:

      The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [D:\Java8\jdk1.8.0_181\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;D:\Clients\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\Git\cmd;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;D:\mysql5.7\bin;D:\TortoiseSVN\bin;D:\Java8\jdk1.8.0_181\bin;D:\Java8\jdk1.8.0_181\jre\bin;D:\apache-maven-3.5.2\bin;D:\erl10.0.1\bin;.]
 

解决方法:

http://archive.apache.org/dist/tomcat/tomcat-connectors/native/1.2.14/binaries/ ,点击下载

springboot2.0启动报错The APR based Apache Tomcat Native library which allows optimal performance in ..._第1张图片

下载后解压缩,如果是64位电脑,将路径bin\x64下文件拷贝到C:\Windows\System32这个地址下重启项目即可

你可能感兴趣的:(springboot)