deckrider wrote:
For me it only happens when referencing classes in external jar files
(upon which my project depends) that are not built within the project
that uses webstart-maven-plugin. Its as if the classpath that allows
the classes/jar to be built is not the same that is used to verify the
main method when the plugin is used.
Hi,
I think it happens because your main() method references classes outside
of its jar file, for example, if Foo class is in another jar:
public class Main {
public static void main(String[] args) {
Foo foo = new Foo();
}
}
Try changing it to something like this, it worked for me:
public class Main {
public static void main(String[] args) {
launchApplication();
}
private static void launchApplication() {
Foo foo = new Foo();
}
}
cheers,
Andrius
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email