I get the following error when trying to deploy my app to Tomcat 4.1.17
- with a nightly build from 12.16.2002. I reverted back to a nightly
build from 11.24.2002 and everything works fine.
java.lang.AbstractMethodError
at
org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.j
ava:1076)
at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:457)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav
a:934)
My struts-config.xml is below:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD
Struts Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
<!-- ========== Data Sources Definitions
=================================== -->
<!--
Define your Struts data sources in a file called
struts-data-sources.xml and place
it in your merge directory.
-->
<!-- ========== Form Bean Definitions
=================================== -->
<form-beans>
<form-bean
name="userForm"
type="org.apache.webapp.forms.UserForm"
/>
<!--
If you have non XDoclet forms, define them in a file called
struts-forms.xml and
place it in your merge directory.
-->
</form-beans>
<!-- ========== Global Exceptions Definitions
=================================== -->
<!--
Define your exceptions in a file called global-exceptions.xml and
place
it in your merge directory.
-->
<!-- ========== Global Forward Definitions
=================================== -->
<global-forwards>
<!-- Default forward to "Welcome" action -->
<!-- Demonstrates using index.jsp to forward -->
<forward
name="welcome"
path="/welcome.do"/>
</global-forwards>
<!-- ========== Action Mapping Definitions
=================================== -->
<action-mappings>
<action
path="/editUser"
type="org.apache.webapp.actions.UserAction"
name="userForm"
scope="session"
parameter="action"
unknown="false"
validate="false"
>
</action>
<action
path="/saveUser"
type="org.apache.webapp.actions.UserAction"
name="userForm"
scope="session"
parameter="action"
unknown="false"
validate="true"
>
</action>
<!-- Default "welcome" action -->
<!-- Forwards to the mainMenu tile definition -->
<action
path="/welcome"
type="org.apache.struts.actions.ForwardAction"
parameter="mainMenu"/>
</action-mappings>
<!-- Define your Struts controller in a file called
struts-controller.xml and place it in your merge directory. -->
<message-resources parameter="ApplicationResources"/>
<!-- ========== Tiles plugin =================== -->
<plug-in className="org.apache.struts.tiles.TilesPlugin" >
<set-property property="definitions-config"
value="/WEB-INF/tiles-config.xml" />
<set-property property="moduleAware" value="true" />
<set-property property="definitions-parser-validate"
value="true" />
</plug-in>
<!-- ========== Validator plugin =================== -->
<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property
property="pathnames"
value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
</plug-in>
<!-- ========== Menu plugin ======================== -->
<plug-in className="com.fgm.web.menu.MenuPlugIn">
<set-property
property="menuConfig"
value="/WEB-INF/menu-config.xml"/>
</plug-in>