出现的错误提示
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'datasourecsunit' of bean class [org.springframework.orm.hibernate3.LocalSessionFactoryBean]: Bean property 'datasourecsunit' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
Caused by:
org.springframework.beans.NotWritablePropertyException: Invalid property 'datasourecsunit' of bean class [org.springframework.orm.hibernate3.LocalSessionFactoryBean]: Bean property 'datasourecsunit' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
////////////////////////////
applicationContext.xml
com/joy/po/Users.hbm.xml
希望尽快得到答案,谢谢