java.lang.NoSuchMethodError: com.sun.enterprise.modul e.ModulesRegistry.createServiceLocator(Ljava/lang/String;)Lorg/glassfish/hk2/api /ServiceLocator;

baculsoft.com | 2 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    A Simple Java Client Server Application using EJB 3 and Glassfish 3 | edwin's blog

    baculsoft.com | 2 months ago
    java.lang.NoSuchMethodError: com.sun.enterprise.modul e.ModulesRegistry.createServiceLocator(Ljava/lang/String;)Lorg/glassfish/hk2/api /ServiceLocator;

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      com.sun.enterprise.modul e.ModulesRegistry.createServiceLocator(Ljava/lang/String;)Lorg/glassfish/hk2/api /ServiceLocator;

      at org.glassfish.internal.api.Globals.getStaticHabitat()
    2. Private APIs of Glassfish
      Globals.getStaticHabitat
      1. org.glassfish.internal.api.Globals.getStaticHabitat(Globals.java:102)
      1 frame
    3. Glassfish Naming
      SerialInitContextFactory.<init>
      1. com.sun.enterprise.naming.impl.SerialInitContextFactory.<init>(SerialInitContextFactory.java:130)
      2. com.sun.enterprise.naming.SerialInitContextFactory.<init>(SerialInitContextFactory.java:62)
      2 frames
    4. Java RT
      InitialContext.<init>
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      4. java.lang.reflect.Constructor.newInstance(Unknown Source)
      5. java.lang.Class.newInstance0(Unknown Source)
      6. java.lang.Class.newInstance(Unknown Source)
      7. javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
      8. javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
      9. javax.naming.InitialContext.init(Unknown Source)
      10. javax.naming.InitialContext.<init>(Unknown Source)
      10 frames
    5. com.edw.main
      Main.main
      1. com.edw.main.Main.connect(Main.java:26)
      2. com.edw.main.Main.main(Main.java:37)
      2 frames