sqlSessionFactory异常

2022-08-11 19:09:21 浏览数 (2)

大家好,又见面了,我是你们的朋友全栈君。

org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sqlSessionFactory’ defined in class path resource [spring/applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: ‘class path resource [mybatis]’; nested exception is java.io.FileNotFoundException: class path resource [mybatis] cannot be opened because it does not exist sqlSessionFactory配置文件路径错误

发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/130864.html原文链接:https://javaforall.cn

0 人点赞