Failed to convert property value of type [com.sun.proxy.$Proxy27 implementing com.ibeifeng.se
来源:互联网 发布:python exit 1 编辑:程序博客网 时间:2024/05/19 02:06
.TypeMismatchException:
Failed to convert property value of type [com.sun.proxy.$Proxy27 implementing com.ibeifeng.service.IEmployeeService,com.ibeifeng.service.IService,org.springframework.aop.SpringProxy,org.springframework.aop.framework.Advised] to required type
意思就是说不能注入 把 proxy 代理对象 注入到 service 的 Impl 实现类 中; 而需要使用接口编程; 也就是需要用 IemployeeSerice 来接收代理对象 ;改正后ok ;
0 0
- Failed to convert property value of type [com.sun.proxy.$Proxy27 implementing com.ibeifeng.se
- Failed to convert property value of type 'com.sun.proxy.$Proxy8 implementing
- Failed to convert property value of type [$Proxy0 implementing com.s2hs.dao.UserDAO
- Cannot convert value of type [com.sun.proxy.$Proxy11 implementing com.xuyp.managize.service.IBaseSer
- Null value was assigned to a property of primitive type setter of com.ibeifeng.po.Employee.modifyTim
- org.springframework.beans.TypeMismatchException: Failed to convert property value of type [$Proxy8 implementing
- java.lang.ClassCastException: com.sun.proxy.$Proxy27 cannot be cast to com.bbk.n002.service.Question
- java.lang.ClassCastException: com.sun.proxy.$Proxy27 cannot be cast to com.bbk.n002.service.Question
- Failed to convert property value of type [java.lang.String] to required type [boolean] for property
- Failed to convert property value of type 'java.lang.String' to required type 'int' for property
- Failed to convert property value of type [$Proxy13] to required type
- spring 事务异常Failed to convert property value of type [$Proxy12] to required type
- spring Failed to convert property value of type [$Proxy10] to required type
- SSH 项目异常:Failed to convert property value of type [$Proxy13] to required type
- Failed to convert property value of type 'java.util.Properties' to required type 'org.springframewor
- springmvc-- Failed to convert property value of type 'java.lang.String' to required type
- Failed to convert property value of type [java.lang.String] to required type [int]
- is expected to be of type but was actually of type 'com.sun.proxy.$Proxy70'
- Ubuntu14.04LTS上安装fcitx输入法
- Java中的线程(1)
- Servlet异常处理
- Andrew Ng 机器学习(1)-概念
- onInterceptTouchEvent和onTouchEvent调用时序
- Failed to convert property value of type [com.sun.proxy.$Proxy27 implementing com.ibeifeng.se
- HashMap排序
- OpenNI2——初尝试之 环境搭建 与 读取VideoMode
- 设计一个一元稀疏多项式简单的加减法计算器
- Oracle学习(十):视图,索引,序列号,同义词
- LeetCode——Balanced Binary Tree
- OJ2560继承(改错题)
- 跟踪oracle实例的动态注册过程
- makefile笔记