本文主要是介绍The APR based Apache Tomcat Native library which allows optimal performance in,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
问题:tomcat容器启动时报错:
The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found
原因:tomcat的系统环境变量没有配置。
解决办法:
配置Tomcat环境变量
1,新建变量名:CATALINA_HOME,变量值(tomcat的解压包路径或者安装路径)如:C:\tomcat
2,打开PATH,添加变量值:%CATALINA_HOME%\lib;%CATALINA_HOME%\bin
3,重启eclipse即可。重启eclipse才能使新配置的环境变量生效。
这篇关于The APR based Apache Tomcat Native library which allows optimal performance in的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!