You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Phil Maher <pm...@h5technologies.com> on 2001/11/14 01:10:13 UTC
Tiles, ActionComponentServlet, WebLogic 6.0sp1, NoSuchMethodError
I'm having a problem replacing the struts 'ActionServlet' with tiles
'ActionComponentServlet', I keep getting this exception (using WebLogic
6.0sp1) :
-=-=-
Error loading servlet: 'action'
java.lang. NoSuchMethodError
at org.apache.commons.digester.Digester.getReader(Digester.java:527)
at org.apache.commons.digester.Digester.parse(Digester.java:120)
at
org.apache.struts.tiles.xmlDefinition.XmlParser.parse(XmlParser.java:255
)
-=-=-
I've tried to upgrade some library files, including:
1. add jaxp_1.1 to my /WEB-INF/lib directory
2. add xerces_1.4.3 to my /WEB-INF/lib directory (before the weblogic
classes...to overide the default SAX parser, this just gave me a
java.lang.AbstractMethodError, instead of the
java.lang.NoSuchMethodError
3. added the below to web.xml
<init-param>
<param-name>SAXParser</param-name>
<param-value>org.apache.xerces.parsers.SAXParser</param-value>
</init-param>
...but I keep getting the same error...anyone ideas?
Philip Maher
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Tiles, ActionComponentServlet, WebLogic 6.0sp1, NoSuchMethodError
Posted by Cedric Dumoulin <ce...@lifl.fr>.
It looks like you haven't commons' jar in WEB-INF/lib. Add
commons-digester.jar, commons-beanutils.jar and commons-collections.jar in
WEB-INF/lib, and all should work. Also, it seems that you use Struts1.0, so I
advice you to use tilesForStruts1.0.jar.
Hope this help,
Cedric
Phil Maher wrote:
> I'm having a problem replacing the struts 'ActionServlet' with tiles
> 'ActionComponentServlet', I keep getting this exception (using WebLogic
> 6.0sp1) :
>
> -=-=-
> Error loading servlet: 'action'
> java.lang. NoSuchMethodError
> at org.apache.commons.digester.Digester.getReader(Digester.java:527)
> at org.apache.commons.digester.Digester.parse(Digester.java:120)
> at
> org.apache.struts.tiles.xmlDefinition.XmlParser.parse(XmlParser.java:255
> )
> -=-=-
>
> I've tried to upgrade some library files, including:
>
> 1. add jaxp_1.1 to my /WEB-INF/lib directory
>
> 2. add xerces_1.4.3 to my /WEB-INF/lib directory (before the weblogic
> classes...to overide the default SAX parser, this just gave me a
> java.lang.AbstractMethodError, instead of the
> java.lang.NoSuchMethodError
>
> 3. added the below to web.xml
>
> <init-param>
> <param-name>SAXParser</param-name>
> <param-value>org.apache.xerces.parsers.SAXParser</param-value>
> </init-param>
>
> ...but I keep getting the same error...anyone ideas?
>
> Philip Maher
>
>
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>