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 Oracle Community by 392 Guest, 1 year ago
Expected non-static >>> field org.apache.naming.resources.FileDirContext.sm >>> at >>> org.apache.naming.resources.FileDirContext.file(FileDirContext.java:955) >>> at >>> org.apache.naming.resources.FileDirContext.file(FileDirContext.java:870
java.lang.IncompatibleClassChangeError: Expected non-static >> field org.apache.naming.resources.FileDirContext.sm >>
at >> org.apache.naming.resources.FileDirContext.file(FileDirContext.java:955) >>
at >> org.apache.naming.resources.FileDirContext.file(FileDirContext.java:870) >>
at >> org.apache.naming.resources.FileDirContext.lookup(FileDirContext.java:280) >> >>
at >> org.glassfish.web.loader.WebappClassLoader.findResourceInternalFromRepositories(WebappClassLoader.java:2109) >> >>
at >> org.glassfish.web.loader.WebappClassLoader.findResourceInternal(WebappClassLoader.java:2064) >> >>
at >> org.glassfish.web.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1956) >> >>
at >> org.glassfish.web.loader.WebappClassLoader.findClass(WebappClassLoader.java:895) >> >>
at >> org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1465) >> >>
at >> org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1348) >> >>	at java.lang.Class.forName0(Native Method)	at java.lang.Class.forName(Class.java:247)	at java.lang.Package.getPackageInfo(Package.java:352)	at java.lang.Package.getAnnotations(Package.java:383)