[opencms-dev] OpenCms 7.5 & ImageGalleries Error !!

Achim Westermann Achim.Westermann at gmx.de
Tue Jun 23 18:33:41 CEST 2009


Hi Sandrine, 

it seems as you are still using Java 1.4.. Since 7.5.0 we officially support Java 1.5.. 

If you cannot upgrade you could change the line 

Boolean isAppletUsed = wp.getSettings().getUserSettings().useUploadApplet(); 
(which relies on autoboxing) 

in /system/workplace/galleries/imagegallery/index.jsp

to 

boolean isAppletUsed = wp.getSettings().getUserSettings().useUploadApplet();


Kind Regards,
Achim.
-------------------
Achim Westermann

Alkacon Software GmbH  - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org



-------- Original-Nachricht --------
> Datum: Tue, 23 Jun 2009 18:01:08 +0200
> Von: "Sandrine Prousteau" <s.prousteau at eurelis.com>
> An: kuku at physik.rwth-aachen.de, "The OpenCms mailing list" <opencms-dev at opencms.org>
> Betreff: [opencms-dev]  OpenCms 7.5 & ImageGalleries Error !!

> Hi
> I just installed OpenCms7.5, with the templateTwo, and I cannot open a
> imagegallery by click right on Open Gallery.
> I've changed nothing, just full installed.
> 
> I get this error:
> 
> org.apache.jasper.JasperException: Unable to compile class for JSP
> 
> An error occurred at line: 1 in the jsp file:
> /WEB-INF/jsp/offline/system/workplace/galleries/imagegallery/index.jsp
> Generated servlet error:
> C:\dev\java\jakarta-Tomcat
> 5.0.30\work\Catalina\www.test2.spr\opencms\org\apache\jsp\WEB_002dINF\js
> p\offline\system\workplace\galleries\imagegallery\index_jsp.java:62:
> incompatible types
> found   : boolean
> required: java.lang.Boolean
> Boolean isAppletUsed =
> wp.getSettings().getUserSettings().useUploadApplet();
>  
> ^
> 1 error
> 
> 
> 
> 	at
> org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHa
> ndler.java:84)
> 	at
> org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.ja
> va:332)
> 	at
> org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:437)
> 	at
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:497)
> 	at
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:476)
> 	at
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:464)
> 	at
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.ja
> va:511)
> 	at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
> va:295)
> 	at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
> 	at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:252)
> 	at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:173)
> 	at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc
> her.java:696)
> 	at
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDisp
> atcher.java:585)
> 	at
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispat
> cher.java:510)
> 	at
> org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequest
> Dispatcher.java:194)
> 	at
> org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatch
> er.java:169)
> 	at
> org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:555)
> 	at
> org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFl
> exRequestDispatcher.java:423)
> 	at
> org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatch
> er.java:173)
> 	at
> org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:829)
> 	at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:512)
> 	at
> org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.ja
> va:964)
> 	at
> org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1524)
> 	at
> org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:152)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:252)
> 	at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:173)
> 	at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
> e.java:214)
> 	at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
> ntext.java:104)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
> 20)
> 	at
> org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon
> textValve.java:198)
> 	...
> 
> _______________________________________________
> 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/mailman/listinfo/opencms-dev



More information about the opencms-dev mailing list