aspose file tools*
The moose likes Struts and the fly likes NoClassDefFoundError with org.apache.struts.action.ActionServlet looking for PlugIn class in package Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "NoClassDefFoundError with org.apache.struts.action.ActionServlet looking for PlugIn class in package" Watch "NoClassDefFoundError with org.apache.struts.action.ActionServlet looking for PlugIn class in package" New topic
Author

NoClassDefFoundError with org.apache.struts.action.ActionServlet looking for PlugIn class in package

Sean Wachter
Greenhorn

Joined: Jul 10, 2012
Posts: 1
Good I've recently upgraded my Struts application from version 1.2 to 1.3.8. My applicaiton utilizes SpringFramework 3.0.6 and I'm running in WAS 8.0 and a configuration having a Multiple classloader policy defined. My application builds fine but when I go to deploy the application I recieve a NoClassDefFoundError during my servlet initialization.

I've played with my classpath for days trying to resolve the missing dependancy and I'm unable to resolve it. I've tried myultiple classpath configurations with my Struts libraries located in my EAR project lib/ folder as well as locating them in my WEB application WEB-INF/lib folder. I get the same result in both locations.

What is really wierd here is when I search for where the classes are located in my workspace the struts ActionServlet class is in the exact same Jar (struts-core-1.3.8.jar) and even package (org.apache.struts.action) as the class that the classLoader cannot find PlugIn. How can Websphere find my org.apache.struts.action.ActionServlet class to start to init() it, but cannot find the org.apache.struts.action.PlugIn class located in the same JAR? What might I be doing wrong here?






My servlet Initialization code in com.lmig.ecm.claimoverview.web.servlets.ClaimOverviewActionServlet.init(ClaimOverviewActionServlet.java:36) is simply calling a super.Init()



Thank you in advance for any suggestions or direction you might be able to provide.

Sean
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: NoClassDefFoundError with org.apache.struts.action.ActionServlet looking for PlugIn class in package