Advertisement

ERROR [main] - Error in adding the mapper for interface com.itheima.core.dao.CustomerDao to configu

阅读量:

在重新启动Apache服务器的过程中出现错误提示:

Mapper接口配置错误

ERROR [main] - 在将映射器 'interface com.itheima.core.dao.CustomerDao' 添加至配置过程中发生错误。
org.apache.ibatis.builder.BuilderException: 解析映射器 XML 文件时出现异常。原因:org.apache.ibatis.builder.BuilderException: 无法解析类。原因:org.apache.ibatis.type.TypeException: 无法识别类型别名 'customer'。原因:java.lang.ClassNotFoundException: 无法找到类:customer
at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:120)
at org.apache.ibatis.builder.xml.XMLMapperBuilder.parse(XMLMapperBuilder.java:92)
at org.apache.ibatis.builder.annotation.MapperAnnotationBui

全部评论 (0)

还没有任何评论哟~