tomcat在eclipse下部署的web项目启动时候一直报错,百度了很多也没什么用
你这个情况就是配置文件没有配置好吧?web.xml有没有配置上这个东西
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:applicationContext.xml</param-value>
</context-param>
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
applicationContext.xml是spring的配置文件,根据自己的情况来配置,注意配置路径是否要进行修改
tomcat服务坏了,删除后重新new一个服务。