Web.xml中配置监听器Listener导致Tomcat无法启动

Web.xml中配置监听器Listener导致Tomcat无法启动

1.在pom.xml里导入

org.springframework
spring-web
5.0.5.RELEASE

版本看你个人的Spring版本,要一致

2.File->Project Structure->Artfacts
Web.xml中配置监听器Listener导致Tomcat无法启动_第1张图片
查看jar包是否完全,没有完全手动添加,特别是spring-web这个包很有可能没有添加进去。

你可能感兴趣的:(java,spring,maven,tomcat)