Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

When I run a jsp page in MyEclipse Enterprise Workbench 5.1.0 GA with tomcat 5.0 I get the flg error please guide

Avatar of cakurien
cakurien asked on
JSP
1 Comment1 Solution880 ViewsLast Modified:
Dec 10, 2006 11:34:49 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Dec 10, 2006 11:34:49 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1437 ms
Dec 10, 2006 11:34:49 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Dec 10, 2006 11:34:49 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.28
Dec 10, 2006 11:34:49 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Dec 10, 2006 11:34:49 PM org.apache.catalina.core.StandardHost getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx )
Dec 10, 2006 11:34:49 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:C:\Tomcat\conf\Catalina\localhost\admin.xml
Dec 10, 2006 11:34:50 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
Dec 10, 2006 11:34:50 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
Dec 10, 2006 11:34:51 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true
Dec 10, 2006 11:34:53 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:C:\Tomcat\conf\Catalina\localhost\balancer.xml
Dec 10, 2006 11:34:53 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:C:\Tomcat\conf\Catalina\localhost\manager.xml
Dec 10, 2006 11:34:53 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /jsp-examples from URL file:C:\Tomcat\webapps\jsp-examples
Dec 10, 2006 11:34:53 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path  from URL file:C:\Tomcat\webapps\ROOT
Dec 10, 2006 11:34:53 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /servlets-examples from URL file:C:\Tomcat\webapps\servlets-examples
Dec 10, 2006 11:34:54 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /start from URL file:C:\Tomcat\webapps\start
Dec 10, 2006 11:34:54 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /tomcat-docs from URL file:C:\Tomcat\webapps\tomcat-docs
Dec 10, 2006 11:34:54 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /webdav from URL file:C:\Tomcat\webapps\webdav
Dec 10, 2006 11:34:54 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Dec 10, 2006 11:34:54 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Dec 10, 2006 11:34:54 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/31  config=C:\Tomcat\conf\jk2.properties
Dec 10, 2006 11:34:55 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 5797 ms
Dec 10, 2006 11:35:08 PM org.apache.jasper.compiler.Compiler generateClass
SEVERE: Javac exception
Compile failed; see the compiler error output for details.
      at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:944)
      at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)
      at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
      at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java: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(ApplicationFilterChain.java:237)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
      at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
      at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
      at java.lang.Thread.run(Unknown Source)
