Hi Martina,
you have to download the whole BaseX-Project at http://www.inf.uni-konstanz.de/dbis/basex/download/BaseX61.jar
Then just start the server with: --> java -cp BaseX61.jar org.basex.BaseXServer More documentation can be found here: http://www.inf.uni-konstanz.de/dbis/basex/server
I hope this helps, feel free to ask for more assistance.
Kind regards, Andreas
Zitat von "Hänzi Martina (s)" martina.haenzi@students.fhnw.ch:
Hi Andreas
Thanks for your quick answer. Now I got this error, if i execute "java -cp BaseX61.jar org.basex.BaseXServer" in the Filer "basex-api": Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:676) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:317) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:375)
i downloaded the basex-api.zip from the uni konstanz homepage.
Any ideas whats wrong? I don't think its realy the .class file
thanks and kind regards Martina
Von: Andreas Weiler [andreas.weiler@uni-konstanz.de] Gesendet: Samstag, 14. August 2010 10:34 An: Hänzi Martina (s) Cc: basex-talk@mailman.uni-konstanz.de Betreff: Re: [basex-talk] Starting Server --> Exception in thread
Hi Martina,
if you just want to start the BaseXServer you have to download BaseX61.jar and call it with: java -cp BaseX61.jar org.basex.BaseXServer
if you want to use the JAX-RX Interface to communicate with the BaseXServer have a look at this documentation page: http://www.inf.uni-konstanz.de/dbis/basex/rest
Kind regards, Andreas
martina.haenzi@students.fhnw.ch schrieb:
Hi
I have a problem with starting the Server on my MacBook. If I execute the Unix-File from basex-api (startjaxrx) the Terminal displays: "Exception in thread "main" java.lang.NoClassDefFoundError: StartJaxRx logout"
And if I execute the Jar-File (BaseX61-jaxrx.jar) this Error displays on the console: "Faild to load Main-Class manifest attribut from /Applications/basex-api/BaseX61-jaxrx.jar"
If I'm using BaseX on my virtual machine (Windows XP professional) there ist a similar problem. The MS-DOS-File displays: "Exception in thread "main" org.jaxrx.core.JaxRxException at org.jaxrx.StartJetty.<init>(StartJetty.java:46) at StartJaxRx.main(StartJetty.java:41)"
What am I doing wrong?
Thanks for your help. _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk