net.sf.json.JSONException: java.lang.NoSuchMethodException

来源:互联网 发布:fastboot刷机软件 编辑:程序博客网 时间:2024/04/28 08:20

freemarker.template.TemplateModelException: Method public java.lang.String org.apache.commons.lang.exception.NestableRuntimeException.getMessage(int) threw an exception when invoked on net.sf.json.JSONException: java.lang.NoSuchMethodException: Property 'contents' has no getter method in class 'class com.yesrj.plm2.workflow.action.WorkflowDesignAction$FlowViewNode'

 

出现这个错误,并非是get函数出现了错误,而可能是你的转换的class非public。 

原创粉丝点击