Discussions

Web tier: servlets, JSP, Web frameworks: Struts2 FilterDispatcher problem

  1. Struts2 FilterDispatcher problem (2 messages)

    I am using struts 2.8 for a project. I deploy the application in weblogic 9.0 but face some problem. The server couldn't load struts FilterDispatcher on deploying the application. My application's web.xml configuration is as under *****************Web.xml************************************ struts2 org.apache.struts2.dispatcher.FilterDispatcher struts2 /* jsp/index.jsp ********************************************************* When loading application server gives error as follows: weblogic.management.DeploymentException: at weblogic.application.internal.flow.StartModulesFlow.activate(StartMod ulesFlow.java:30) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.ja va:635) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD river.java:26) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment. java:257) at weblogic.application.internal.DeploymentStateChecker.activate(Deploym entStateChecker.java:154) Truncated. see log file for complete stacktrace java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.apache.struts2.dispatcher.FilterDispatcher.(FilterDispatc her.java:149) at java.lang.Class.newInstanceCached(I)Ljava.lang.Object;(Unknown Source ) at java.lang.Class.newInstance(I)Ljava.lang.Object;(Unknown Source) at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java :86) at weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager. java:58) Truncated. see log file for complete stacktrace
    <unable to="" set="" the="" activation="" state="" true="" for="" application="" 'strutsblank'.="" weblogic.management.deploymentexception:="" at="" weblogic.application.internal.flow.startmodulesflow.activate(startmod="" ulesflow.java:30)="" weblogic.application.internal.basedeployment$2.next(basedeployment.ja="" va:635)="" weblogic.application.utils.statemachinedriver.nextstate(statemachined="" river.java:26)="" weblogic.application.internal.basedeployment.activate(basedeployment.="" java:257)="" weblogic.application.internal.deploymentstatechecker.activate(deploym="" entstatechecker.java:154)="" truncated.="" see="" log="" file="" complete="" stacktrace="" java.lang.noclassdeffounderror:="" org="" pache="" truts2="" ispatcher="" ilterdispatcher="" java.lang.class.newinstancecached(i)ljava.lang.object;(unknown="" source="" )="" java.lang.class.newinstance(i)ljava.lang.object;(unknown="" source)="" weblogic.servlet.internal.filtermanager.loadfilter(filtermanager.java="" :86)="" weblogic.servlet.internal.filtermanager.preloadfilters(filtermanager.="" java:58)="" weblogic.servlet.internal.webappservletcontext.preloadresources(webap="" pservletcontext.java:1551)=""> *********************************************************** The applications WEB-INF/lib foldr contains all struts 2 reletive jar files too. I also tried to put the jar file refrence in container's class path. but the problem persists. Can some body help me out to get rid of it?

    Threaded Messages (2)

  2. Maslae ka Hal[ Go to top ]

    Beta Atiqa odho ki pic add kar doo classpath main.. masla solve ho jae ga :)
  3. in english[ Go to top ]

    Beta Atiqa odho ki pic add kar doo classpath main.. masla solve ho jae ga :)
    I think i have the same problem could you translate your answer? i donĀ“t understand it.