严重: Exception sending context initialized eventto listener instance of classorg.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loginAction'defined in class path resource [applicationContext.xml]: Error setting propertyvalues; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'usersDaoImpl' of bean class[com.action.LoginAction]: Bean property 'usersDaoImpl' is not writable or hasan invalid setter method. Did you mean 'userDaoImpl'?
Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'usersDaoImpl' of bean class[com.action.LoginAction]: Bean property 'usersDaoImpl' is not writable or hasan invalid setter method. Did you mean 'userDaoImpl'?
错误原因:get/set方法写错
原命名是 usersDaoImpl,自己写set方法的时候名称写成了setUserDaoImpl