4 Replies Latest reply on Aug 17, 2002 11:00 AM by Sripad Devaraju


    Sripad Devaraju Newbie

      Hi guys,
      I am new to ejb and jboss.I am working with a session been.i Deployeed that been. but while compiling client I am facing follwing Exceptions.

      Exception in thread "main" java.lang.NoClassDefFoundError:
      at org.jnp.interfaces.NamingContextFactory.getInitialContext(NamingContextFactory.java:38)
      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:665)
      at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
      at javax.naming.InitialContext.init(InitialContext.java:222)
      at javax.naming.InitialContext.(InitialContext.java:178)
      at org.jboss.docs.interest.InterestClient.main(InterestClient.java:27)
      Exception in thread "main"

      my working environ ment is as follows
      ejb Container:jboss-3.0.0_tomcat-4.0.3

      I would be thankful to you if you coud give at least a generalised solution(i.e like what might be the reasons for this type of exceptions).