org.springframework.beans.factory.BeanCreationException: Error creating bean with name
'NoBuidToBeArchiveTaskHandlerBO' defined in URL [jar:file:/E:/work/tomcat/webserver-tomcat7
/webapps/irms.app.sfhn/WEB-INF/lib/irms.app.sf-1.2.11-SNAPSHOT.jar!/config/spring
/spring-sf-commonflow.xml]:
Error setting property values;
nested exception is org.springframework.beans.NotWritablePropertyException:
Invalid property 'commonFlowUtil' of bean class
[com.boco.sf.common.flow.handler.bo.NoBuidToBeArchiveTaskHandlerBO]:
Bean property 'commonFlowUtil' is not writable or
has an invalid setter method.
Does the parameter type of the setter match the return type of the getter?
'NoBuidToBeArchiveTaskHandlerBO' defined in URL [jar:file:/E:/work/tomcat/webserver-tomcat7
/webapps/irms.app.sfhn/WEB-INF/lib/irms.app.sf-1.2.11-SNAPSHOT.jar!/config/spring
/spring-sf-commonflow.xml]:
Error setting property values;
nested exception is org.springframework.beans.NotWritablePropertyException:
Invalid property 'commonFlowUtil' of bean class
[com.boco.sf.common.flow.handler.bo.NoBuidToBeArchiveTaskHandlerBO]:
Bean property 'commonFlowUtil' is not writable or
has an invalid setter method.
Does the parameter type of the setter match the return type of the getter?
本文探讨了在使用Spring框架时遇到的BeanCreationException异常及其原因,特别是关于属性值设置错误的问题。详细解释了如何通过检查bean类属性的可写性和setter方法来定位并解决此类问题。
699

被折叠的 条评论
为什么被折叠?



