java.lang.IncompatibleClassChangeError: Expected non-static field org.apache.naming.resources.FileDirContext.sm at org.apache.naming.resources.FileDirContext.file(FileDirContext.java:955) and on another with this: javax.ejb.EJBException: No EJBContainer provider available The following providers: org.glassfish.ejb.embedded.EJBContainerProviderImpl Returned null from createEJBContainer call.

Oracle Community | 392 Guest | 6 years ago
  1. 0

    Embedded GlassFish trunk not working

    Oracle Community | 6 years ago | 392 Guest
    java.lang.IncompatibleClassChangeError: Expected non-static field org.apache.naming.resources.FileDirContext.sm at org.apache.naming.resources.FileDirContext.file(FileDirContext.java:955) and on another with this: javax.ejb.EJBException: No EJBContainer provider available The following providers: org.glassfish.ejb.embedded.EJBContainerProviderImpl Returned null from createEJBContainer call.
  2. 0

    Embedded GlassFish trunk not working

    Oracle Community | 6 years ago | 392 Guest
    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) >
  3. 0

    Embedded GlassFish trunk not working

    Oracle Community | 6 years ago | 392 Guest
    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) >>> >>>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Embedded GlassFish trunk not working

    Oracle Community | 6 years ago | 392 Guest
    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) >> >>
  6. 0

    Embedded GlassFish trunk not working

    Oracle Community | 6 years ago | 392 Guest
    java.lang.RuntimeException: EJB Container initialization error

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IncompatibleClassChangeError

      Expected non-static field org.apache.naming.resources.FileDirContext.sm at org.apache.naming.resources.FileDirContext.file(FileDirContext.java:955) and on another with this: javax.ejb.EJBException: No EJBContainer provider available The following providers: org.glassfish.ejb.embedded.EJBContainerProviderImpl Returned null from createEJBContainer call.

      at javax.ejb.embeddable.EJBContainer.reportError()
    2. JavaEE 7
      EJBContainer.createEJBContainer
      1. javax.ejb.embeddable.EJBContainer.reportError(EJBContainer.java:200)
      2. javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:135)
      2 frames