问题: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才能使新配置的环境变量生效。