在运行测试类的时候的报错,内容如下
报错:
class path resource [spring/spring-search.xml] cannot be opened because it does not exist
解决方案:
1. 检查相关路径,检查是否路径有误,文件名写错等
2. 修改 "classpath:spring/spring-search.xml" 为 "classpath*:spring/spring-search.xml"
在运行测试类的时候的报错,内容如下
报错:
class path resource [spring/spring-search.xml] cannot be opened because it does not exist
解决方案:
1. 检查相关路径,检查是否路径有误,文件名写错等
2. 修改 "classpath:spring/spring-search.xml" 为 "classpath*:spring/spring-search.xml"