Run a Java packaged inside a Jar

Discussion in 'Java' started by cnadella@gmail.com, Apr 28, 2005.

  1. Guest

    I am new to Java and I am working on web services directly. I have a
    quick question to you gurus. I want to run the command

    java org.apache.axis.client.AdminClient

    but i get a error saying

    Exception in thread "main" java.lang.NoClassDefFoundError:
    javax/xml/rpc/ServiceException


    and my classpath settings are as below.

    CLASSPATH=.;C:\oracle\ora91\jdbc\lib\classes12.jar;C:\oracle\ora91\BIN;C:\TIBCO\TIBRV\LIB\tibrvj.jar;C:\TIBCO\im450\java\fesi.jar;
    C:\TIBCO\im450\bin;C:\Software\Mhe\applications\lib\axis.jar

    Can some one please tell me what am i doing wrong here?

    Thank you,

    Srinivasa Nadella.
     
    , Apr 28, 2005
    #1
    1. Advertising

  2. enrique Guest

    It looks like the following class:

    javax/xml/rpc/ServiceException

    cannot be located in any of the JARs listed in your classpath:

    CLASSPATH=.;C:\oracle\ora91\jdbc\lib\classes12.jar;C:\oracle\ora91\BIN;C:\TIBCO\TIBRV\LIB\tibrvj.jar;C:\TIBCO\im450\java\fesi.jar;
    C:\TIBCO\im450\bin;C:\Software\Mhe\applications\lib\axis.jar

    So modify your classpath to include the JAR that includes this missing
    class.
     
    enrique, Apr 28, 2005
    #2
    1. Advertising

  3. Ross Bamford Guest

    On Thu, 2005-04-28 at 14:29 -0700, wrote:
    > I am new to Java and I am working on web services directly. I have a
    > quick question to you gurus. I want to run the command
    >
    > java org.apache.axis.client.AdminClient
    >
    > but i get a error saying
    >
    > Exception in thread "main" java.lang.NoClassDefFoundError:
    > javax/xml/rpc/ServiceException
    >
    >
    > and my classpath settings are as below.
    >
    > CLASSPATH=.;C:\oracle\ora91\jdbc\lib\classes12.jar;C:\oracle\ora91\BIN;C:\TIBCO\TIBRV\LIB\tibrvj.jar;C:\TIBCO\im450\java\fesi.jar;
    > C:\TIBCO\im450\bin;C:\Software\Mhe\applications\lib\axis.jar
    >
    > Can some one please tell me what am i doing wrong here?
    >
    > Thank you,
    >
    > Srinivasa Nadella.
    >


    This is a J2EE class, and is bundled with the WSDP too. Specifically,
    you'll need to add the path to the developer pack Jars to your
    classpath.

    --
    [Ross A. Bamford] [ross AT the.website.domain]
    Roscopeco Open Tech ++ Open Source + Java + Apache + CMF
    http://www.roscopec0.f9.co.uk/ + in
     
    Ross Bamford, Apr 29, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jeff Gaynor
    Replies:
    2
    Views:
    341
    Jeff Gaynor
    Jul 14, 2004
  2. numlock
    Replies:
    8
    Views:
    426
    numlock
    Jul 29, 2004
  3. Arnold Peters
    Replies:
    0
    Views:
    589
    Arnold Peters
    Jan 5, 2005
  4. muttley
    Replies:
    0
    Views:
    2,734
    muttley
    Oct 20, 2005
  5. cyberco
    Replies:
    4
    Views:
    3,782
    Roedy Green
    Feb 14, 2006
Loading...

Share This Page