• 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

java.lang.NoClassDef FoundError: javax/servlet/ ServletContext

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
While invoking the service from an DII axis client, Iam receiving an exception -



I could not get any clue why this is happening. Can any one point out why do I need servlet context while invoking a service ?
 
Ranch Hand
Posts: 539
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is a standard classpath issue - a required JAR isn't in the classpath.

Axis is hosted as a web application, as a servlet. It therefore needs the servlet JAR.

I'm not at my home computer or I could work out which JAR is missing - but it should be mentioned in the Axis doco - or compare your application with the Axis example apps.


-Tim
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For clarification

While invoking the service from an DII axis client, Iam receiving an exception -


did you get that exception on the client side or the server side?
Bill
reply
    Bookmark Topic Watch Topic
  • New Topic