SpringAOP中报错:Exception in thread "main" java.lang.ClassCastException: $Proxy13
导致原因:在你的业务逻辑中实现了接口
解决方案:
方案一:在配置文件beans.xml中的<aop:config>标签中添加:
<aop:config proxy-target-class="true">:
SpringAOP中报错:Exception in thread "main" java.lang.ClassCastException: $Proxy13
导致原因:在你的业务逻辑中实现了接口
解决方案:
方案一:在配置文件beans.xml中的<aop:config>标签中添加:
<aop:config proxy-target-class="true">: