class path resource [spring/] cannot be resolved to URL because it does not exist;
在 pom.xml 里添加如下代码
- <build>
- <finalName>ForestBlog</finalName>
- <resources>
- <resource>
- <directory>src/main/java</directory>
- <includes>
- <include>**/*.properties</include>
- <include>**/*.xml</include>
- </includes>
- <filtering>true</filtering>
- </resource>
- </resources
- </build>
如果还是不行,无法生成 mybatis和spring,以及那两个properties文件的情况,试试 clean (删除target),然后在启动 Tomcat。