[opencms-dev] Need help

M Butcher mbutcher at grcomputing.net
Wed Jul 7 19:30:02 CEST 2004


Judging by the error, it sounds like something is wrong with the JDK or 
Tomcat. Can you try a newer version of Tomcat?

 > Root cause:
 > org.apache.jasper.JasperException: Unable to compile class for JSPerror:
 > Invalid
 >  class file format in F:\JDK1.4\jre\lib\rt.jar(java/lang/Object.class).
 > The maj
 > or.minor version '48.0' is too recent for this tool to understand.

Matt

BANERJEE, ASHISH KUMAR (STSD) wrote:
> I have opencms v 5.0, tomcat 4.0.6 and JDK 1.4
> I am facing some problem. I tried the sample given OpenCMS user Manual 
> and tried to modify the page.
> But when I tried seeing the page 
> "http://localhost:8080/opencms/opencms/release/installation.html" after 
> modification and publish.
> It throwed the error as follows:
> ****************************************
> Error in CmsJspLoader.loadTemplate() while loading: 
> javax.servlet.ServletExcepti
> on: Resource loader error in file 
> '/system/modules/org.opencms.help/jsptemplates
> /help_default.jsp'
>  
> Root cause:
> org.apache.jasper.JasperException: Unable to compile class for JSPerror: 
> Invalid
>  class file format in F:\JDK1.4\jre\lib\rt.jar(java/lang/Object.class).  
> The maj
> or.minor version '48.0' is too recent for this tool to understand.
>  
> F:\Tomcat\work\Standalone\localhost\opencms\WEB-INF\jsp\online\system\modules\or
> g.opencms.help\jsptemplates\help_0005fdefault$jsp$jsp.java:0: Class 
> java.lang.Ob
> ject not found in class javax.servlet.GenericServlet.
> package org.apache.jsp;
> ^
> 2 errors
>  
>         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
>         at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
>         at 
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessar
> y(JspServlet.java:176)
>         at 
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspSer
> vlet.java:188)
>         at 
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
> 81)
>         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at 
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
> atcher.java:683)
>         at 
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
> ispatcher.java:574)
>         at 
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
> patcher.java:497)
>         at 
> com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexReques
> tDispatcher.java:158)
>         at com.opencms.flex.CmsJspLoader.service(CmsJspLoader.java:972)
>         at 
> com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexReques
> tDispatcher.java:256)
>         at com.opencms.flex.CmsJspLoader.loadTemplate(CmsJspLoader.java:673)
>         at 
> com.opencms.flex.CmsJspTemplate.getContent(CmsJspTemplate.java:85)
>         at 
> com.opencms.template.cache.CmsElementDump.getContent(CmsElementDump.j
> ava:120)
>         at 
> com.opencms.template.cache.A_CmsElement.resolveVariant(A_CmsElement.j
> ava:464)
>         at 
> com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.jav
> a:121)
>         at 
> com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)
>         at 
> com.opencms.template.cache.CmsElementCache.callCanonicalRoot(CmsEleme
> ntCache.java:149)
>         at 
> com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.jav
> a:285)
>         at 
> com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:341)
>         at 
> com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:274)
>  
>         at com.opencms.core.OpenCms.showResource(OpenCms.java:961)
>         at 
> com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310
> )
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:247)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
> ilterChain.java:193)
>         at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
> alve.java:243)
>         at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> .java:566)
>         at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
> a:472)
>         at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>  
>         at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
> alve.java:190)
>         at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> .java:566)
>         at 
> org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve
> .java:246)
>         at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> .java:564)
>         at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
> a:472)
>         at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>  
>         at 
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
> 2347)
>         at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
> ava:180)
>         at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> .java:566)
>         at 
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
> rValve.java:170)
>         at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> .java:564)
>         at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
> ava:170)
>         at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> .java:564)
>         at 
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
> 468)
>         at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> .java:564)
>         at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
> a:472)
>         at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>  
>         at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
> ve.java:174)
>         at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> .java:566)
>         at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
> a:472)
>         at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>  
>         at 
> org.apache.catalina.connector.http.HttpProcessor.process(HttpProcesso
> r.java:1027)
>         at 
> org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.ja
> va:1125)
>         at java.lang.Thread.run(Thread.java:536)
>  
> --------------- End of root cause.
> *******************************************************************************************
>  
>  
> ------------------------------------------------------------------------
> 
> <http://www.hp.com/>
> 
> 	
> 
> *Ashish Banerjee*
> DRPE
> 
> STSD (Shared R&D)
> +91-80-205-1846 Phone
> +91-98452-50836 Cell
> ashish.banerjee at hp.com <mailto:ashish.banerjee at hp.com>
> http://www.hp.com <http://www.hp.com/>
> 
> ------------------------------------------------------------------------
> 
>  
> 
>  




More information about the opencms-dev mailing list