javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory.  Root exception is java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via compiere by bongout
, 1 year ago
Cannot instantiate class: org.jnp.interfaces.NamingContextFactoryRoot exception is java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory
via Oracle Community by 843830, 1 year ago
Cannot instantiate class: com.swiftmq.jndi.InitialContextFactoryImpl. Root exception is java.lang.ClassNotFoundException: com.swiftmq.jndi.InitialContextFactoryImpl
via Oracle Community by 843829, 1 year ago
Cannot instantiate class: InitialContext. Root exception is java.lang.ClassNotFoundException: InitialContext
via Oracle Community by 807581, 1 year ago
Cannot instantiate class: com.sun.enterprise.naming.SerialInitContextFactory. Root exception is java.lang.ClassNotFoundException: com.sun.enterprise.naming.SerialInitContextFactory
via Coderanch by Graham Thorpe, 1 year ago
Cannot instantiate class: com.ibm.websph ere.naming.WsnInitialContextFactory. Root exception is java.lang.ClassNotFoundE xception: com.ibm.websphere.naming.WsnInitialContextFactory
via Oracle Community by 843802, 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: org.jnp.interfaces.NamingContextFactory.  Root exception is java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:272)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:217)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:42)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:649)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.(InitialContext.java:195)
at org.jboss.Shutdown.main(Shutdown.java:179)

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

Write tip

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