Check the contents of the application project's build.properties file.

On Oct 13, 2011, at 7:07 AM, Bjarni Sævarsson wrote:

> Hi all.
> 
> Encountered a strange error after a redeploy a wo app, Salsa, this morning.
> Javamonitor refused to start the instances so I started the app manually.
> 
> "
> ...
> Can't find main method on class is.us.util.USPrincipalClass, exiting...
> java.lang.NoSuchMethodException: 
> is.us.util.USPrincipalClass.main([Ljava.lang.String;)
>       at java.lang.Class.getMethod(Class.java:1605)
>       at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:86)
> "
> 
> Opened "Salsa.woa/Contents/UNIX/UNIXClassPath.txt" and there I see 
> "...
> ApplicationClass == is.us.salsa.USPrincipalClass
> ..."
> 
> Changed it to 
> "...
> ApplicationClass == is.us.salsa.Application
> ..."
> 
> aaand now jm runs the instances normally.
> 
> 
> So, my question is if anyone has any idea how this can happen?
> 
> p.s. Using eclipse.
> 
> Best regards,
> Bjarni Sævarsson
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/kelleherk%40gmail.com
> 
> This email sent to kelleh...@gmail.com

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

This email sent to arch...@mail-archive.com

Reply via email to