javax.naming.NoInitialContextException: Cannot instantiate class: orj.jboss.naming.remote.client.InitialContextFactory [Root exception is java.lang.ClassNotFoundException: orj.jboss.naming.remote.client.InitialContextFactory]

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

,
via netty.io by Unknown author

Needs to add netty-transport-native-epoll with a OS classifier to the classpath, it's not included in netty-all

,
via askubuntu.com by Unknown author

Set the path for java. Try to look it from here.

Solutions on the web

via Stack Overflow by khalid
, 1 year ago
Cannot instantiate class: orj.jboss.naming.remote.client.InitialContextFactory [Root exception is java.lang.ClassNotFoundException: orj.jboss.naming.remote.client.InitialContextFactory]
via Stack Overflow by user2572526
, 2 years ago
Cannot instantiate class: org.jboss.naming.remote.client.InitialContextFactory [Root exception is java.lang.ClassNotFoundException: org.jboss.naming.remote.client.InitialContextFactory]
via theserverside.com by Unknown author, 1 year 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 ]
via Oracle Community by acayci-Oracle, 1 year ago
Cannot instantiate class: com.evermind.server.ApplicationClientInitialContextFactory [Root exception is java.lang.ClassNotFoundException: com.evermind.server.ApplicationClientInitialContextFactory]
via Stack Overflow by sri
, 2 years ago
Cannot instantiate class: com.ibm.websphere.naming.WsnInitialContextFactory [Root exception is java.lang.ClassNotFoundException: com.ibm.websphere.naming.WsnInitialContextFactory]
javax.naming.NoInitialContextException: Cannot instantiate class: orj.jboss.naming.remote.client.InitialContextFactory [Root exception is java.lang.ClassNotFoundException: orj.jboss.naming.remote.client.InitialContextFactory]
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.sun.naming.internal.VersionHelper12.loadClass(Unknown Source)
at com.sun.naming.internal.VersionHelper12.loadClass(Unknown Source)
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.(Unknown Source)
at undefined.ReceveurJMS.(ReceveurJMS.java:44)
at undefined.ReceveurJMS.main(ReceveurJMS.java:91)

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
1578 more bugmates

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