留言板

API error messages

thumbnail
Ken M. Penner,修改在5 年前。

API error messages

Padawan 帖子: 31 加入日期: 18-6-22 最近的帖子
At /community/vmr/api/projectmanagement/project/data/listchildren/ I get an error that starts out as follows:
​​​​​​​type Exception reportmessage Unable to compile class for JSP:description The server encountered an internal error that prevented it from fulfilling this request.exception
org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 56 in the jsp file: /vmr/api/projectmanagement/project/data/listchildren/index.jsp
history cannot be resolved to a variable
53:         return;
54:     }
55:
56:     if (format == FORMAT_XML || history) out.print("<keyChildren projectID=\""+pr.getProjectID()+"\" projectName=\""+pr.getProjectName()+"\" key=\""+key+"\" keyPath=\""+path+"\" count=\""+keys.size()+"\">");
57:     else if (format == FORMAT_JSON) response.setContentType("application/json");
58:     else if (format == FORMAT_TXT) response.setContentType("text/plain");
59:     JSONArray jsonResults = (format == FORMAT_JSON ? new JSONArray() : null);