Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » java.lang.NoSuchMethodError: org.apache.naming.NamingContextBindingsEnumeration. <init>
java.lang.NoSuchMethodError: org.apache.naming.NamingContextBindingsEnumeration. <init> [message #195665] Thu, 05 July 2007 02:50
Eclipse User
Originally posted by: eclipse.news.codefarm.com.au

I was running into this on starting Tomcat as I migrated an existing web app
forward some verions to Java 5/Tomcat 5.5/Eclipse 3.2 + WST:
> java.lang.NoSuchMethodError:
> org.apache.naming.NamingContextBindingsEnumeration.<init>

The issue was NOT related to WST or Eclipse. Tomcat 5.5 seemed to ship with
a naming-common.jar and a naming-resources.jar and both of these had a
NamingContextBindingsEnumeration class within. The version in
naming-common.jar was older, and was if your classloader picks it up instead
of the other one you'll start to get this problem.

Just thought I'd pass on my findings in case anyone else hit this one.

Ben
Previous Topic:Dynamic Web Project & Dependencies
Next Topic:Failed to start Websphere 6.1 from Eclipse-WTP-All-in-one
Goto Forum:
  


Current Time: Fri Oct 24 23:57:53 GMT 2014

Powered by FUDForum. Page generated in 0.01532 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software