亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

求大家幫忙,急需答案

求大家幫忙,急需答案

喵喵時光機 2019-03-08 15:15:49
Unable to instantiate Action, cfgmaintenanceAction, defined for 'cfgmaintenanceList' in namespace '/cfgmaintenance'Error creating bean with name 'cfgmaintenanceAction' defined in class path resource [com/cnc/itsm/two/cfgmaintenance/xml/cfg_maintenance-struts2.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'cfgMaintenanceDAO' of bean class [com.cnc.itsm.two.cfgmaintenance.action.cfgmaintenanceAction]: Bean property 'cfgMaintenanceDAO' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter? - action - file:/D:/project/workspace/itsm3/web-module/webapp/WEB-INF/classes/com/cnc/itsm/two/cfgmaintenance/xml/cfg_maintenance-config-struts2.xml:7:80
查看完整描述

1 回答

?
楊__羊羊

TA貢獻1943條經驗 獲得超7個贊

額! 下次問問題的時候,請把問題說明清楚,不要只貼錯誤,不然不好解決。
按照提示來說,就是無法實例化在空間/cfgmaintenance中的cfgmaintenanceAction。
錯誤的原因是:屬性值錯誤,沒有這個屬性。可以去檢查下cfgMaintenanceDAO這里面的幾個getter方法。不過按照你類的命名,既然是Dao,就不大可能出現getter方法啊,所以還有可能就是你的配置Dao的地方錯了。 去檢查下cfg_maintenance-config-struts2.xml第80行

查看完整回答
反對 回復 2019-04-29
  • 1 回答
  • 0 關注
  • 449 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號