Bean named ‘xxx‘ is expected to be of type ‘xxxx‘ but was actually of type ‘com.sun..proxy.$Proxy19‘
在SSM项目中的Service层遇到了这个报错org.springframework.beans.factory.BeanNotOfRequiredTypeException: Beannamed ‘employeeServiceImpl’ is expected to be of type‘com.mlj.service.EmployeeServiceImpl’ but was actually of type‘com.sun.proxy.$Proxy19’名为employeeService
原创
2020-09-29 16:11:36 ·
2589 阅读 ·
1 评论