Re: [wiki2xhtml-users] Nullpointer Exception whilegenerating doc_de.wiki, doc_design_de.wiki and l
Brought to you by:
granjow
From: Simon E. <sim...@gm...> - 2009-04-03 14:49:20
|
Hi Axel, Sorry, I now see the problem. Java 6 is required. Here a precompiled version: http://granjow.net/uploads/temp/wiki2xhtml-3.4b3.tar.bz2 Also I've added a build script now (build.sh) which automatically builds wiki2xhtml. (doesn't do java version tests etc. yet!) Simon Birndt, Axel (AutoVision) wrote: >> Ok, thanks a lot for your effort. >> >> I will try this and give feedback. >> >> Regards Axel > > Hello Simon, > > it is the same problem like some months before. > > After creating the wiki2xhtml.jar-File i tried to do the conversion. > > But it fails with the following error message: > > > wasweb: while true ; do co_was_doku ;conv_wiki_batch; sleep 120; done > Checked out revision 312. > Wiki-Files werden jetzt konvertiert. > Wiki-File: about-de.wiki > WIKI_NAME: about-de > WIKI_BILDER_DIR:.about-de_img > /usr/java/jdk1.6.0_06/jre/bin/java -jar /home/wasweb/bin/wiki2xhtml/wiki2xhtml.jar --lang=de -s "/home/wasweb/bin/wiki2xhtml/style/hd" -m "/appl/DOC/websysteme/Wiki_Quelltexte/menu.txt" -c "/appl/DOC/websysteme/Wiki_Quelltexte/common.txt" --td "/appl/DOC/websysteme/htdocs/WebSphere/" "/appl/DOC/websysteme/Wiki_Quelltexte/about-de.wiki" > Exception in thread "main" java.lang.NoClassDefFoundError: program/UserInterface > Caused by: java.lang.ClassNotFoundException: program.UserInterface > at java.net.URLClassLoader$1.run(URLClassLoader.java:200) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) > at java.lang.ClassLoader.loadClass(ClassLoader.java:251) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) > Wiki-File: Apache_Documents.wiki > WIKI_NAME: Apache_Documents > > I built a script which is converting all files in the directory an doing some additional steps. > On my other machine i had the same error as described above. > > In my opinion your last solution was a call to "javac program/UserInterface.java" > > Is there also an easier way to get a correct build for the wiki2xhtml.jar-File? > > It would be a nice thing to have a complete building script for this, with checking the most issus. > > Thanks and regards > > Axel Birndt > |