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.

    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