Re: Strange Deployment Error
Re: Strange Deployment Error
- Subject: Re: Strange Deployment Error
- From: "Chris Hoyt" <email@hidden>
- Date: Tue, 26 Feb 2008 03:35:29 -0500
Awesome! Nice and simple.
On Tue, Feb 26, 2008 at 3:22 AM, Simon McLean <
email@hidden> wrote:
if your default response handler is direct action check your default action - if you are returning pageWithName("Main") you might try changing it to pageWithName(full.package.name.of.your.Main.component).
Simon
On 26 Feb 2008, at 08:14, Chris Hoyt wrote:
On deployment of a otherwise working project I get this error:
java.lang.IllegalArgumentException: com.webobjects.appserver._private.WOComponentDefinition > Class 'Main' exists but is not a subclass of WOComponent.
I investigated the error by logging the location of Main and found this:
"Main class is org.apache.log4j.chainsaw.Main"
Anyone know how to make my project look in the right place for Main? Apparently I can circumvent this by putting Main in the same package as Application, but that sucks.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden