1 Reply Latest reply on Sep 1, 2002 4:49 PM by Adrian Brock

    firts steps (faulty!)

    Luigi Fonti Newbie

      I am a jboss novice. I have a Windows XP system.
      Following the suggestions, I have installed (and tested)
      ANT first. Then I have installed Jboss binary distribution (with jetty). The server is running.
      Finally I have downloaded and unpacked the first examples (documentatione-example.zip).
      I have successfuly built and deployed the Interest bean.
      As last step I tried to build the client InterestClient,
      using the command: ant intro-interest-client
      And here I have got a NoClassDefFoundError; the following
      is the ant output:
      --------------------------------------------------------
      Buildfile: build.xml

      validate-servlet:

      validate-jboss:

      fail_if_not_valid:

      init:
      [echo] Using JBoss directory=c:\jboss-3.0.2
      [echo] Using base classpath=C:\jboss-3.0.2\client\jboss-j2ee.jar;
      C:\jboss-3.0.2\client\jaas.jar;
      C:\jboss-3.0.2\client\jbosssx-client.jar;
      C:\jboss-3.0.2\client\jboss-client.jar;
      C:\jboss-3.0.2\client\jnp-client.jar;
      C:\examples\COULD_NOT_FIND_SERVLET_JAR
      [echo] Using Source directory=C:\examples
      [echo] Using Build directory=C:\examples/build-examples

      intro-interest-client:

      compile:

      interest-client:
      [java] java.lang.NoClassDefFoundError: org/jboss/logging/Logger
      [java] at org.jnp.interfaces.NamingContext.(NamingContext.java:89)
      [java] at org.jnp.interfaces.NamingContextFactory.getInitialContext(NamingContextFactory.java:42)
      [java] at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
      [java] at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
      [java] at javax.naming.InitialContext.init(InitialContext.java:219)
      [java] at javax.naming.InitialContext.(InitialContext.java:175)
      [java] at org.jboss.docs.interest.InterestClient.main(InterestClient.java:27)
      [java] Exception in thread "main"

      BUILD SUCCESSFUL
      Total time: 2 seconds
      --------------------------------------------------------

      Could you help me ?
      Luigi Fonti