在本地部署好好的到Linux 上出了问题
错误:Caused by: java.io.FileNotFoundException: class path resource [mybatis/SqlMapConfig.xml] cannot be opened because it does not exist
之后看了classes中确实有mybatis/SqlMapConfig.xml文件
...全文
2044打赏收藏
关于项目部署到Linux Tomcat出的问题
在本地部署好好的到Linux 上出了问题 错误:Caused by: java.io.FileNotFoundException: class path resource [mybatis/SqlMapConfig.xml] cannot be opened because it does not exist 之后看了classes中确实有mybatis/SqlMapConfig.xml文件
Error creating bean with name 'sqlSessionFactory' defined in file [/usr/local/tomcat-service/apache-tomcat-7.0.57/webapps/ROOT/WEB-INF/classes/spring/applicationContext-dao.xml]: Invocation of init method failed; nested exception is java.io.FileNotFoundException: class path resource [mybatis/SqlMapConfig.xml] cannot be opened because it does not exist