Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'myService': Injection of autowired dependencies failed;
nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.mycompany.executor.MyExecutor com.mycompany.service.impl.MyServiceImpl.myExecutor;
nested exception is java.lang.IllegalArgumentException: Can not set com.mycompany.executor.MyExecutor field com.mycompany.service.impl.MyServiceImpl.myExecutor to $Proxy20
Forcing CGLIB class proxies changes the error type to a
"java.lang.NoClassDefFoundError" error. This is affects the standard
test goal as well as the Cobertura goal.
proxy-target-class="true"/>
阅读(4754) | 评论(0) | 转发(0) |