That error indicates a Classpath Issue. What command are you using to start RecordLoader? What OS are you ON? What path are you trying to launch from? Which JVM? what jars of the supporting libraries do you have?
Below is the script I use to kick off RecordLoader. -fs #!/bin/bash CP="c:/cygwin/usr/local/ml-java/recordloader.jar" CP="$CP;c:/cygwin/usr/local/ml-java/xcc.jar" CP="$CP;c:/cygwin/usr/local/ml-java/xpp3-1.1.4c.jar" java -Xmx1024M -cp $CP com.marklogic.ps.RecordLoader $* -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Pawson Sent: Monday, December 01, 2008 9:47 AM To: General Mark Logic Developer Discussion Subject: Re: [MarkLogic Dev General] adding to marklogic classpath 2008/12/1 Frank Sanders <[EMAIL PROTECTED]>: > RecordLoader is actively maintained, according to the workshop page the last > release was built on 6/24/2008. > > You can get the latest releases here: > > http://xqzone.marklogic.com/svn/recordloader/releases/ > > The SVN repository for the code is here: > > http://xqzone.marklogic.com/svn/recordloader/trunk/ > > The tutorial is a bit old, but all the information remains relevant. Dec 1, 2008 1:38:57 PM com.marklogic.recordloader.Monitor halt INFO: halting Exception in thread "main" java.lang.NoClassDefFoundError: org/xmlpull/v1/XmlPullParserException at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at com.marklogic.recordloader.LoaderFactory.<init>(LoaderFactory.java:78) at com.marklogic.recordloader.AbstractInputHandler.getFactory(AbstractInputHandler.java:35) at com.marklogic.recordloader.DefaultInputHandler.run(DefaultInputHandler.java:55) at com.marklogic.ps.RecordLoader.runInputHandler(RecordLoader.java:246) at com.marklogic.ps.RecordLoader.run(RecordLoader.java:183) at com.marklogic.ps.RecordLoader.main(RecordLoader.java:147) Caused by: java.lang.ClassNotFoundException: org.xmlpull.v1.XmlPullParserException at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:323) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:268) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336) ... 8 more > > The README.html found in the SVN repository will give you additional > information on all the supported extensions. > > Hope this helps, it should definitely suit your needs in loading those XML > files. I have a few sample properties files, along with some bash scripts to > run RecordLoader that I can share if you would find them helpful. I'd prefer the documentation to be accurate and the jars appropriate to the demo? Yes, I think it would do the job.... if it worked? Any version information on the 3 jars please? regards -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
