• 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
Re: Can't run application (WAS: Can't build application)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't run application (WAS: Can't build application)


  • Subject: Re: Can't run application (WAS: Can't build application)
  • From: email@hidden
  • Date: Tue, 14 Oct 2003 11:56:29 +0100

Hello Johan
On Sunday, October 12, 2003, at 09:22  pm, Johan Beng wrote:

Hi evereone!
I decided to try out WO (5.2) and downloaded the installers from apples developer site.
I uses OSX 10.2.8, and ignored the 1.4.1 java update since I heard that
WO won't work with that version.



But I can't build any application, the build exits with the following error message:
Can't load Application class, exiting...

From the WOApplication documentation:

"Compiled WOApplication subclasses can take any name, but if the name is anything other than "Application" you must implement your own main method to instantiate the application object from this class. However, if the class name is "Application", you don't need to modify main."

So you need a subclass of WOApplication called "Application" in your project.
Cheers,
-- Denis.


java.lang.ClassNotFoundException: Application
	at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
	at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:68)

hello tessan has exited with status 1.

What is wrong?

Please help a newbie...
/Johan
---------------------------------------------
Det dr av misstagen man ldr sig,
om inte av andras se vdl av egna...
_______________________________________________
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.

References: 
 >Can't build application (From: Johan Bång <email@hidden>)

  • Prev by Date: Re: OffTopic : OmniGroup WebObjects List
  • Next by Date: Re: OffTopic : OmniGroup WebObjects List
  • Previous by thread: Re: Can't build application
  • Next by thread: WOResourceManager pathForResourceNamed deprecated method
  • Index(es):
    • Date
    • Thread