If you're not using 2.0 or 1.3 you have to use WicketServlet (as the
others said). Otherwise, you're having class path troubles and you
have to look at how you set up JBoss.

Eelco


On 12/8/06, Lost Still Lost <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
>  I am working on a rather simple example of a wicket-webapplication.
> Unfortunately it is not working properly.
>  I got this Exception in JBOSS-4.0.5
>
>  10:27:24,546 INFO  [[/helloworld]] Marking servlet HelloWorldApplication as
> unavailable
> 10:27:24,546 ERROR [[/helloworld]] Servlet /helloworld threw load()
> exception
> java.lang.VerifyError: (class:
> wicket/protocol/http/WicketServlet, method: doGet
> signature:
> (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServlet
>
>  Then I got an answer on the net about the same problem. It said:
>  In web.xml, you need to do this:
>
>     <filter>
>         <filter-name>HelloWorldApplication</filter-name>
>
> <filter-class>wicket.protocol.http.WicketFilter</filter-class>
>         <init-param>
>           <param-name>applicationClassName</param-name>
>
> <param-value>main.java.HelloWorldApplication</param-value>
>         </init-param>
>         <init-param>
>           <param-name>filterPath</param-name>
>           <param-value>helloworld</param-value>
>         </init-param>
>     </filter>
>     <filter-mapping>
>         <filter-name>HelloWorldApplication</filter-name>
>         <url-pattern>/helloworld/*</url-pattern>
>     </filter-mapping>
>
>
>  So that is my web.xml now.
>  But now I get the following exception:
>
>  11:51:44,093 ERROR [[/helloworld]] Exception starting filter
> HelloWorldApplication
> java.lang.ClassNotFoundException:
> wicket.protocol.http.WicketFilter
>
>  It seems that the class WicketFilter cannor be found. Why should that be a
> problem?
>
>
>  If anyone know the answer to my problem I would be grateful.
>
>  -Yuri
>
>
>
> ________________________________
> Check the weather nationwide with MSN Search Try it now!

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to