TSysModService匹配

来源:互联网 发布:淘宝互刷诈骗案例 编辑:程序博客网 时间:2024/05/23 01:14

exception is org.springframework.beans.NotWritablePropertyException: Invalid property tsysmodDAO' of bean class [cn.com.u6soft.erp.frame.application.server.service.implementation.TSysModService]: Bean property 'tsysmodDAO' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?

因为

cn.com.u6soft.erp.frame.application.server.service.implementation的 TSysModService里没有

设方法,设置下:

 

public void settsysmodDAO(ITSysModDAO tsysmodDAO) {
  this.tsysmodDAO = tsysmodDAO;
 }