facebook

not abletorunweb applicationMyEclipse EnterpriseWorkbench5.1

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #263255 Reply

    cakurien
    Member

    The server encountered an internal error () that prevented it from fulfilling this request.

    exception

    org.apache.jasper.JasperException: Unable to compile class for JSP

    Generated servlet error:
    C:\Tomcat\work\Catalina\localhost\start\org\apache\jsp\hai_jsp.java:7: cannot access java.lang.Object

    Generated servlet error:
    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

    org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
    org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
    org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:412)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

    note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.

    ——————————————————————————–

    Apache Tomcat/5.0.28

    #263256

    cakurien
    Member

    MyEclipse Enterprise Workbench 5.1.0 GA

    #263261

    Riyad Kalla
    Member

    The problem is that you are trying to run Java 5 code using a Java 4 VM it looks like (version 48 class == Java 1.4, version 49 class == Java 1.5).

    If you used the full stack installer, it should have configured Tomcat to run with the JDK that we ship in the full stack installer, which is JDK 1.5.0_09. So I think you may have changed the JDK used to launch Tomcat 5 under the Window > Prefs > MYEclipse > App Servers > Tomcat 5 > JDK settings. See if you can change it back and if it starts working.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: not abletorunweb applicationMyEclipse EnterpriseWorkbench5.1

You must be logged in to post in the forum log in