分类: 系统运维
2008-06-28 14:15:24
org.springframework.beans.TypeMismatchException: Failed to convert property value of type [$Proxy1] to required type
[com.brilliance.struts.service.impl.InvestServiceImpl] for property 'fundService'; nested exception is
java.lang.IllegalArgumentException: Cannot convert value of type [$Proxy1] to required type
[com.brilliance.struts.service.impl.InvestServiceImpl] for property 'fundService': no matching editors or conversion strategy
found
在spring事务时会出现。
解决办法是:
在事务中加上下面语句
表面proxy代理的是类而不是接口。
下面是我的事务配置:
lazy-init="true">
..............