• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Can't find Application class at launch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Can't find Application class at launch
      • From: Jean-François GUILLAUD <email@hidden>
  • Prev by Date: Re: NSArray.sortedArrayUsingComparator(OrderedAscending)
  • Next by Date: Re: NSArray.sortedArrayUsingComparator(OrderedAscending)
  • Previous by thread: Re: Off Topic (Slightly) Missing Groups in Documentation Window xCode 1.2
  • Next by thread: Re: Can't find Application class at launch
  • Index(es):
    • Date
    • Thread