![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SSM
chengxi666
这个作者很懒,什么都没留下…
展开
-
java.lang.IllegalStateException: Could not load JDBC driver class [${jdbc.driver}]
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mybatis.spring.mapper.MapperScannerConfigurer#0' defined in file [xxx\applicationContext-mybatis.xml]: Canno...原创 2019-07-21 04:45:03 · 4009 阅读 · 0 评论 -
SpringMVC拦截器拦截不了Controller
问题描述 通过debug模式发现每次执行controller的请求,请求都是先进入controller方法 然后才进入Interceptor拦截器方法 问题分析及解决方法 通过上图分析可知,拦截器实际上拦截的并不是controller请求,而是/favicon.ico请求。由此可知该拦截器拦截不了controller请求。 通过查阅资料得知是因为<mvc:annotation-d...原创 2019-07-21 20:45:07 · 2307 阅读 · 2 评论