javax.servlet.ServletException: java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.env.NameEnvironmentAnswer.<init>(Lorg/eclipse/jdt/internal/compiler/env/IBinaryType;)V org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.env.NameEnvironmentAnswer.<init>(Lorg/eclipse/jdt/internal/compiler/env/IBinaryType;)V org.apache.jasper.compiler.JDTCompiler$1.findType(JDTCompiler.java:214) org.apache.jasper.compiler.JDTCompiler$1.findType(JDTCompiler.java:183) org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.askForType(LookupEnvironment.java:119) org.eclipse.jdt.internal.compiler.lookup.PackageBinding.getTypeOrPackage(PackageBinding.java:178) org.eclipse.jdt.internal.compiler.lookup.Scope.getPackage(Scope.java:2166) org.eclipse.jdt.internal.compiler.ast.QualifiedTypeReference.getTypeBinding(QualifiedTypeReference.java:62) org.eclipse.jdt.internal.compiler.ast.TypeReference.resolveType(TypeReference.java:141) org.eclipse.jdt.internal.compiler.ast.TypeReference.resolveSuperType(TypeReference.java:104) org.eclipse.jdt.internal.compiler.lookup.ClassScope.findSupertype(ClassScope.java:1107) org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectSuperclass(ClassScope.java:767) org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectTypeHierarchy(ClassScope.java:947) And if i run "run as java application", the console says : .E.E Time: 0.781 There were 2 errors: 1) testSuccessfulLogin(com.hundsun.test.LoginActionTester)java.lang.NoSuchFieldError: config

jakarta-cactus-user | 李�S | 9 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Problem with CactusStrutsTestCase Sample

    jakarta-cactus-user | 9 years ago | 李�S
    javax.servlet.ServletException: java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.env.NameEnvironmentAnswer.<init>(Lorg/eclipse/jdt/internal/compiler/env/IBinaryType;)V org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.env.NameEnvironmentAnswer.<init>(Lorg/eclipse/jdt/internal/compiler/env/IBinaryType;)V org.apache.jasper.compiler.JDTCompiler$1.findType(JDTCompiler.java:214) org.apache.jasper.compiler.JDTCompiler$1.findType(JDTCompiler.java:183) org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.askForType(LookupEnvironment.java:119) org.eclipse.jdt.internal.compiler.lookup.PackageBinding.getTypeOrPackage(PackageBinding.java:178) org.eclipse.jdt.internal.compiler.lookup.Scope.getPackage(Scope.java:2166) org.eclipse.jdt.internal.compiler.ast.QualifiedTypeReference.getTypeBinding(QualifiedTypeReference.java:62) org.eclipse.jdt.internal.compiler.ast.TypeReference.resolveType(TypeReference.java:141) org.eclipse.jdt.internal.compiler.ast.TypeReference.resolveSuperType(TypeReference.java:104) org.eclipse.jdt.internal.compiler.lookup.ClassScope.findSupertype(ClassScope.java:1107) org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectSuperclass(ClassScope.java:767) org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectTypeHierarchy(ClassScope.java:947) And if i run "run as java application", the console says : .E.E Time: 0.781 There were 2 errors: 1) testSuccessfulLogin(com.hundsun.test.LoginActionTester)java.lang.NoSuchFieldError: config
  2. 0

    Problem with CactusStrutsTestCase Sample

    jakarta-cactus-user | 9 years ago | 李�S
    javax.servlet.ServletException: java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.env.NameEnvironmentAnswer.<init>(Lorg/eclipse/jdt/internal/compiler/env/IBinaryType;)V org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.env.NameEnvironmentAnswer.<init>(Lorg/eclipse/jdt/internal/compiler/env/IBinaryType;)V org.apache.jasper.compiler.JDTCompiler$1.findType(JDTCompiler.java:214) org.apache.jasper.compiler.JDTCompiler$1.findType(JDTCompiler.java:183) org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.askForType(LookupEnvironment.java:119) org.eclipse.jdt.internal.compiler.lookup.PackageBinding.getTypeOrPackage(PackageBinding.java:178) org.eclipse.jdt.internal.compiler.lookup.Scope.getPackage(Scope.java:2166) org.eclipse.jdt.internal.compiler.ast.QualifiedTypeReference.getTypeBinding(QualifiedTypeReference.java:62) org.eclipse.jdt.internal.compiler.ast.TypeReference.resolveType(TypeReference.java:141) org.eclipse.jdt.internal.compiler.ast.TypeReference.resolveSuperType(TypeReference.java:104) org.eclipse.jdt.internal.compiler.lookup.ClassScope.findSupertype(ClassScope.java:1107) org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectSuperclass(ClassScope.java:767) org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectTypeHierarchy(ClassScope.java:947) And if i run "run as java application", the console says : .E.E Time: 0.781 There were 2 errors: 1) testSuccessfulLogin(com.hundsun.test.LoginActionTester)java.lang.NoSuchFieldError: config

    Root Cause Analysis

    1. javax.servlet.ServletException

      java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.env.NameEnvironmentAnswer.<init>(Lorg/eclipse/jdt/internal/compiler/env/IBinaryType;)V org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.env.NameEnvironmentAnswer.<init>(Lorg/eclipse/jdt/internal/compiler/env/IBinaryType;)V org.apache.jasper.compiler.JDTCompiler$1.findType(JDTCompiler.java:214) org.apache.jasper.compiler.JDTCompiler$1.findType(JDTCompiler.java:183) org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.askForType(LookupEnvironment.java:119) org.eclipse.jdt.internal.compiler.lookup.PackageBinding.getTypeOrPackage(PackageBinding.java:178) org.eclipse.jdt.internal.compiler.lookup.Scope.getPackage(Scope.java:2166) org.eclipse.jdt.internal.compiler.ast.QualifiedTypeReference.getTypeBinding(QualifiedTypeReference.java:62) org.eclipse.jdt.internal.compiler.ast.TypeReference.resolveType(TypeReference.java:141) org.eclipse.jdt.internal.compiler.ast.TypeReference.resolveSuperType(TypeReference.java:104) org.eclipse.jdt.internal.compiler.lookup.ClassScope.findSupertype(ClassScope.java:1107) org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectSuperclass(ClassScope.java:767) org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectTypeHierarchy(ClassScope.java:947) And if i run "run as java application", the console says : .E.E Time: 0.781 There were 2 errors: 1) testSuccessfulLogin(com.hundsun.test.LoginActionTester)java.lang.NoSuchFieldError: config

      at servletunit.struts.CactusStrutsTestCase.setUp()
    2. servletunit.struts
      CactusStrutsTestCase.setUp
      1. servletunit.struts.CactusStrutsTestCase.setUp(CactusStrutsTestCase.java:105)
      1 frame
    3. org.apache.cactus
      ServletTestRedirector.doPost_aroundBody3$advice
      1. org.apache.cactus.internal.AbstractCactusTestCase.runBareServer(AbstractCactusTestCase.java:155)
      2. org.apache.cactus.internal.server.AbstractWebTestCaller.doTest(AbstractWebTestCaller.java:120)
      3. org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody0(AbstractWebTestController.java:94)
      4. org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody1$advice(AbstractWebTestController.java:225)
      5. org.apache.cactus.internal.server.AbstractWebTestController.handleRequest(AbstractWebTestController.java:1)
      6. org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody2(ServletTestRedirector.java:102)
      7. org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody3$advice(ServletTestRedirector.java:225)
      7 frames