eclipse + maven +tomcat

zhoulikang19 2012-08-20 11:01:46
org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource
[/WEB-INF/config/spring/appcontext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource:
'file [C:\Users\dzh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\fundPortfolio\WEB-INF\classes\com\gw\resource\mapper\FundAssetsDetailMapper.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.gw.model.FundAssetsDetailInfo'.
Cause: java.lang.ClassNotFoundException: Cannot find class: com.gw.model.FundAssetsDetailInfo
...全文
39 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
cscript 2012-08-20
  • 打赏
  • 举报
回复
楼主,错误里不是说了吗

没有找到 com.gw.model.FundAssetsDetailInfo 这个class

如果确实有定义这个类,那确认下是否install到maven仓库

并确认你的webapp项目有没有依赖com.gw.model.FundAssetsDetailInfo定义的这个包

58,453

社区成员

发帖
与我相关
我的任务
社区描述
Java Eclipse
社区管理员
  • Eclipse
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