Jetty
  1. Jetty
  2. JETTY-53

inconsistent class loading ?

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 6.0.0beta14
    • Fix Version/s: None
    • Component/s: JSP
    • Labels:
      None
    • Number of attachments :
      0

      Description

      7447 [BoundedThreadPool0-11] ERROR org.mortbay.log - Nested in javax.servlet.ServletException: org.eclipse.jdt.internal.compiler.env.NameEnvironmentAnswer.<init>(Lorg/eclipse/jdt/internal/compiler/env/IBinaryType;Lorg/eclipse/jdt/internal/compiler/env/AccessRestriction;)V:
      java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.env.NameEnvironmentAnswer.<init>(Lorg/eclipse/jdt/internal/compiler/env/IBinaryType;Lorg/eclipse/jdt/internal/compiler/env/AccessRestriction;)V
      at org.apache.jasper.compiler.JDTCompiler$1.findType(JDTCompiler.java:200)
      at org.apache.jasper.compiler.JDTCompiler$1.findType(JDTCompiler.java:169)
      at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.askForType(LookupEnvironment.java:105)
      at org.eclipse.jdt.internal.compiler.lookup.PackageBinding.getTypeOrPackage(PackageBinding.java:174)
      at org.eclipse.jdt.internal.compiler.lookup.ClassScope.findSupertype(ClassScope.java:834)
      at org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectSuperclass(ClassScope.java:616)
      at org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectTypeHierarchy(ClassScope.java:709)
      at org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.connectTypeHierarchy(CompilationUnitScope.java:248)
      at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:181)
      at org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:324)
      at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:341)
      at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:399)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
      at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:423)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:350)
      at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:177)
      at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:221)
      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:539)
      at org.mortbay.jetty.Server.handle(Server.java:341)
      at org.mortbay.jetty.Server.handle(Server.java:311)
      at org.mortbay.jetty.HttpConnection.doHandler(HttpConnection.java:355)
      at org.mortbay.jetty.HttpConnection.access$1500(HttpConnection.java:38)
      at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:598)
      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:487)
      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:196)
      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:293)
      at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:153)
      at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:412)

        Activity

        Hide
        Jan Bartel added a comment -

        Is this jetty standalone or the jetty plugin for maven2? Have you done a webapp context reload just before getting this message? No possibility of duplicate jars on the classpath?

        Show
        Jan Bartel added a comment - Is this jetty standalone or the jetty plugin for maven2? Have you done a webapp context reload just before getting this message? No possibility of duplicate jars on the classpath?
        Hide
        Igor A Tarasov added a comment -

        standalone, programmatic startup with XmlConfigurator and standart config jetty.xml + jetty-plus.xml + jetty-jmx.xml
        not reloading, just run and try to see included JSP examples. Servlets work ok, but jsp not compiling.
        Some later I will try to check duplicates and inspect this problem with details.

        Show
        Igor A Tarasov added a comment - standalone, programmatic startup with XmlConfigurator and standart config jetty.xml + jetty-plus.xml + jetty-jmx.xml not reloading, just run and try to see included JSP examples. Servlets work ok, but jsp not compiling. Some later I will try to check duplicates and inspect this problem with details.
        Hide
        Igor A Tarasov added a comment -

        I'm very very sorry.
        Duplicate jars with different version was found in classpath

        Show
        Igor A Tarasov added a comment - I'm very very sorry. Duplicate jars with different version was found in classpath
        Hide
        Jan Bartel added a comment -

        No problem. I'm closing the issue as there is nothing to fix.

        Show
        Jan Bartel added a comment - No problem. I'm closing the issue as there is nothing to fix.

          People

          • Assignee:
            Unassigned
            Reporter:
            Igor A Tarasov
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: