You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Richard Featherstone <ri...@btinternet.com> on 2002/01/29 11:54:58 UTC

Running command line actions

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 

Re: Running command line actions

Posted by Richard Featherstone <ri...@btinternet.com>.
Why is it looking for '/jar' or '1/4/3/jar' instead of '.jar' or '1.4.3.jar' all the jar files in the java/lib directory have the correct names.  For some reason its looking for .'s replaced with /'s.

Any ideas why this is or how I can fix it.

Cheers

Richard
  ----- Original Message ----- 
  From: Mark J. Stang 
  To: xindice-users@xml.apache.org 
  Sent: Tuesday, January 29, 2002 3:14 PM
  Subject: Re: Running command line actions


  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

Re: Running command line actions

Posted by "Mark J. Stang" <ma...@earthlink.net>.
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
>
> \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