[jdom-interest] Newbie - JDOM and JBuilder 4
Jochen Kirn
J.Kirn at gmx.de
Tue May 8 05:44:32 PDT 2001
> java.lang.NoClassDefFoundError: com/sun/java/util/collections/Collection
> at myproj.test.main(test.java:30)
>
> Exception in thread "main"
this error is due to following reasons:
you
a) are working with java1.2 or higher
and
b) are using jdom build for java1.1
the Collection class wasn't present in v1.1 by default but available in
addon-pkg
com.sun.java.util.collections and since v1.2 this class is standard and
is in package "java.util.collection".
hence 2 build files (build11.bat and build.bat) are provided with jdom
to build a working version of jdom with either com.sun. ... . Collection for
jdk1.1
or with java.util.collections.Collection for java1.2 and higher
hope this helps :-)
cheers
Jochen
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
More information about the jdom-interest
mailing list