java.lang.NoSuchMethodError

com.google.common.collect.ImmutableSet.copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableSet;

Solutions on the web11244

  • com.google.common.collect.ImmutableSet.copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableSet;
  • com.google.common.collect.ImmutableSet.copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableSet;
  • via codedmi.com by Unknown author, 1 year ago
    com.google.common.collect.ImmutableSet.copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableSet;
  • Stack trace

    • java.lang.NoSuchMethodError: com.google.common.collect.ImmutableSet.copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableSet; at com.google.inject.internal.InstanceBindingImpl.<init>(InstanceBindingImpl.java:51) at com.google.inject.internal.BindingBuilder.toInstance(BindingBuilder.java:95) at com.google.inject.internal.InjectorShell$RootModule.configure(InjectorShell.java:329) at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:229) at com.google.inject.spi.Elements.getElements(Elements.java:103) at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:136) at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104) at com.google.inject.Guice.createInjector(Guice.java:94) at com.google.inject.Guice.createInjector(Guice.java:71) at com.google.inject.Guice.createInjector(Guice.java:61) at org.codehaus.plexus.DefaultPlexusContainer.addPlexusInjector(DefaultPlexusContainer.java:477) at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:203) at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:167) at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:161) at org.codehaus.groovy.grails.resolve.maven.aether.AetherDependencyManager.<init>(AetherDependencyManager.groovy:158) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at java.lang.Class.newInstance(Class.java:374) at org.codehaus.groovy.grails.resolve.DependencyManagerConfigurer.loadAetherDependencyManager(DependencyManagerConfigurer.groovy:75) at org.codehaus.groovy.grails.resolve.DependencyManagerConfigurer.configureAether(DependencyManagerConfigurer.groovy:48) at grails.util.BuildSettings.configureDependencyManager(BuildSettings.groovy:1279) at grails.util.BuildSettings.postLoadConfig(BuildSettings.groovy:1219) at grails.util.BuildSettings.loadConfig(BuildSettings.groovy:1115) at grails.util.BuildSettings.loadConfig(BuildSettings.groovy:1087) at grails.util.BuildSettings.loadConfig(BuildSettings.groovy) at grails.util.BuildSettings.loadConfig(BuildSettings.groovy:1073) at grails.util.BuildSettings.loadConfig(BuildSettings.groovy) at grails.util.BuildSettings$loadConfig$0.callCurrent(Unknown Source) at grails.util.BuildSettings.loadConfig(BuildSettings.groovy:1053) at grails.util.BuildSettings.loadConfig(BuildSettings.groovy) at org.grails.ide.api.impl.GrailsConnectorImpl.ensureInitialized(GrailsConnectorImpl.java:123) at org.grails.ide.api.impl.GrailsConnectorImpl.executeCommand(GrailsConnectorImpl.java:153) at org.grails.ide.eclipse.longrunning.process.GrailsProcess.run(GrailsProcess.java:130) at org.grails.ide.eclipse.longrunning.process.GrailsProcess.main(GrailsProcess.java:93) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.groovy.grails.cli.support.GrailsStarter.rootLoader(GrailsStarter.java:236) at org.codehaus.groovy.grails.cli.support.GrailsStarter.main(GrailsStarter.java:264)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago