Archi Forum

Archi Plug-ins => jArchi => Topic started by: Alberto on November 11, 2021, 21:15:04 PM

Title: Script error
Post by: Alberto on November 11, 2021, 21:15:04 PM
I've been using the MergeTwoElements.ajs (https://gist.github.com/adgerrits/2390d4ef0560d26aac4350a533c0a3f6) script but I think since I upgraded to 4.9.1 and started using specialization, I've been getting the following error:

Script Error: java.lang.NoClassDefFoundError: com/archimatetool/editor/preferences/Preferences

What am I missing?
Title: Re: Script error
Post by: Phil Beauvoir on November 11, 2021, 21:19:40 PM
Are you using jArchi 1.2? This version is required for Archi 4.9.x
Title: Re: Script error
Post by: Alberto on November 12, 2021, 17:46:58 PM
Yup, that did it.
Thanks
Title: Re: Script error
Post by: gwaters22 on March 22, 2022, 20:36:58 PM
Hello I upgraded Archi to 4.9.3 and when I attempt to use my old com.archimatetool.script_1.1.0.202101121529.archiplugin I get this message : Script Error: java.lang.NoClassDefFoundError: com/archimatetool/editor/preferences/Preferences
Title: Re: Script error
Post by: Jean-Baptiste Sarrodie on April 15, 2022, 10:40:00 AM
Hi,

Quote from: gmamvura on March 22, 2022, 20:36:58 PMHello I upgraded Archi to 4.9.3 and when I attempt to use my old com.archimatetool.script_1.1.0.202101121529.archiplugin I get this message : Script Error: java.lang.NoClassDefFoundError: com/archimatetool/editor/preferences/Preferences

As Phil wrote, jArchi 1.2 is the minimum version needed for Archi 4.9.x.

Regards,

JB