目录
Maven项目启动失败:class path resource [spring/] cannot be resolved to URL because it does not exist
解决方法1
在pom.xml中加入
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
</build>
解决方法2
在web.xml中的classpath后面加个 *****
<param-value>classpath*:spring/springmvc.xml</param-value>