ssh org.springframework.beans.TypeMismatchException
2013-08-07 13:44
127 查看
这个问题我搜了一上午都木有解决
后来找到一个英文网站
It seems that some other bean (one that is not shown) has a property of the ClientDAOImpl type. Since the proxy created implements the ClientDAO interface, but does not extend ClientDAOImpl, you get an exception.
Check if any of the other beans have a method of the form: setClientDAO(ClientDAOImpl).
后来我发现,我写了一个service和一个serviceimpl,但是没有让serviceimpl继承service这个借口
后来找到一个英文网站
It seems that some other bean (one that is not shown) has a property of the ClientDAOImpl type. Since the proxy created implements the ClientDAO interface, but does not extend ClientDAOImpl, you get an exception.
Check if any of the other beans have a method of the form: setClientDAO(ClientDAOImpl).
后来我发现,我写了一个service和一个serviceimpl,但是没有让serviceimpl继承service这个借口
相关文章推荐
- Caused by: java.sql.SQLException: 数字溢出
- Java设计模式----------简单工厂类+工厂方法(FactoryMethod)
- java---Annotation
- 编程没有银弹:探讨 Java 8 新增特性的优缺点
- java平台下通过jacob对excel,word进行打印等操作
- Struts2源码初探
- Java IO流学习总结
- Java本地调用JNI使用规范详解
- Myeclipse10破解步骤与破解工具
- java获取url网页指定内容
- struts2 运行错误
- eclipse常用快捷键
- Java技术路线
- 含实体类、Set集合的JavaBean与Json之间的转换,以及在JS中读取
- Eclipse插件的安装(手动安装),以安装SVN插件和中文语言包为例
- ubuntu离线安装、配置java
- 巧妙解决:access denied (javax.management.MBeanTrust...
- Java学习想法
- 深入Struts2的配置文件
- Java--进制转换