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
數(shù)據(jù)訪問(wèn)層沒有提供接口產(chǎn)生的錯(cuò)誤.
解決方法: XXXDAO類都必須加上接口.
posted on 2009-03-30 15:25
紫蝶∏飛揚(yáng)↗ 閱讀(650)
評(píng)論(0) 編輯 收藏 所屬分類:
Spring