You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Donowho, Warren" <wd...@ti.com> on 2003/07/29 20:52:20 UTC

Receiving an AbstractMethodError while trying to use a PlugIn

I am trying to use a PlugIn to initialize an application.  I have looked at
the example supplied with Struts and I even looked at the ValidatorPlugIn.
This looks like it should be a simple task, but I am getting a dump.  I am
running on Tomcat 4.1.24 and using Struts 1.1.  I have implemented the init
and destroy methods.  A portion of the dump is shown below.  Any help would
be appreciated.

java.lang.AbstractMethodError:
com.ti.scbit.dlpqra.action.TestPlugIn.init(Lorg/apache/struts/action/ActionS
ervlet;Lorg/apache/struts/config/ApplicationConfig;)V
	at
org.apache.struts.action.ActionServlet.initApplicationPlugIns(ActionServlet.
java:991)
	at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:458)
	at javax.servlet.GenericServlet.init(GenericServlet.java:256)
	at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:93
5)
	.....

Regards,
Warren Donowho

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Receiving an AbstractMethodError while trying to use a PlugIn

Posted by "Craig R. McClanahan" <cr...@apache.org>.
Sounds like you've got a bad combination of JAR files -- for the released
version of Struts 1.1, use ***all*** the JARs from that "lib" directory,
for both compilation and inclusion in your webapp.

Craig

On Tue, 29 Jul 2003, Donowho, Warren wrote:

> Date: Tue, 29 Jul 2003 13:52:20 -0500
> From: "Donowho, Warren" <wd...@ti.com>
> Reply-To: Struts Users Mailing List <st...@jakarta.apache.org>
> To: "'struts-user@jakarta.apache.org'" <st...@jakarta.apache.org>
> Subject: Receiving an AbstractMethodError while trying to use a PlugIn
>
> I am trying to use a PlugIn to initialize an application.  I have looked at
> the example supplied with Struts and I even looked at the ValidatorPlugIn.
> This looks like it should be a simple task, but I am getting a dump.  I am
> running on Tomcat 4.1.24 and using Struts 1.1.  I have implemented the init
> and destroy methods.  A portion of the dump is shown below.  Any help would
> be appreciated.
>
> java.lang.AbstractMethodError:
> com.ti.scbit.dlpqra.action.TestPlugIn.init(Lorg/apache/struts/action/ActionS
> ervlet;Lorg/apache/struts/config/ApplicationConfig;)V
> 	at
> org.apache.struts.action.ActionServlet.initApplicationPlugIns(ActionServlet.
> java:991)
> 	at
> org.apache.struts.action.ActionServlet.init(ActionServlet.java:458)
> 	at javax.servlet.GenericServlet.init(GenericServlet.java:256)
> 	at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:93
> 5)
> 	.....
>
> Regards,
> Warren Donowho
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org