Hello
I start wirh programing Vassal
I have problem with run program in eclipse
When I start run in conssole displays errors :
"java.lang.NoClassDefFoundError: VASSAL/configure/ExtensionEditWindow
Caused by: java.lang.ClassNotFoundException: VASSAL.configure.ExtensionEditWindow
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Exception in thread “main” "
It looks like your setup is messed up. If it can’t find ExtensionEditWindow it’s probably because that’s the first class it tried to look for. I suspect it happens right away.
Right-click on your project and select “Properties”.
What are the source folders under Java Build Path->Source ?
The main problem with the wiki instructions is the setup of the buildpath under the Libraries tab and the Order and Export tab
In each of these tabs you need to add all the files found in the Lib folder in your local package. The JRE system library should also be in the order and export tab first or second entry
The projects tab should be empty
The launch class has also changed from what is listed
To launch module manager use: ModuleManager – VASSAL.launch
To launch player use: Player – VASSAL.launch
To launch editor use: Editor – VASSAL.launch
Generally I just start with module manager and go from there
Note this is what I have to do, it may not be correct but it works for me, YMMV
It looks like your setup is messed up. If it can’t find ExtensionEditWindow it’s probably because that’s the first class it tried to look for. I suspect it happens right away.
Right-click on your project and select “Properties”.
What are the source folders under Java Build Path->Source ?