Go in the application properties in Eclipse (right click on the project, last entry), then switch to the "WOLips Build" (last entry) and change the "Principal Class" to a fully qualified classname.

cug

On 23.12.2007, at 21:16, Drew Thoeni wrote:

So I've built an app in Eclipse and tried to start it on a server. When it failed, I started the app in terminal. I get the usual spew then, oops...

 /Library/WebObjects/Extensions/commons-logging.jar
 /Library/WebObjects/Extensions/jaxrpc.jar
 /Library/WebObjects/Extensions/log4j-1.2.8.jar
 /Library/WebObjects/Extensions/saaj.jar
 /Library/WebObjects/Extensions/wsdl4j.jar
 /Library/WebObjects/Extensions/
Can't load your.app.Application class, exiting...
java.lang.ClassNotFoundException: your.app.Application
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:84)

The "your.app.Application" seems to be an obvious problem. But, coming straight from Xcode, I don't recall ever setting this. A search of Google finds only four entries for "your.app.Application eclipse".

Can someone point me straight?

Thanks

Drew
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/lists%40event-s.net

This email sent to [EMAIL PROTECTED]

--
http://www.event-s.net

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to