ssh整合遇到的问题

BeanCreationException: Error creating bean with name 'loginService' defined in class path resource [logino/spring.xml]: Cannot resolve reference to bean 'loginDao' while setting bean property 'loginDao'; 

nested exception is org.springframework.beans.factory.

BeanCreationException: Error creating bean with name 'loginDao' defined in class path resource [logino/spring.xml]: Error setting property values; 

nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'dataSource' of bean class [login.dao.LoginDaoImpl]: Bean property 'dataSource' is not writable or has an invalid setter method. 

Does the parameter type of the setter match the return type of the getter?


答案:jar包有问题


你可能感兴趣的:(ssh整合遇到的问题)