springboot的錯Invalid bound statement (not found)

一般都是xml映射錯誤
看下自己的映射路徑
還有對應xml裏面的namespace的對應路徑

如果都沒錯
那就可能和我一下,創建xml文件時,沒有給文件加上.xml後綴

mybatis:
  mapper-locations: classpath:mapping/*Mapper.xml
  type-aliases-package: com.trueway.zhdwapp.user.entity.Student
  configuration:
    map-underscore-to-camel-case: true
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章