Stewart,
That looks like a classpath problem. I think that in a DOS/Windows
environment, java uses semicolons as path delimiters rather than colons.
java -cp recordloader.jar;xcc.jar;xpp3-1.1.4c.jar ...
thanks,
-- Mike
On 2009-04-06 16:34, Stewart Shelline wrote:
I believe I've set recordloader up correctly, but I continue to get the
following error when running it:
Exception in thread "main" java.lang.NoClassDefFoundError:
com/marklogic/ps/RecordLoader
I'm following Michael's tutorial and put everything in a common folder, as
indicated in the output below. I'm sure this has a simple answer, but I'm not
getting it:
D:\tools\recordloader\lib>recordloader.bat> output.txt
D:\tools\recordloader\lib>dir
Volume in drive D is DDrive
Volume Serial Number is 6CE2-7DD0
Directory of D:\tools\recordloader\lib
04/06/2009 05:20 PM<DIR> .
04/06/2009 05:20 PM<DIR> ..
04/06/2009 05:20 PM 0 output.txt
04/06/2009 05:20 PM 101 recordloader.bat
04/06/2009 04:31 PM 148,423 recordloader.jar
03/04/2009 01:39 PM 207,534 xcc.jar
03/04/2009 01:39 PM 18,537 xccexamples.jar
04/06/2009 04:35 PM 120,069 xpp3-1.1.4c.jar
6 File(s) 494,664 bytes
2 Dir(s) 43,485,712,384 bytes free
D:\tools\recordloader\lib>set classpath
CLASSPATH=.;d:\tools\java\jdk5.0;D:\tools\TM4J\tm4j-0.9.7\lib;C:\Program
Files\Java\jre1.6.0_01\lib\ext\QTJava.zip
D:\tools\recordloader\lib>java -cp recordloader.jar:xcc.jar:xpp3-1.1.4c.jar
com.marklogic.ps.RecordLoader
Exception in thread "main" java.lang.NoClassDefFoundError:
com/marklogic/ps/RecordLoader
NOTICE: This email message is for the sole use of the intended recipient(s)
and may contain confidential and privileged information. Any unauthorized
review, use, disclosure or distribution is prohibited. If you are not the
intended recipient, please contact the sender by reply email and destroy all
copies of the original message.
------------------------------------------------------------------------
_______________________________________________
General mailing list
General@developer.marklogic.com
http://xqzone.com/mailman/listinfo/general
_______________________________________________
General mailing list
General@developer.marklogic.com
http://xqzone.com/mailman/listinfo/general