5 Replies Latest reply on Jul 11, 2002 7:47 PM by ron alexander

    java.lang.NoClassDefFoundError: javax/net/SocketFactory

    Alex Chan Newbie

      I try to compile jboss examples - Interest and compile its client application by command "ant intro-interest-client" and got the following error

      compile:

      interest-client:
      [java] java.lang.NoClassDefFoundError: javax/net/SocketFactory
      [java] at org.jnp.interfaces.NamingContextFactory.getInitialContext(Nam
      ingContextFactory.java:38)
      [java] at javax.naming.spi.NamingManager.getInitialContext(NamingManage
      r.java:668)
      [java] at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.
      java:246)
      [java] at javax.naming.InitialContext.init(InitialContext.java:222)
      [java] at javax.naming.InitialContext.(InitialContext.java:178)
      [java] at org.jboss.docs.interest.InterestClient.main(InterestClient.ja
      va:27)
      [java] Exception in thread "main"
      [java] Java Result: 1