Cause: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration.Cause:org.apache.ibatis.builder.BuilderException: Error resolving class.Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias ‘’. Cause: java.lang.ClassNotFoundException: Cannot find class:
根据IDEA的错误提示,可以发现错误是在mybatis-config.xml主配置文件下的
Could not resolve type alias ‘’. ,这个错误说明主配置文件中的标签存在属性没有提供属性值的情况,我的错误如下,interceptor=“”,没有设置属性值,所以出现了错误。
<!--plugins标签用于配置MyB