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

如下图:

 

posted @ 2017-06-28 02:38  orac  阅读(347)  评论(0编辑  收藏  举报