启动的时候报错 麻烦老师看看 拦截器的问题

来源:3-8 _广告模块开发_分页标签封装

qq_benefitfinde_0

2017-11-02

Error creating bean with name 'sqlSessionFactory' defined in file [D:\2017workspace\.metadata\.me_tcat85\webapps\SaiYue\WEB-INF\classes\spring\applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [mybatis-config.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'org.imooc.dao.interceptor.PageInterceptor'.  Cause: java.lang.ClassNotFoundException: Cannot find class: org.imooc.dao.interceptor.PageInterceptor

写回答

1回答

源生活

2017-11-02

这个分页拦截器你其实是有的是吧?如果有,那是开发工具的问题,开发工具每次刚打开就会这样,你随便找个java修改一下,加个空格就行,然后重新发布工程就好了

0
3
源生活
意思就是让工程产生变化然后再redeploy
2017-11-02
共3条回复

IT段子手详解MyBatis遇到Spring 秒学Java SSM开发大众点评

【毕设】SSM全面梳理,前后端分离,zTree 和复杂SQL打造权限系统,解惑MyBatis和RESTful

1001 学习 · 485 问题

查看课程