Results 1 to 2 of 2
  1. #1
    Divyanshu is offline Member
    Join Date
    Dec 2011
    Bangalore - India
    Rep Power

    Default Struts 2 : Problem : ClassNotFoundException: org.apache.struts.action.ActionServlet

    The Server Console :

    Dec 1, 2011 2:22:25 PM org.apache.catalina.core.AprLifecycleListener init
    INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.5.0_11\bin;.;C:\WINDOWS\system32;C :\WINDOWS;C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Syst em32\Wbem;C:\Program Files\Intel\DMIX;C:\Program Files\Windows Imaging\;C:\WINDOWS\system32\WindowsPowerShell\v1. 0;C:\Program Files\Java\jdk1.5.0_11\bin;D:\Developers\Dev\Proje ctSrc\maven-2.0.9\bin
    Dec 1, 2011 2:22:26 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:StudentRemarkApplicati on' did not find a matching property.
    Dec 1, 2011 2:22:26 PM org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    Dec 1, 2011 2:22:26 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 676 ms
    Dec 1, 2011 2:22:26 PM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Dec 1, 2011 2:22:26 PM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/6.0.33
    Dec 1, 2011 2:22:27 PM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-8080
    Dec 1, 2011 2:22:27 PM org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /
    Dec 1, 2011 2:22:27 PM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/47 config=null
    Dec 1, 2011 2:22:27 PM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 1023 ms
    Dec 1, 2011 2:22:30 PM org.apache.catalina.core.ApplicationContext log
    INFO: Marking servlet action as unavailable
    Dec 1, 2011 2:22:30 PM org.apache.catalina.core.ApplicationContext log
    SEVERE: Error loading WebappClassLoader
    context: /StudentRemarkApplication
    delegate: false
    ----------> Parent Classloader:
    org.apache.catalina.loader.StandardClassLoader@53c 015
    java.lang.ClassNotFoundException: org.apache.struts.action.ActionServlet
    at org.apache.catalina.loader.WebappClassLoader.loadC lass(

    at org.apache.catalina.loader.WebappClassLoader.loadC lass(
    at org.apache.catalina.core.StandardWrapper.loadServl et(
    at org.apache.catalina.core.StandardWrapper.allocate(
    at org.apache.catalina.core.StandardWrapperValve.invo ke(
    at org.apache.catalina.core.StandardContextValve.invo ke(
    at org.apache.catalina.core.StandardHostValve.invoke(
    at org.apache.catalina.valves.ErrorReportValve.invoke (
    at org.apache.catalina.core.StandardEngineValve.invok e(
    at org.apache.catalina.connector.CoyoteAdapter.servic e(
    at org.apache.coyote.http11.Http11Processor.process(H
    at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(
    at Source)
    Dec 1, 2011 2:22:30 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Allocate exception for servlet action

  2. #2
    Tolls is online now Moderator
    Join Date
    Apr 2009
    Rep Power

    Default Re: Struts 2 : Problem : ClassNotFoundException: org.apache.struts.action.ActionServl

    Have you go the correct struts jar file in your WEB-INF/lib directory?

Similar Threads

  1. Replies: 3
    Last Post: 08-11-2010, 06:10 PM
  2. decorator.jsp problem building Struts Menu in JSP when Struts action is used
    By dkirvan in forum JavaServer Pages (JSP) and JSTL
    Replies: 3
    Last Post: 04-29-2010, 05:33 AM
  3. web.xml for ActionServlet (Struts)
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 12-27-2007, 10:54 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts