小弟初学SpringBoot 遇到了这么个问题。
SpringBoot 集成Mybatis后 启动时报错
Cause by: java.lang.ClassNotFoundException:
Cannot find class: com.XXX.bean.SystemSettings.Users
然后自己测试了下 把mapper 中的select 注释掉 就启动成功了。
网上搜索了些答案:
说要resources文件夹下建立个META-INF文件夹 下面建个spring-devtools.properties文件
里面写上
restart.include.companycommonlibs=tk/mybatis.*
但是不起作用。
restart.include.companycommonlibs 后面的tk代表的是什么 ,哪位大神有解决方案。
SpringBoot 集成Mybatis后 启动时报错
Cause by: java.lang.ClassNotFoundException:
Cannot find class: com.XXX.bean.SystemSettings.Users
然后自己测试了下 把mapper 中的select 注释掉 就启动成功了。
网上搜索了些答案:
说要resources文件夹下建立个META-INF文件夹 下面建个spring-devtools.properties文件
里面写上
restart.include.companycommonlibs=tk/mybatis.*
但是不起作用。
restart.include.companycommonlibs 后面的tk代表的是什么 ,哪位大神有解决方案。
