• 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

NoClassDefFoundError Problem

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there,

I am having a lot of trouble with Axis and Tomcat. (I had reinstalled it and spent over a day trying to recover what I'd done.)

I';m using Axis 1.1 and Tomcat 4.1

My classpath is (copied and pasted):
c:\axis\lib\axis.jar
c:\axis\lib\axis-ant.jar
c:\axis\lib\commons-discovery.jar
c:\axis\lib\commons-logging.jar
c:\axis\lib\jaxrpc.jar
c:\axis\lib\log4j-1.2.8.jar
c:\axis\lib\saaj.jar
c:\axis\lib\wsdl4j.jar
c:\axis\lib\xercesImpl.jar
c:\axis\lib\xmlParserApIs.jar
c:\Program Files\Apache Group\Tomcat 4.1\common\lib\servlet.jar
c:\ant\lib\xml-apis.jar
c:\ant\lib\xercesImpl.jar
c:\ant\lib\ant.jar
C:\Program Files\Apache Group\Tomcat 4.1\webapps\axis\WEB-INF
C:\Program Files\Apache Group\Tomcat 4.1\common\lib
c:\webexample04\buildlibs\ant\catalina-ant.jar
C:\Program Files\Apache Group\Tomcat 4.1\common\lib\servlet.jar
C:\Program Files\Apache Group\Tomcat 4.1\common\lib\xerces.jar

Everything looks fine on the happyaxis page. (The only thing not found is the XML ParserLocation.)

There are two problems:
The first problem that I am having is that since I have reinstalled axis, it is not looking at the webapps/axis folder under Tomcat. It is looking at the webapps/axis folder under my axis directory. How can I fix this?

Secondly, the problem I had before that caused me to reinstall axis:
I keep getting the dreaded NoClassDefFoundError. Even when I attempt to do the sample stock quote tutorial, I get the error in the command prompt. I am able to deploy the wsdd file and all is well on the axis deployed services page. But when it comes to trying to execute the client, I get the NoClassDefFoundError.

Can someone please help me get this on track so I can start to develop a web service. I would appreciate a quick response as I'm trying to get this done for part of my dissertation. (And I'm so frustrated... having looked at so many sites to try and solve it.)

cheers,
jenn
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic