UnderFlow wrote:Are there any news on the missing forge/ReadCard issue?
Compiled info:
- Exception | Open
- forge/ReadCard
Version:
Forge -- official beta: $Date: 2011-07-02 06:20:39 +0200 (Sa, 02 Jul 2011) $, SVN revision: $Revision: 10300 $
OS: Windows Vista Version: 6.0 Architecture: x86
Java Version: 1.6.0_24 Vendor: Sun Microsystems Inc.
Detailed error trace:
java.lang.NoClassDefFoundError: forge/ReadCard
at forge.card.cardFactory.CardFactory.readCards(Unknown Source)
at forge.card.cardFactory.CardFactory.<init>(Unknown Source)
at forge.AllZone.<clinit>(Unknown Source)
at forge.Gui_NewGame$2.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: forge.ReadCard
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)
... 18 more
My SVN folder contains forge/ReadCard.java, but there is no forge/ReadCard.class in the jar.
I am using the exact same command as update-and-build-xstream-fix.bat.
Could this have something to do with the manifest? Could the current version of the manifest actually be an obsolete version?
Thanks in advance. ^^
`
I reverted my local copy of the SVN down to the revision mentioned by Sloth. This should have been the last version of the manifest before it was removed from the SVN.
The manifest is a short document which only lists the main class and also contains the class-path of the dependancies:
Manifest-Version: 1.0
Main-Class: forge.Gui_NewGame
Class-Path: res/lib/google-collections-1.0.jar res/lib/java-image-scaling-0.8.4.jar res/lib/substance.jar res/lib/napkinlaf-1.2.jar res/lib/nimrodlf.jar res/lib/jl1.0.1.jar res/lib/miglayout-3.7.3.1-swing.jar res/lib/xpp3_min-1.1.4c.jar res/lib/xstream-1.3.1.jar res/lib/java-yield-1.0-SNAPSHOT-jar-with-dependencies.jar
`
These scripts are not my strong suit. Make sure that your script/command includes the dependency for the:
java-yield-1.0-SNAPSHOT-jar-with-dependencies.jar
without this dependency could cause the problem that you are mentioning.