IDEA中Tomcat部署Web应用时出现异常
Tomcat部署Web应用时出现异常
08-Jul-2017 21:45:26.064 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
08-Jul-2017 21:45:26.066 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
导致Tomcat不能启动
在Artifacts中在该项目的WEB—INF中添加lib文件夹,注意一定在WEB—INF目录下
然后点击Library Files添加全部依赖,重启Tomcat即可: