org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full d
项目场景:
做spring+spring mvc的案例,写完controller、service和dao层,运行tomcat报错
问题描述:
26-Oct-2020 17:43:33.549 严重 [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原因分析:
首先别忘了去日志里看详细的报错,这个上面的报错看不到任何有用的信息
原因是因为jar文件没有同步发布到自己项目的lib目录中
解决方案:
右键这个模块选择put into output root
web-info就会出现lib目录,重启tomcat,运行成功