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

Tobias Herrmann t.herrmann at alkacon.com
Thu Oct 18 17:25:32 CEST 2012


Hi Thorsten,

You are probably executing outdated JSPs.

First check if the updater imported all module correctly by looking into the log files. You may need to reimport the module org.opencms.ade.upload.

If that doesn't help, try purging your JSP repository. Goto 'Admin View / Cache Administration' and click the JSP Repository button.

Greetings, Tobias

--

Alkacon Software GmbH - The OpenCms Experts
Tobias Herrmann
An der Wachsfabrik 13
50996 Koeln, DE

Tel: +49 (0)2236 3826-18
Fax: +49 (0)2236 3826-20
Email: t.herrmann at alkacon.com

http://www.alkacon.com
http://www.opencms.org

Geschäftsführer: Alexander Kandzior, Amtsgericht Köln, HRB 54613

Am 18.10.2012 16:00, schrieb Torsten Haack:
> 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
>
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>

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


More information about the opencms-dev mailing list