You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by John Patterson <jd...@gmail.com> on 2007/10/11 22:37:27 UTC

Jetty classloader

Hi,

I am having problems deploying my app on Jetty getting this message:

org.apache.wicket.WicketRuntimeException: Application class  
com.hello.site.HelloApplication must be a subclass of WebApplication
         at  
org.apache.wicket.protocol.http.ContextParamWebApplicationFactory.create 
Application(ContextParamWebApplicationFactory.java:78)
         at  
org.apache.wicket.protocol.http.ContextParamWebApplicationFactory.create 
Application(ContextParamWebApplicationFactory.java:51)

I imagine that Jetty is using two classloaders, one for the Filter  
and one for my application classes.  Has anyone else had this problem?

Thanks,

John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Jetty classloader

Posted by Gwyn Evans <gw...@gmail.com>.
On Thursday, October 11, 2007, 9:37:27 PM, John <jd...@gmail.com> wrote:

> I imagine that Jetty is using two classloaders, one for the Filter
> and one for my application classes.  Has anyone else had this problem?

No, but different classloaders would suggest you've deployed the Wicket jar somewhere other than
in the web app's WEB-INF/lib/, wouldn't it?  Is that the case?

/Gwyn


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Jetty classloader

Posted by John Patterson <jd...@gmail.com>.
Ooops!  Posted too soon... I had simply removed wicket from my pom by  
mistake and Eclipse had not shown any build errors but did remove the  
import statement from my Application.  Might have to change this  
setting!


On 11 Oct 2007, at 14:37, John Patterson wrote:

> Hi,
>
> I am having problems deploying my app on Jetty getting this message:
>
> org.apache.wicket.WicketRuntimeException: Application class  
> com.hello.site.HelloApplication must be a subclass of WebApplication
>         at  
> org.apache.wicket.protocol.http.ContextParamWebApplicationFactory.crea 
> teApplication(ContextParamWebApplicationFactory.java:78)
>         at  
> org.apache.wicket.protocol.http.ContextParamWebApplicationFactory.crea 
> teApplication(ContextParamWebApplicationFactory.java:51)
>
> I imagine that Jetty is using two classloaders, one for the Filter  
> and one for my application classes.  Has anyone else had this problem?
>
> Thanks,
>
> John


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org