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
紫蝶∏飛揚↗ 閱讀(650)
評論(0) 編輯 收藏 所屬分類:
Spring