首页 > 代码库 > IDEA +maven+ ContextLoaderListener not find

IDEA +maven+ ContextLoaderListener not find

tomcat 启动失败:SEVERE: Context [] startup failed due to previous errors

 

查看pox.xml 有spring-web依赖

 

查看tomcat日志: ContextLoaderListener not find

由于IDEA 无法自动将MAVEN的依赖包直接加载,需要在project structure 中手动添加spring - web 包到lib 下

 

IDEA +maven+ ContextLoaderListener not find