maven web启动报错java.lang.ClassNotFoundException: org.springframework.web.util.Log4jConfigListener

时间:2021-07-29 13:25:12

问题描述

SEVERE: Error configuring application listener of class org.springframework.web.util.Log4jConfigListener
java.lang.ClassNotFoundException: org.springframework.web.util.Log4jConfigListener

解决方案:

右键项目-属性-deployment assembly,发现没有maven dependencies相关项,添加即可,然后运行成功啦。

详见:maven项目Tomcat controller 404