proxy-target-class="true"
part within <aop:aspectj-autoproxy proxy-target-class="true" />
Thanks to http://royontechnology.blogspot.com/2010/08/cobertura-and-spring-auto-proxying.html
Faulty Stacktrace :
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name '***' defined in class path resource [***]: Unsatisfied dependency expressed through constructor argument with index 0 of type [***]: Could not convert constructor argument value of type [$Proxy52] to required type [***]: Failed to convert value of type '$Proxy52 implementing net.sourceforge.cobertura.coveragedata.HasBeenInstrumented,org.springframework.aop.SpringProxy,org.springframework.aop.framework.Advised' to required type '***'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [$Proxy52 implementing net.sourceforge.cobertura.coveragedata.HasBeenInstrumented,org.springframework.aop.SpringProxy,org.springframework.aop.framework.Advised] to required type [***]: no matching editors or conversion strategy found ...
No comments:
Post a Comment