I checked my classpath and all of mine are backslashes. Any file
ending in
".jar" must have its correct path specified! Take a look
at the jar names, it
appears that you have replaced all the "." with "/". For
instance, the name
of the xerces jar is "xerces-1.4.3.jar", not "xerces-1/4/3/jar".
Hope that helps!
Mark
Richard Featherstone wrote:
Hi I've
just started to use dbXML and am trying to create a collection C:\dbXML-Core>dbxmladmin
add_collection -c /db -n myexamples i
get the following error message Exception
in thread "main" java.lang.NoClassDefFoundError: ;\config;C:\dbXML-Cor
e\java\lib\infozone-lexus/jar;C:\dbXML-Core\java\lib\juggernaut-1/0/jar;C:\dbXML
-Core\java\lib\xerces-1/4/3/jar;C:\dbXML-Core\java\lib\examples/jar;C:\dbXML-Cor
e\java\lib\openorb-1/2/0/jar;C:\dbXML-Core\java\lib\openorb_tools-1/2/0/jar;C:\d
bXML-Core\java\lib\ant-1_3/jar;C:\dbXML-Core\java\lib\junit-3_7/jar;C:\dbXML-Cor
e\java\lib\infozone-tools/jar;C:\dbXML-Core\java\lib\servlet/jar;C:\dbXML-Core\j
ava\lib\dbXML/jar;C:\dbXML-Core\java\lib\xmldb/jar;C:\dbXML-Core\java\lib\xmldb-
sdk/jar;C:\dbXML-Core\java\lib\xalan-2/0/1/jar;C:\jdk1/3/1_02\lib\tools/jar I'm
not sure what the problem is, I think it might be because its looking for
/jar and not .jar. Can anyone out there help me to get this fixed? Thanks
in advance Richard
I'm using windows xp and my environment
settings are JAVA_HOME
= C:\jdk1.3.1_02
DBXML_HOME = C:\dbXML-Core
PATH = C:\jdk1.3.1_02\bin;C:\dbXML-Core\bin
CLASSPATH = .;C:\dbXML-Core\java\lib\dbXML.jar
|