2022-01-26
Multiple markers at this line
- The type org.apache.ibatis.type.TypeHandler cannot be resolved. It is
indirectly referenced from required .class files
- The type org.apache.ibatis.type.JdbcType cannot be resolved. It is
indirectly referenced from required .class files
说明你目前版本的Eclipse太旧了,不支持JDK1.8了,要么换最新版本的Eclipse,要么用IDEA。
有时候,明明pom.xml里添加了外部架包,代码里也能正常运行,查是源码里就是提示报错,说类不存在,刷新这里就好了,maven更新不及时的原因:
外部架包jar里用到了一个Service, 但是本部项目却识别不了它,说bean不存在。
解决办法1:File -> Project Structure -> 左边菜单找到Facets -> 中间菜单选中 Spring(xxx) -> 再点左边框上边沿的+号 ->
在打开的对话框中选 + 号
选中Code-base configurations 然后选中你外部包bean所在的java文件就好。
感觉这个不是最优方案,先这样做吧,反正不报错了。