File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Application Frameworks and the fly likes problem in running first wicket application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "problem in running first wicket application" Watch "problem in running first wicket application" New topic

problem in running first wicket application

sruthi sruthi

Joined: Jul 22, 2008
Posts: 1
I have developed wicket application with
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<span wicket:id="message" >Message goes here</span>
import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.markup.html.basic.Label;

public class HelloWorld extends WebPage
* Constructor
public HelloWorld()
add(new Label("message", "Hello World!"));

import org.apache.wicket.protocol.http.WebApplication;
import org.apache.wicket.protocol.http.WicketServlet;

public class HelloWorldApplcation extends WebApplication

public HelloWorldApplcation()

public Class getHomePage()
return HelloWorld.class;

* @see org.apache.wicket.Application#getHomePage()

} in same folder in eclipse

My web.xml is

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="" xmlns="" xmlns:web="" xsi:schemaLocation="" id="WebApp_ID" version="2.5">




I am trying to run this application on eclipse but its showing error

SEVERE: Servlet /NewWicket threw load() exception
java.lang.ClassNotFoundException: wicket.protocol.http.WicketServlet
at org.apache.catalina.loader.WebappClassLoader.loadClass(
at org.apache.catalina.loader.WebappClassLoader.loadClass(
at org.apache.catalina.core.StandardWrapper.loadServlet(
at org.apache.catalina.core.StandardWrapper.load(
at org.apache.catalina.core.StandardContext.loadOnStartup(
at org.apache.catalina.core.StandardContext.start(
at org.apache.catalina.core.ContainerBase.start(
at org.apache.catalina.core.StandardHost.start(
at org.apache.catalina.core.ContainerBase.start(
at org.apache.catalina.core.StandardEngine.start(
at org.apache.catalina.core.StandardService.start(
at org.apache.catalina.core.StandardServer.start(
at org.apache.catalina.startup.Catalina.start(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(
at org.apache.catalina.startup.Bootstrap.main(

please give me any suggestions so that I can move forward

It is sorta covered in the JavaRanch Style Guide.
subject: problem in running first wicket application
Similar Threads
Problem deploying my first Struts example
HTTP Status 404
JSF 1.1 and Tomcat 6
can web.xml data include contents from other xml file
First Wicket Problem