[jdom-interest] Strange "ClassNotFoundException" when I try JDOM with JServ

Jason Hunter jhunter at collab.net
Thu Feb 8 09:58:10 PST 2001

Antonios Peris wrote:
> Hey there this is my problem:
> I'm trying to implement JDOM in servlets and replace exisitng w3c.Dom
> Implementations but I get a strange problem. In Jserv log files I'm always
> receiving the following errors:
> java.lang.NoClassDefFoundError: com/sun/java/util/collections/HashMap
> java.lang.NoClassDefFoundError: com/sun/java/util/collections/List

For some reason you have a JDK 1.1 build of JDOM.  Make sure to get the
normal JDK 1.2 build.

> and also java.lang.NoClassDefFoundError: org/jdom/Namespace !!! (what that
> has to do with it?!).

Your classpath must be hosed.  :-)


More information about the jdom-interest mailing list