Hello Friends,
previously i used wicket 1.2.7 jar wicket extension 1.2.7 jar and
servlet-api-2.5-6.0.1.jar
my wicket page is worked well.
now i have changed wicket 1.4-rc5. jar wicket extension 1.4-rc5. jar and
servlet-api-2.5-6.0.1.jar
 my web.xml written like this

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns="
http://java.sun.com/xml/ns/javaee"; xmlns:web="
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; xsi:schemaLocation="
http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; id="WebApp_ID"
version="2.5">
  <display-name>Wicket Examples</display-name>
 <welcome-file-list>
  <welcome-file>test.html</welcome-file>
 </welcome-file-list>

   <servlet>
  <servlet-name>HelloWorldApplication</servlet-name>
  <servlet-class>org.apache.wicket.protocol.http.WicketServlet</servlet-class>

  <init-param>
    <param-name>applicationClassName</param-name>
    <param-value>helloworld.HelloWorldApplication</param-value>
  </init-param>
 </servlet>
 <servlet-mapping>
  <servlet-name>HelloWorldApplication</servlet-name>
  <url-pattern>/helloworld/*</url-pattern>
 </servlet-mapping>

</web-app>



When i run this page it shows the error

javax.servlet.ServletException: Error instantiating servlet class
org.apache.wicket.protocol.http.WicketServlet
java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory.

How can i solve it.
please give me solution to solve this problem

is there any .jar files i need to include?
or
i need to change my web.xml file???



-- 
Thanks&regards,
Gerald A

Reply via email to