javax.naming.NoInitialContextException: Cannot instantiate class: or g.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoun dException: org.jnp.interfaces.NamingContextFactory] At line:1 char:5 + java <<<<  -jar AppClient.jar + CategoryInfo          : NotSpecified: (javax.naming.No...ContextFactory]    :String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via jboss.org by Unknown author, 1 year ago
Cannot instantiate class: or g.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoun dException: org.jnp.interfaces.NamingContextFactory] At line:1 char:5 + java <<<<  -jar AppClient.jar + CategoryInfo          : NotSpecified: (javax.naming.No...ContextFactory]    :String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError
via jboss.org by Unknown author, 1 year ago
Cannot instantiate class: or g.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoun dException: org.jnp.interfaces.NamingContextFactory] At line:1 char:5 + java <<<<  -jar AppClient.jar + CategoryInfo          : NotSpecified: (javax.naming.No...ContextFactory]    :String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError
via nabble.com by Unknown author, 1 year ago
Cannot instantiate class: com.sun.enterprise.naming.impl.SerialInitContextFactory [Root exception is java.lang.ClassNotFoundException: com.sun.enterprise.naming.impl.SerialInitContextFactory]
via Oracle Community by 843811, 4 months ago
Cannot instantiate class: com.sun.enterprise.naming.SerialInitContextFactory [Root exception is java.lang.NullPointerException]
via Stack Overflow by Mayur
, 7 months ago
Cannot instantiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory]
via jboss.org by Unknown author, 1 year ago
Cannot instantiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory ]
javax.naming.NoInitialContextException: Cannot instantiate class: or g.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoun dException: org.jnp.interfaces.NamingContextFactory] At line:1 char:5 + java <<<<  -jar AppClient.jar + CategoryInfo          : NotSpecified: (javax.naming.No...ContextFactory]    :String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.(InitialContext.java:197)
at util.Contexto.(Contexto.java:22)
at mesa_entrada.IdPaciente.setContexto(IdPaciente.java:1627)
at mesa_entrada.IdPaciente.(IdPaciente.java:185)
at principal.Escritorio$2.actionPerformed(Escritorio.java:206)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
52 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.