[Solved] Mybatis Error: Cause: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration.

Testing Mybatis, querying data, reporting errors.
### Error building SqlSession
### The error may exist in com/lxc/dao/UserMapper.xml
### Cause: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is ‘com/lxc/dao/UserMapper.xml’. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias ‘User’.  Cause: java.lang.ClassNotFoundException: Cannot find class: User
The green circle in the screenshot below is the error file, look further back Cannot find class: User , indicating that the class was not found

In looking at the error file configuration.
Locate the error place, should write the full path

Solution:


Read More: