Can't find Application class at launch
Can't find Application class at launch
- Subject: Can't find Application class at launch
- From: Allen Cronce <email@hidden>
- Date: Tue, 1 Jun 2004 19:19:14 -0700
Hi all,
I've got a very basic application that won't start. Here's what's in
the log:
Can't load Application class, exiting...
java.lang.ClassNotFoundException: Application
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:68)
I had exactly this same error when I first wrote the application. I
shook all the usual dead chickens to try and clear the problem (clean
builds, deleting build folders, manually deleting, rebuilding and
installing our custom frameworks, etc.) None of these attempts worked.
Ultimately what made it work was forcing a compile error in
Application.java by removing a required import for one of our framework
classes, fixing the compile error, then rebuilding. Unfortunately the
problem is back and that particular magic spell is not working now.
Any suggestions as to how I resolve this problem? Note that I'm not
above smearing my body with chicken blood and chanting if that would
help.
Best,
--
Allen Cronce
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.