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

Stephan Hartmann hartmann at metamesh.de
Tue Jun 23 19:34:05 CEST 2009


Hi Sandrine,

The error is raised by the JSP compiler.
Tomcat comes with its own java compiler (from eclipse JDT) for JSP 
compilation.
In older tomcat versions (don't know exactly anymore, maybe early 5.0.x 
or 5.5.x) this compiler didn't support java 1.5 features.
So you might have to upgrade your tomcat if you use JDK5 or 6 and still 
get this error.

Best regards,
Stephan


Sandrine Prousteau schrieb:
> 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