感覺spring和mybatis與spring和hibernate的整合各有優(yōu)點啊
2016-09-28
我用 System.out.println()輸出的中文都是亂碼,但是我自己寫了個測試類輸出是正常的,有沒有大神知道為什么啊
2016-09-28
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
NotWritablePropertyException: Invalid property 'sessionFactory' of bean class [dao.ProductDao]: Bean property 'sessionFactory' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter? 為什么我會報這個錯誤???
2016-09-25
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'productDao' defined in class path resource [applicationContext.xml]: Error setting property values; nested exception is org.springframework.beans.
2016-09-25
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'productService' defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean 'productDao' while setting bean property 'productDao'; nested exception is
2016-09-25
最新回答 / 連宏偉HW
先發(fā)布項目,在啟動