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

运行环境: Intellij idea 14

在改了项目名称. 运行时候出现了

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

错误,一开始以为是tomcat问题. 重新配了下,发现还是一样.

回想重名项目后.重新配置了Artifacts

仔细查一下 发现果然是没有 create Path

点一下create Path 解决了.

路径:

File--project Structure --Proect Setting --Artifacts---点击 web:war --create Path

如下图:

原文地址:https://www.cnblogs.com/orac/p/7087974.html