GeeCON Prague 2014*
The moose likes Struts and the fly likes struts.action.PlugIn Class cast issue in Struts on JBoss server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts.action.PlugIn Class cast issue in Struts on JBoss server" Watch "struts.action.PlugIn Class cast issue in Struts on JBoss server" New topic
Author

struts.action.PlugIn Class cast issue in Struts on JBoss server

Merwin Linus Pinto
Greenhorn

Joined: May 04, 2011
Posts: 1
I wrote a custom plugin for my application and pluged it into struts config xml. when i deploy the ear on Jboss i get a class cast exception.
Every thing seems fine. i have created my plugin as public class MyAppPlugin implements PlugIn { ...}
yet i dont understand why it says cannot be cast to org.apache.struts.action.PlugIn . I am working on JBoss 4.2.
Could that be an issue? please help

error:
com.util.MyAppPlugin cannot be cast to org.apache.struts.action.PlugIn
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:846)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
 
GeeCON Prague 2014
 
subject: struts.action.PlugIn Class cast issue in Struts on JBoss server