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

    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 /0.0.0.0:8009
    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
    repositories:
    /WEB-INF/classes/
    ----------> Parent Classloader:
    org.apache.catalina.loader.StandardClassLoader@53c 015
    org.apache.struts.action.ActionServlet
    java.lang.ClassNotFoundException: org.apache.struts.action.ActionServlet
    at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1680)

    at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1526)
    at org.apache.catalina.core.StandardWrapper.loadServl et(StandardWrapper.java:1095)
    at org.apache.catalina.core.StandardWrapper.allocate( StandardWrapper.java:809)
    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:129)
    at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:291)
    at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:859)
    at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:602)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:489)
    at java.lang.Thread.run(Unknown Source)
    Dec 1, 2011 2:22:30 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Allocate exception for servlet action

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,120
    Rep Power
    20

    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, 07: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, 06: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
  •