项目启动报错:
Caused by: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.....entity.Attachment'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.....file.entity.Attachment
Caused by: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.....file.entity.Attachment'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.....file.entity.Attachment
在这里插入代码片
由报错可推测,是由于xml映射文件的实体类路径配置错了,去检查一下,果然
修改mapper和实体类的映射路径,问题解决!