一个Mybatis的Demo,本来搭建是ok的,新建的时候懒得手敲,拷贝过去后报错:

org.apache.ibatis.exceptions.PersistenceException

Mybatis调试1:org.apache.ibatis.exceptions.PersistenceException

映射如下:

Mybatis调试1:org.apache.ibatis.exceptions.PersistenceException

 

直译就是传递mapper配置出错,找不到所给的路径demo/mybatis/mydemo2/mapper/SignupMapper.xml,根据SignupMapper.xml文件中的配置检查项目路径果然少了一层,增加后正常

Mybatis调试1:org.apache.ibatis.exceptions.PersistenceException

相关文章:

  • 2021-08-13
  • 2021-08-26
  • 2021-09-13
  • 2021-06-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-17
  • 2022-12-23
  • 2021-09-01
  • 2021-05-19
  • 2021-11-11
相关资源
相似解决方案