关于SpringMyBatis常见错误

1.org.apache.ibatis.exceptions.PersistenceException: 
### Error building SqlSession.
### The error may exist in mybatis\mappers\demoUserMapper.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 'mybatis\mappers\demoUserMapper.xml'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'demoUser>'.  Cause: java.lang.ClassNotFoundException: Cannot find class: demoUser>

 路径报错:常规操作查看实现类配xml置文件sql语句

resultType=""

返回值类型的路径是否写对。

上一篇:java环境下,订单号或者流水号的生成方法(1)


下一篇:迁移ElasticSearch老集群中的数据到新集群