Dec 10, 2006 11:35:08 PM org.apache.jasper.compiler.Compiler generateClass
SEVERE: Env: Compile: javaFileName=/C:/Tomcat/work/Catalina/localhost/start//org/apache/jsp\hai_jsp.java
    classpath=/C:/Tomcat/webapps/start/WEB-INF/classes/;C:\Tomcat\work\Catalina\localhost\start;/C:/Tomcat/webapps/start/WEB-INF/classes/;C:/Tomcat/shared/classes/;C:/Tomcat/common/classes/;C:/Tomcat/common/lib/ant-launcher.jar;C:/Tomcat/common/lib/ant.jar;C:/Tomcat/common/lib/commons-collections-3.1.jar;C:/Tomcat/common/lib/commons-dbcp-1.2.1.jar;C:/Tomcat/common/lib/commons-el.jar;C:/Tomcat/common/lib/commons-pool-1.2.jar;C:/Tomcat/common/lib/jasper-compiler.jar;C:/Tomcat/common/lib/jasper-runtime.jar;C:/Tomcat/common/lib/jsp-api.jar;C:/Tomcat/common/lib/naming-common.jar;C:/Tomcat/common/lib/naming-factory.jar;C:/Tomcat/common/lib/naming-java.jar;C:/Tomcat/common/lib/naming-resources.jar;C:/Tomcat/common/lib/servlet-api.jar;C:/Tomcat/common/lib/tools.jar;/C:/Tomcat/bin/bootstrap.jar;/C:/Program%20Files/MyEclipse%20Enterprise%20Workbench%205.1.0%20GA/lib/tools.jar;/C:/Program%20Files/MyEclipse%20Enterprise%20Workbench%205.1.0%20GA/jre/lib/ext/dnsns.jar;/C:/Program%20Files/MyEclipse%20Enterprise%20Workbench%205.1.0%20GA/jre/lib/ext/localedata.jar;/C:/Program%20Files/MyEclipse%20Enterprise%20Workbench%205.1.0%20GA/jre/lib/ext/sunjce_provider.jar;/C:/Program%20Files/MyEclipse%20Enterprise%20Workbench%205.1.0%20GA/jre/lib/ext/sunpkcs11.jar
    cp=C:\Tomcat/bin/bootstrap.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA/lib/tools.jar
    cp=C:\Tomcat\webapps\start\WEB-INF\classes
    cp=C:\Tomcat\work\Catalina\localhost\start
    cp=C:\Tomcat\webapps\start\WEB-INF\classes
    cp=C:\Tomcat\shared\classes
    cp=C:\Tomcat\common\classes
    cp=C:\Tomcat\common\lib\ant-launcher.jar
    cp=C:\Tomcat\common\lib\ant.jar
    cp=C:\Tomcat\common\lib\commons-collections-3.1.jar
    cp=C:\Tomcat\common\lib\commons-dbcp-1.2.1.jar
    cp=C:\Tomcat\common\lib\commons-el.jar
    cp=C:\Tomcat\common\lib\commons-pool-1.2.jar
    cp=C:\Tomcat\common\lib\jasper-compiler.jar
    cp=C:\Tomcat\common\lib\jasper-runtime.jar
    cp=C:\Tomcat\common\lib\jsp-api.jar
    cp=C:\Tomcat\common\lib\naming-common.jar
    cp=C:\Tomcat\common\lib\naming-factory.jar
    cp=C:\Tomcat\common\lib\naming-java.jar
    cp=C:\Tomcat\common\lib\naming-resources.jar
    cp=C:\Tomcat\common\lib\servlet-api.jar
    cp=C:\Tomcat\common\lib\tools.jar
    cp=C:\Tomcat\bin\bootstrap.jar
    cp=C:\Program%20Files\MyEclipse%20Enterprise%20Workbench%205.1.0%20GA\lib\tools.jar
    cp=C:\Program%20Files\MyEclipse%20Enterprise%20Workbench%205.1.0%20GA\jre\lib\ext\dnsns.jar
    cp=C:\Program%20Files\MyEclipse%20Enterprise%20Workbench%205.1.0%20GA\jre\lib\ext\localedata.jar
    cp=C:\Program%20Files\MyEclipse%20Enterprise%20Workbench%205.1.0%20GA\jre\lib\ext\sunjce_provider.jar
    cp=C:\Program%20Files\MyEclipse%20Enterprise%20Workbench%205.1.0%20GA\jre\lib\ext\sunpkcs11.jar
    work dir=C:\Tomcat\work\Catalina\localhost\start
    extension dir=C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\jre\lib\ext
    srcDir=C:\Tomcat\work\Catalina\localhost\start
    include=org/apache/jsp/hai_jsp.java

Dec 10, 2006 11:35:08 PM org.apache.jasper.compiler.Compiler generateClass
SEVERE: Error compiling file: /C:/Tomcat/work/Catalina/localhost/start//org/apache/jsp\hai_jsp.java     [javac] Compiling 1 source file

C:\Tomcat\work\Catalina\localhost\start\org\apache\jsp\hai_jsp.java:7: cannot access java.lang.Object
bad class file: C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\jre\lib\rt.jar(java/lang/Object.class)
class file has wrong version 49.0, should be 48.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
public final class hai_jsp extends org.apache.jasper.runtime.HttpJspBase
             ^
1 error

ASKER CERTIFIED SOLUTION
Avatar of Gibu George
Gibu GeorgeFlag of India imageChief Technology Officer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Commented:
This problem has been solved!
Unlock 1 Answer and 1 Comment.
See Answers