aspose file tools*
The moose likes Struts and the fly likes Unable to initialize Struts ActionServlet due to an unexpected exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Unable to initialize Struts ActionServlet due to an unexpected exception" Watch "Unable to initialize Struts ActionServlet due to an unexpected exception" New topic
Author

Unable to initialize Struts ActionServlet due to an unexpected exception

Ronald Mee
Greenhorn

Joined: Jul 05, 2007
Posts: 15
Unable to initialize Struts ActionServlet due to an unexpected exception or error thrown, so marking the servlet as unavailable. Most likely, this is due to an incorrect or missing library dependency.

I got the above error..when i try to run a struts application..
anyone have any idea what could be the problem?
Herman Schelti
Ranch Hand

Joined: Jul 17, 2006
Posts: 387
hi Ronald,

most likely you will have to add this missing library.

(or else show use the real errormessage, sometimes that helps.)

Herman
Ronald Mee
Greenhorn

Joined: Jul 05, 2007
Posts: 15
the previous problem is being resolved


now i am having another problem

when i try to run the .do file i got this error..

java.lang.UnsupportedClassVersionError: Bad version number in .class file


any idea?
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
This error occurs when there is a problem with Java SDK versions. For example, it could occur if you had compiled the class under SDK 1.5 or 1.6, and then tried to run it in an Application Server that is running under SDK 1.4.

You can still use the higher release compiler as long as you specify

-target 1.4

as a compile option.


Merrill
Consultant, Sima Solutions
Gayan Herath
Greenhorn

Joined: Dec 09, 2009
Posts: 7
hi ronald,
How did you resolved the previous problem? I am having the same problem.

Gayan Herath


Ronald Mee wrote:the previous problem is being resolved


now i am having another problem

when i try to run the .do file i got this error..

java.lang.UnsupportedClassVersionError: Bad version number in .class file


any idea?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to initialize Struts ActionServlet due to an unexpected exception
 
Similar Threads
Getting Deployment Exception in webphere
Exception while using struts 1.3 with myeclipse 6.0.1
StrutsTestCase problem
can't find digester method
Unable to initialize Struts ActionServlet