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">: