2 Replies Latest reply on Jun 25, 2004 1:40 PM by Yesenia Trujillo Ramirez

    HELP-PLEASE

    Yesenia Trujillo Ramirez Newbie

      Some one can help me with this, bucuse i don't undestand at all of the text say me, When I compile the Clien .java file do't send meerrors buy When I tyry to run it the console, display me this lines.

      Desarrollo:~ # java Client
      Creating jndi context - alternatively use a jndi.properties
      Exception in thread "main" javax.naming.NoInitialContextException: Cannot instan
      tiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lan
      g.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory]
      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6 52)
      at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243 )
      at javax.naming.InitialContext.init(InitialContext.java:219)
      at javax.naming.InitialContext.(InitialContext.java:195)
      at Client.main(Client.java:26)
      Caused by: java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFac tory
      at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:219)
      at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.jav a:42)
      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6 49)
      ... 4 more


      Please I need yuor help!!!
      Yesenia.

        • 1. HELP-PLEASE
          Yesenia Trujillo Ramirez Newbie

          Some one can help me with this, bucuse i don't undestand at all of the text say me, When I compile the Clien .java file do't send meerrors buy When I tyry to run it the console, display me this lines.

          Desarrollo:~ # java Client
          Creating jndi context - alternatively use a jndi.properties
          Exception in thread "main" javax.naming.NoInitialContextException: Cannot instan
          tiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lan
          g.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory]
          at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6 52)
          at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243 )
          at javax.naming.InitialContext.init(InitialContext.java:219)
          at javax.naming.InitialContext.(InitialContext.java:195)
          at Client.main(Client.java:26)
          Caused by: java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFac tory
          at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
          at java.security.AccessController.doPrivileged(Native Method)
          at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
          at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
          at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
          at java.lang.Class.forName0(Native Method)
          at java.lang.Class.forName(Class.java:219)
          at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.jav a:42)
          at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6 49)
          ... 4 more


          Please I need yuor help!!!
          Yesenia.

          • 2. Re: HELP-PLEASE
            Yesenia Trujillo Ramirez Newbie

             

            "try_yess" wrote:
            Some one can help me with this, bucuse i don't undestand at all of the text say me, When I compile the Client .java file do't send meerrors buy When I tyry to run it the console, display me this lines.

            Desarrollo:~ # java Client
            Creating jndi context - alternatively use a jndi.properties
            Exception in thread "main" javax.naming.NoInitialContextException: Cannot instan
            tiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lan
            g.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory]
            at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6 52)
            at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243 )
            at javax.naming.InitialContext.init(InitialContext.java:219)
            at javax.naming.InitialContext.<init>(InitialContext.java:195)
            at Client.main(Client.java:26)
            Caused by: java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFac tory
            at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:219)
            at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.jav a:42)
            at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6 49)
            ... 4 more


            Please I need yuor help!!!
            Yesenia.