I have the following files:
fabman at monster:~$ md5sum /media/disk/Datos/Software/XXE/xxe-*
716430e714dc042420c1f83c805ca109
/media/disk/Datos/Software/XXE/xxe-devdocs-4_2_0.tar.gz
4d166eb60d99698a39db9c75c0e82c38
/media/disk/Datos/Software/XXE/xxe-pro-4_2_0.tar.gz
cab9412c2f88736ff74c79c2ad00d386
/media/disk/Datos/Software/XXE/xxe-pro-4_2_0.zip
fabman at monster:~$
On Windows it was a clean install of the xxe-pro_4_2_0.zip file (I've
reinstalled my laptop from scratch using the recovery DVD provided with
it, installed JDK 6 u 11 from Sun, then installed XXE and got the error
when trying to run java -jar createproject.jar from the createproject/
folder).
On Linux (this machine) I've removed ~/.xxe* and /opt/xxe, reinstalled
from the .tar.gz files above and got the same error. I don't think it's
a mix of 4.1 and 4.2 versions...
The procedure to install on Linux was:
fabman at monster:~$ rm -rf /opt/xxe/* ~/.xxe*
fabman at monster:~$ tar tvzf
/media/disk/Datos/Software/XXE/xxe-pro-4_2_0.tar.gz
fabman at monster:~$ cd xxe-pro-4_2_0/
fabman at monster:~$ tar xvzf
/media/disk/Datos/Software/XXE/xxe-devdocs-4_2_0.tar.gz
fabman at monster:~$ mv xxe-pro-4_2_0/* /opt/xxe/ (to put it where I want it)
fabman at monster:~$ rm -rf xxe-pro-4_2_0/ (to cleanup, it's empty anyway)
I did uncompress devdocs inside XXE install dir, and should have gotten
the right dir structure, which it seems I did:
fabman at monster:~$ ls /opt/xxe/doc/
api configure dev gui icons quickrefcard
spreadsheet user xmltool
commands csssupport docbook help index.html rngsupport
translatexxe xhtml
fabman at monster:~$
fabman at monster:~$ ls /opt/xxe/doc/dev/
api3to4 dom.html gui.html introduction.html styleext.html
command2.html embed1.html html.css plugin.html validatehook.html
command.html embed2.html images resources xpath.html
createproject guide.pdf index.html samples
fabman at monster:~$
Both Linux and Windows are now clean installs, and I still get the same
error:
fabman at monster:~$ java -jar
/opt/xxe/doc/dev/createproject/createproject.jar
Exception in thread "main" java.lang.NoSuchMethodError:
com.xmlmind.guiutil.Wizard.<init>(Ljava/awt/Frame;Ljava/lang/String;I)V
at CreateProject.<init>(CreateProject.java:159)
at CreateProject.main(CreateProject.java:1550)
fabman at monster:~$
Thanks in advance for your help.
Hussein Shafie wrote:
> Fabi?n Mandelbaum wrote:
>
>> createproject.jar refuses to run. I've tested on both a Windows
>> (JDK6 update 11, XXE Pro 4.2) and Linux (output below, JDK 6 update 7,
>> XXE Pro 4.2) and get the same result:
>>
>> fabman at monster:/opt/xxe/doc/dev/createproject$ java -jar createproject.jar
>> Exception in thread "main" java.lang.NoSuchMethodError:
>> com.xmlmind.guiutil.Wizard.<init>(Ljava/awt/Frame;Ljava/lang/String;I)V
>> at CreateProject.<init>(CreateProject.java:159)
>> at CreateProject.main(CreateProject.java:1550)
>> fabman at monster:/opt/xxe/doc/dev/createproject$
>>
>>
>
> I think you are attempting to use a createproject.jar 4.2 with a xxe.jar
> 4.1. See below.
>
>
>
>
>> With XXE Pro 4.1 and same Linux machine/config it worked fine...
>>
>> Any ideas?
>>
>
> createproject.jar 4.2 has a dependency on ../../../bin/xxe.jar 4.2.
>
> That is, the dev. docs (xxe-devdocs-4_2_0.tar.gz) must be extracted in
> XXE_4.2_Install_Dir/ in order to update XXE_4.2_Install_Dir/doc/dev/.
> Then you must run something like:
>
> java -jar XXE_4.2_Install_Dir/doc/dev/createproject/createproject.jar
>
>