我报的错:

  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文件先去掉,这样不报错了

 

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

 

相关文章:

  • 2021-07-02
  • 2022-12-23
  • 2022-12-23
  • 2021-07-06
  • 2021-06-24
  • 2022-01-25
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-01
  • 2022-12-23
  • 2021-06-09
  • 2022-12-23
  • 2021-06-12
相关资源
相似解决方案