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

  1. ,
    Expert tip

    You might've forgot to add a dependency or it's written wrong. Also, you might be using incompatible versions of Java and Hibernate. More on this here: https://goo.gl/SjSlRA

  2. ,
    Expert tip

    If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add to your dependencies. To add it, the groupId is com.fasterxml and artifactId is Classmate.

Solutions on the web

via Oracle Community by schnudl, 1 year ago
Cannot instantiate class: com.sun.enterprise.naming.SerialInitContextFactory [Root exception is java.lang.ClassNotFoundException: com.sun.enterprise.naming.SerialInitContextFactory]
via Oracle Community by schnudl, 1 year ago
Cannot instantiate class: com.sun.enterprise.naming.SerialInitContextFactory [Root exception is java.lang.ClassNotFoundException: com.sun.enterprise.naming.SerialInitContextFactory]
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 Google Groups by Roberto, 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]
java.lang.ClassNotFoundException: com.sun.enterprise.naming.SerialInitContextFactory	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)	at java.security.AccessController.doPrivileged(Native Method)	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)	at java.lang.ClassLoader.loadClass(ClassLoader.java:303)	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)	at java.lang.Class.forName0(Native Method)	at java.lang.Class.forName(Class.java:247)	at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:46)	at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654)	at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)	at javax.naming.InitialContext.init(InitialContext.java:223)	at javax.naming.InitialContext.(InitialContext.java:197)	at ejbtest.Main.main(Main.java:44)