You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Fairouz Fakhfakh <fa...@gmail.com> on 2012/04/04 17:25:20 UTC
Problem tomcat
Hello,
I use Tomcat 6 and java 5.
I have a problem by clicking on a button to access a JSP page.
Here is the error displayed.
*exception*
javax.servlet.ServletException:
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:802)
EDU.cmu.Atlas.matchmaker.client.servlet.UDDIMatchMakerServlet.doGet(UDDIMatchMakerServlet.java:65)
EDU.cmu.Atlas.matchmaker.client.servlet.UDDIMatchMakerServlet.doPost(UDDIMatchMakerServlet.java:90)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
*cause mère*
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)
org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.connectTypeHierarchy(CompilationUnitScope.java:266)
org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:195)
org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:301)
org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:315)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:387)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
EDU.cmu.Atlas.matchmaker.client.servlet.UDDIMatchMakerServlet.doGet(UDDIMatchMakerServlet.java:65)
EDU.cmu.Atlas.matchmaker.client.servlet.UDDIMatchMakerServlet.doPost(UDDIMatchMakerServlet.java:90)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
So, I didn't understand the problem!!!!
Do you have any idea about this problem, please?
Thank you for answering me.
Re: Problem tomcat
Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ognjen,
On 4/6/12 7:15 AM, Ognjen Blagojevic wrote:
> Fairouz,
>
> On 4.4.2012 17:25, Fairouz Fakhfakh wrote:
>> I use Tomcat 6 and java 5.
>
> Good to know. Send us exact versions for both. OS type and version
> could also be informative.
>
>
>> I have a problem by clicking on a button to access a JSP page.
>
> Which button? If the button is on the HTML/JSP page, please send us
> that page so we can understand what is going on.
>
>
>> java.lang.NoSuchMethodError:
>> org.eclipse.jdt.internal.compiler.env.NameEnvironmentAnswer.<init>(Lorg/eclipse/jdt/internal/compiler/env/IBinaryType;)V
>>
>
>>
> Smells like a classpath issue.
Or using class files compiled for another version of either JDT or Tomcat.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk9/DvIACgkQ9CaO5/Lv0PDdhACffqrPzgqNp62aT0PUiDihzkGK
yUkAoIZWW7ik33Jg1HPKSnvMITXJghcv
=OOWv
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Problem tomcat
Posted by Ognjen Blagojevic <og...@gmail.com>.
Fairouz,
On 4.4.2012 17:25, Fairouz Fakhfakh wrote:
> I use Tomcat 6 and java 5.
Good to know. Send us exact versions for both. OS type and version could
also be informative.
> I have a problem by clicking on a button to access a JSP page.
Which button? If the button is on the HTML/JSP page, please send us that
page so we can understand what is going on.
> java.lang.NoSuchMethodError:
> org.eclipse.jdt.internal.compiler.env.NameEnvironmentAnswer.<init>(Lorg/eclipse/jdt/internal/compiler/env/IBinaryType;)V
Smells like a classpath issue.
-Ognjen
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org