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

    java.lang.NoClassDefFoundError:javax/net/SocketFactory

    sripad

      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:
      javax/net/SocketFactory
      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
      os:win2k
      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).

      Thx
      Sripad