Re: new release
Martin Klang <[email protected]> Wed, 16 Jul 2003 22:46:32 +0000 (GMT)
| Newsgroups | gmane.text.xml.o-xml |
|---|---|
| Message-ID | <[email protected]> |
ooh, yes, as you realised already Cao the class name is wrong. I've completely forgotten to update the scripts, both run.sh and run.bat! Also i've missed the web.xml file (for servlet use)... The uri it expects is simply the program filename/url - admittedly the error message could be improved. Having changed the batch file you should be able to do something like: run.bat examples/user/user.oml Though I think the next problem you will come up against with that script, run.bat, is that it doesn't include jakarta ORO in the classpath. to fix that change run.bat to read (two lines): cp=obox.jar:xalan.jar:xml-apis.jar:xerces.jar:tagbox-utils.jar:xinclude.jar:jcup-rt.jar:jakarta-oro-2.0.7.jar java -cp $cp org.oXML.engine.ObjectBox $@ Thanks for the quick feedback Cao, and for figuring out what the problem was. And sorry for the confusion. I'll update the scripts and put a fresh zip online. If you only want the updated files they're also available from cvs: http://cvs.pingdynasty.com/viewcvs/*checkout*/o-xml/dist/run.bat http://cvs.pingdynasty.com/viewcvs/*checkout*/o-xml/dist/run.sh http://cvs.pingdynasty.com/viewcvs/*checkout*/o-xml/dist/web.xml (or in the directory http://cvs.pingdynasty.com/viewcvs/o-xml/dist/) cheers, /m Martin Klang http://www.o-xml.org - the object-oriented XML programming language On Wed, 16 Jul 2003, Guoliang Cao wrote: > hi, > > Just downloaded the whole package and invoked "run.bat" and got this error: > > Exception in thread "main" java.lang.NoClassDefFoundError: org/oXML/extras/ObjectBox > > I then opened obox.jar and didn't find that one but this > org.oXML.engine.ObjectBox . I changed to it in run.bat and was able to see a > different message: > > Wed Jul 16 16:22:35 EDT 2003 error: URI cannot be null > > This means I should pass a uri to it I guess. Anyway, this o-xml is very cool > and I'll keep an eye on it. > > Cheers, > Cao >