SSM笔记
键盘上的&艺术家
这个作者很懒,什么都没留下…
展开
-
Spring踩坑001:BeanNotOfRequiredTypeException: Bean named ‘userService
问题描述: Caused by: org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named 'userServiceImpl' is expected to be of type 'com.wormpex.service.impl.UserServiceImpl' but was actually of type 'com.sun.proxy.$Proxy28' 在练习Spring的AOP过程中遇到这原创 2022-05-15 11:30:59 · 479 阅读 · 0 评论 -
2021-09-16、MVC项目常用依赖
一、乱码Filter 在web.xml中加入spring-mvc的乱码过滤器 <!-- 配置SpringMVC的乱码过滤--> <filter> <filter-name>encoding</filter-name> <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>原创 2021-09-17 10:59:13 · 161 阅读 · 0 评论