2017年9月8日

IllegalArgumentException: Could not resolve resource location pattern [classpath .xml]: class path resource cannot be resolved to URL because it does not exist

摘要: 查看编译后的classes文件后,没有mapper.xml文件,所以SQLsessionfactory不能读取成功。 在Maven中加入如下的resources配置: 阅读全文

posted @ 2017-09-08 15:42 乐之者v 阅读(692) 评论(0) 推荐(0)

IDEA : SQL dialect is not configured

摘要: 在Idea中,xml配置文件报错:SQL dialect is not configured 解决方法如下: 在Idea中,在报错的地方按alt+enter,然后点击Generic配置dialect即可。 阅读全文

posted @ 2017-09-08 14:43 乐之者v 阅读(12463) 评论(1) 推荐(2)

导航