On May 8, 2008, at 1:45 PM, Jaime Magiera wrote:


On May 8, 2008, at 4:28 PM, Art Isbell wrote:

        Try launching your app from a shell prompt

Thank you very much. Forgot about launching from the shell. Interestingly, the jar seems to be in the right place, but the app cannot find it...
snip


Can't load Application class, exiting...
java.lang.ClassNotFoundException: 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)

============================================

node2:/Library/WebObjects/Applications/testapp.woa/Contents/MacOS root# cat MacOSClassPath.txt
# JVM              == java
# JVMOptions       ==
# JDB              == jdb
# JDBOptions       ==
# ApplicationClass == Application


Is Application in a package? If so, # ApplicationClass need to indicate that. Look in the project for build.properties:
principalClass=....

Chuck


--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects





_______________________________________________
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