首页 新闻 会员 周边 捐助

求助:maven项目部署到tomcat时,找不到src/main/java/mapper下的文件【巨友】

0
悬赏园豆:40 [已关闭问题] 关闭于 2017-06-27 16:51

1. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSession' defined in class path resource [spring-mybatis.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\ZengQingLong\MyEclipseTest\.metadata\.me_tcat\webapps\Demo-zql\WEB-INF\classes\mapper\TestMapper.xml]'; nested exception is 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 'com.jnkj.ssm.dao.Test'.  Cause: java.lang.ClassNotFoundException: Cannot find class: com.jnkj.ssm.dao.Test

问题补充:

明日上西楼的主页 明日上西楼 | 初学一级 | 园豆:140
提问于:2017-06-27 15:52
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册