Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: NamingContextBindingsEnumeration error from Tomcat 5.5 on Eclipse
3.3

Christopher Schultz

2007-07-27

Replies:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Koshy,

Geevarghese, Koshy wrote:
> I'm trying to run a web application on Eclipse 3.3 with Tomcat 5.5.
>
> I configured the Tomcat 5.5 server in the eclipse server view and
> added my project to the server.
>
> I'm starting tomcat through the eclipse server view and get the
> following error -

[snip]

> java.lang.reflect.InvocationTargetException

[snip]

> Caused by: java.lang.NoSuchMethodError:
> org.apache.naming.NamingContextBindingsEnumeration.<init>(Ljava/util/Enu
> meration;)V

It looks like you are compiling your application with one Java API and
running it on another. Is that possible? It's one of the only reasons
you might get a NSME like this.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGqj0s9CaO5/Lv0PARAjF/AJ47QiK4tRLPEHk+DHJC5fhobVvDEgCdEDjh
WH/CgxN+CUw5u4uR2RcWRcg=
=tYDg
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.