mainRemindGrade这个字段本来是Integer型的,因为需要将它改成了bigInteger型的,部署后后服务器上就报这个错误,服务器是Solaris 求指导~谢谢啦~
错误日志: org.displaytag.exception.BaseNestableJspTagException <init> Exception: [.LookupUtil] Error looking up property "mainRemindGrade" in object type "com.boco.eoms.sheet.complaint.webapp.action.ProcessListComplaintDisplaytagDecoratorHelper". Cause: null
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor1490.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
。。。。
Caused by: java.lang.NoSuchMethodError: com.tearn.it.sheet.complaint.model.ComplaintMainSN.getMainRemindGrade()Ljava/lang/Integer;
at com.tearn.it.sheet.complaint.webapp.action.ProcessListComplaintDisplaytagDecoratorHelper.getMainRemindGrade(ProcessListComplaintDisplaytagDecoratorHelper.java:386)
... 112 more
代码:
public class ComplaintMainSN extends ComplaintMain {
private String mainTempHoldFlag;
private BigInteger mainRemindGrade;
private BigInteger mainRemindTime2;
private BigInteger mainRemindTime3;
private String serviceArea;
。。。。
public String getMainTempHoldFlag() {
return this.mainTempHoldFlag;
}
public void setMainTempHoldFlag(String mainTempHoldFlag) {
this.mainTempHoldFlag = mainTempHoldFlag;
}
public BigInteger getMainRemindGrade() {
return this.mainRemindGrade;
}
public void setMainRemindGrade(BigInteger mainRemindGrade) {
this.mainRemindGrade = mainRemindGrade;
}
}
这个需要在helper类里加一个特殊处理
是因为那个helper类里面,报错的那个方法上面那个方法里面报错了。不过还是不清楚为什么上面的方法异常了下面的就会报这样的错,