欢迎访问悦橙教程(wld5.com),关注java教程。悦橙教程  java问答|  每日更新
页面导航 : > > 文章正文

Error creating bean with name 'sqlSessionFactory' defined in class path resource [config/spring/applicationContext.xml]: Invocation of init method failed;,defined

来源: javaer 分享于  点击 38595 次 点评:4

Error creating bean with name 'sqlSessionFactory' defined in class path resource [config/spring/applicationContext.xml]: Invocation of init method failed;,defined


我报的错:

  org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [config/spring/applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource

这个可能是项目刚开始时导入了mapper文件,但还是没有实体类与其对应而报的错,可以把mapper文件先去掉,这样不报错了

 

 

相关文章

    暂无相关文章
相关栏目:

用户点评