[opencms-dev] OpenCms 7.5 & ImageGalleries Error !!
Sandrine Prousteau
s.prousteau at eurelis.com
Wed Jun 24 10:12:44 CEST 2009
Ok thanks I was on JDK 1.4.2 and Tomcat 5.0.30.
-----Message d'origine-----
De : opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] De la part de Stephan Hartmann
Envoyé : mardi 23 juin 2009 19:34
À : The OpenCms mailing list
Objet : Re: [opencms-dev] OpenCms 7.5 & ImageGalleries Error !!
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
>
>
_______________________________________________
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