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

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 baculsoft.com by Unknown author, 1 year ago
com.sun.enterprise.modul e.ModulesRegistry.createServiceLocator(Ljava/lang/String;)Lorg/glassfish/hk2/api /ServiceLocator;
java.lang.NoSuchMethodError: com.sun.enterprise.modul e.ModulesRegistry.createServiceLocator(Ljava/lang/String;)Lorg/glassfish/hk2/api /ServiceLocator;
at com.sun.enterprise.naming.impl.SerialInitContextFactory.(SerialInitContextFactory.java:130)
at com.sun.enterprise.naming.SerialInitContextFactory.(SerialInitContextFactory.java:62)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.(Unknown Source)
at com.edw.main.Main.connect(Main.java:26)
at com.edw.main.Main.main(Main.java:37)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.