Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (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 UserFriend
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 Apr 19 13:56:37 GMT 2024

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

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

Back to the top