struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] Closed: (WW-3323) Help required with solution
Date Tue, 10 Nov 2009 08:37:13 GMT

     [ https://issues.apache.org/struts/browse/WW-3323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lukasz Lenart closed WW-3323.
-----------------------------

    Resolution: Not A Problem

Missing jars

> Help required with solution
> ---------------------------
>
>                 Key: WW-3323
>                 URL: https://issues.apache.org/struts/browse/WW-3323
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Dispatch Filter
>    Affects Versions: 2.1.8
>         Environment: I am using Apache Tomcat/5.0.28 linux environment and IDE netbeans
>            Reporter: Subhash
>
> I am trying for struts 2 tiles example where my web.xml is 
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <!DOCTYPE web-app
>     PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
>     "http://java.sun.com/dtd/web-app_2_3.dtd">
> <web-app>
>     <filter>
>         <filter-name>sample-filter</filter-name>
>         <filter-class>
>     org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
>         </filter-class>
>     </filter>
>     <filter-mapping>
>         <filter-name>sample-filter</filter-name>
>         <url-pattern>/*</url-pattern>
>     </filter-mapping>
>     <listener>
>         <listener-class>
>         org.apache.struts2.tiles.StrutsTilesListener
>         </listener-class>
>     </listener>
>     <context-param>
>         <param-name>tilesDefinitions</param-name>
>         <param-value>/WEB-INF/tiles.xml</param-value>
>     </context-param>
>     <welcome-file-list>
>         <welcome-file>index.jsp</welcome-file>
>     </welcome-file-list>
> </web-app>
> and struts .xml is 
> <?xml version="1.0" encoding="UTF-8"?>
> <!--
>     Document   : struts.xml
>     Created on : November 10, 2009, 12:13 PM
>     Author     : root
>     Description:
>         Purpose of the document follows.
> -->
> <!DOCTYPE struts PUBLIC
>     "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
>     "http://struts.apache.org/dtds/struts-2.0.dtd">
> <struts>
>     <package name="goodexample" namespace="/sample"
> 	                            extends="tiles-default">
>         <action name="myexample" class="sample.MyExample">
> 	        <result name="good" type="tiles">good-sample</result>
> 	        <result name="bad">/bad.jsp</result>
>             <result name="visitor">/visitor.jsp</result>
> 	    </action>
>     </package>
> </struts>
> is 
> 2009-11-10 12:20:21 StandardContext[/Struts2Ex]Error configuring application listener
of class org.apache.struts2.tiles.StrutsTilesListener
> java.lang.NoClassDefFoundError: com/opensymphony/xwork2/util/logging/LoggerFactory
> 	at org.apache.struts2.tiles.StrutsTilesListener.<clinit>(StrutsTilesListener.java:50)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
> 	at java.lang.Class.newInstance0(Class.java:350)
> 	at java.lang.Class.newInstance(Class.java:303)
> 	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3776)
> 	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4343)
> 	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
> 	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
> 	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
> 	at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:903)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
> 	at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
> 	at org.apache.commons.digester.Rule.end(Rule.java:276)
> 	at org.apache.commons.digester.Digester.endElement(Digester.java:1058)
> 	at org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:76)
> 	at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
> 	at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
> 	at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Source)
> 	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
> 	at org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(Unknown
Source)
> 	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
> 	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
> 	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> 	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> 	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> 	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
> 	at org.apache.commons.digester.Digester.parse(Digester.java:1567)
> 	at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:488)
> 	at org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
> 	at org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:813)
> 	at org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:271)
> 	at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:251)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
> 	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
> 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
> 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
> 	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
> 	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
> 	at java.lang.Thread.run(Thread.java:595)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message