• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Unable to initialize Struts ActionServlet due to an unexpected exception

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Ranch Hand
Posts: 387
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?

 
Willie Smits can speak 40 languages. This tiny ad can speak only one:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic