zoukankan
html css js c++ java
org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named 'XXService' is expected to be of type 'XXService' but was actually of type 'com.sun.proxy.$ProxyXX'
当Spring不使用service接口时,需要开启cglib。
在spring.xml中添加
<aop:aspectj-autoproxy proxy-target-class="true"/>
如果这篇文章对你有用,麻烦关注一下本人微信公众号,关注送福利哦~
不定期安利各种插件,编程技巧,编程思想,欢迎交流~
查看全文
相关阅读:
2016中国大学生程序设计竞赛
HDU 1671 Phone List (Trie·数组实现)
Codeforces Round #367 (Div. 2) Hard problem
UVA 133 The Dole Queue
SG函数模板
Codeforces Round #366 (Div. 2) C Thor(模拟+2种stl)
[Offer收割]编程练习赛4 A 满减优惠
CF #365 (Div. 2) D
Codeforces Round #365 (Div. 2) Chris and Road
codeblocks AStyle修改格式和快捷键
原文地址:https://www.cnblogs.com/aeolian/p/14917234.html
最新文章
SSIS 学习(6):包配置(上)【转】
SSIS 学习(5):容器【转】
SSIS 学习(4):变量和表达式【转】
SSIS 学习(3):数据流任务(下)【转】
SSIS 学习(2):数据流任务(上)【转】
SSIS 学习(1): 概要【转】
SSIS 学习(0):企业离 BI 还有多远?【转】
模态对话框【转】
ASP.NET弹出模态对话框【转】
使用apache和IIS,共用80端口的一个解决方案【转】
热门文章
小demo 实现二维码生成, 和扫描
距离传感器 和摇一摇功能
加速计(小球dem)
通讯录
quartz2D 如何绘制圆形图片, 及圆环图片
RunLoop
HDU 1506 Largest Rectangle in a Histogram set+二分
lower_bound实现函数
Codeforces Round #368 (Div. 2) D. Persistent Bookcase
Educational Codeforces Round 16 E. Generate a String
Copyright © 2011-2022 走看看