随笔-9  评论-168  文章-266  trackbacks-0
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'BookService' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed;
nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type [$Proxy0] to required type [dao.book.BookDAO] for property 'bookDAO';
nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [$Proxy0] to required type [dao.book.BookDAO] for property 'bookDAO': no matching editors or conversion strategy found

数据访问层没有提供接口产生的错误.
解决方法: XXXDAO类都必须加上接口.
posted on 2009-03-30 15:25 紫蝶∏飛揚↗ 阅读(643) 评论(0)  编辑  收藏 所属分类: Spring

只有注册用户登录后才能发表评论。


网站导航: