小菜鸟一个,写一些我遇到的问题。
在学习mybatis的时候,按照教程的步骤一步步的操作,可是发现在最后运行的时候报错,总是启动不起来,报错是:
org.apache.ibatis.exceptions.PersistenceException:
### Error building SqlSession.
### The error may exist in com/yihaomen/mybatis/model/User.xml
### The error occurred while processing mapper_resultMap[resultUserArticleList]
### Cause: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.lang.RuntimeException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class . Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'Article'. Cause: java.lang.ClassNotFoundException: Cannot find class: Article