SpringAOP异常:but was actually of type 'com.sun.proxy.$Proxy**'的两种解决方法 2020-09-10
====================================================错误描述:Causedby:org.springframework.beans.factory.BeanNotOfRequiredTypeException:Beannamed'****'isexpectedtobeoftype'****'butwasactuallyoftype'com.sun