[opencms-dev] Update to OpenCms 8.5 - Unable to compile class for JSP

Torsten Haack torsten.haack at landtag.ltsh.de
Thu Oct 18 16:00:03 CEST 2012


Hi all,
I need some help...

After my update from 8.04 to 8.5, I get - by click of the Upload-Button 
in the Workplace - the following error message:


org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 8 in the generated java file

Only a type can be imported. 
org.opencms.ade.upload.shared.I_CmsUploadConstants resolves to a package

An error occurred at line: 12 in the jsp file: 
/WEB-INF/jsp/offline/system/workplace/commons/newresource_upload.jsp

I_CmsUploadConstants.ATTR_CLOSE_LINK cannot be resolved to a type

9:

10: case CmsNewResourceUpload.ACTION_GWT:

11: ////////////////////ACTION: use the gwt upload

12:request.setAttribute(I_CmsUploadConstants.ATTR_CLOSE_LINK, 
wp.getCloseLink());

13: request.setAttribute(I_CmsUploadConstants.ATTR_CURRENT_FOLDER, 
wp.getParamCurrentFolder());

14:wp.sendForward(I_CmsUploadConstants.UPLOAD_JSP_URI, new 
HashMap<String, String>());

15: break;


An error occurred at line: 13 in the jsp file: 
/WEB-INF/jsp/offline/system/workplace/commons/newresource_upload.jsp

I_CmsUploadConstants.ATTR_CURRENT_FOLDER cannot be resolved to a type

10: case CmsNewResourceUpload.ACTION_GWT:

11: ////////////////////ACTION: use the gwt upload

12:request.setAttribute(I_CmsUploadConstants.ATTR_CLOSE_LINK, 
wp.getCloseLink());

13: request.setAttribute(I_CmsUploadConstants.ATTR_CURRENT_FOLDER, 
wp.getParamCurrentFolder());

14:wp.sendForward(I_CmsUploadConstants.UPLOAD_JSP_URI, new 
HashMap<String, String>());

15: break;

16:

An error occurred at line: 14 in the jsp file: 
/WEB-INF/jsp/offline/system/workplace/commons/newresource_upload.jsp

I_CmsUploadConstants.UPLOAD_JSP_URI cannot be resolved to a type

11: ////////////////////ACTION: use the gwt upload

12:request.setAttribute(I_CmsUploadConstants.ATTR_CLOSE_LINK, 
wp.getCloseLink());

13: request.setAttribute(I_CmsUploadConstants.ATTR_CURRENT_FOLDER, 
wp.getParamCurrentFolder());

14:wp.sendForward(I_CmsUploadConstants.UPLOAD_JSP_URI, new 
HashMap<String, String>());

15: break;

16:

17: case CmsNewResourceUpload.ACTION_APPLET:



Thanx for your help!
Torsten

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20121018/881b3b40/attachment.htm>


More information about the opencms-dev mailing list