Spring
文章平均质量分 52
SpringFramework
@小聂同学
18岁之后的你不在属于自己!
展开
-
SpringBoot第一个程序(Hello Spring Boot!)
SpringBoot第一个程序(Hello Spring Boot!) 需求:浏览发送/hello请求,响应 Hello Spring Boot ! IntelliJ IDEA 2020.3.2 JDK1.8.0_271 Maven3.6.3原创 2021-02-18 22:47:29 · 838 阅读 · 0 评论 -
but was actually of type ‘com.sun.proxy.$Proxy9‘解决方案
报错如下: org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named ‘userMapper’ is expected to be of type ‘com.nfhao.mapper.UserMapperImpl’ but was actually of type ‘com.sun.proxy.$Proxy9’ 解决方案: 这个错误的原因是spring aop代理混用的问题 在Spring配置文件里面的 <转载 2021-01-18 23:10:33 · 1134 阅读 · 0 评论