使用ssh框架开发web应用出现以下错误
UnabletoinstantiateAction,printAction,definedfor'provider'innamespace'/system'Errorcr...
Unable to instantiate Action, printAction, defined for 'provider' in namespace '/system'Error creating bean with name 'printAction' defined in class path resource [spring/struts/system.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'printService' of bean class [com.dbwen.system.web.action.PrintAction]: Bean property 'printService' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询