com.google.inject.ProvisionException: Guice provision errors: 1) No implementation for org.sonatype.security.web.ProtectedPathManager was bound. while locating org.sonatype.nexus.rest.NexusApplication 1 error

Sonatype JIRA | Rich Seddon | 6 years ago
  1. 0

    Nexus 1.9 war file doesn't deploy in Resin 3.1.10. I tried an older version (1.4.1, pre-guice) and it works fine in same container. {noformat} 2011-01-14 13:45:07 WARN [main ] - org.codehaus.plexus.PlexusContainer - Error initializing: class org.sonatype.nexus.DefaultNexus java.lang.NullPointerException at org.sonatype.nexus.DefaultNexus.initialize(DefaultNexus.java:607) at org.codehaus.plexus.PlexusLifecycleManager.initialize(PlexusLifecycleManager.java:265) at org.codehaus.plexus.PlexusLifecycleManager.manageLifecycle(PlexusLifecycleManager.java:227) at org.codehaus.plexus.PlexusLifecycleManager.manage(PlexusLifecycleManager.java:134) at org.sonatype.guice.plexus.binders.PlexusBeanBinder.afterInjection(PlexusBeanBinder.java:79) at com.google.inject.internal.MembersInjectorImpl.notifyListeners(MembersInjectorImpl.java:97) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:95) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:253) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:949) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1002) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:945) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:984) at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:48) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1002) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:949) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:995) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:945) at org.sonatype.guice.bean.locators.LazyQualifiedBean.getValue(LazyQualifiedBean.java:66) at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:54) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:247) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:239) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:233) at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:48) at com.caucho.server.webapp.WebApp.start(WebApp.java:1866) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659) at com.caucho.server.host.Host.start(Host.java:450) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.host.HostContainer.start(HostContainer.java:484) at com.caucho.server.cluster.Server.start(Server.java:1319) at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710) at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:542) at com.caucho.server.resin.Resin.start(Resin.java:703) at com.caucho.server.resin.Resin.initMain(Resin.java:1162) at com.caucho.server.resin.Resin.main(Resin.java:1365) 2011-01-14 13:45:07 ERROR [main ] - org.sonatype.guice.bean.reflect.NamedClass - Error injecting: org.sonatype.nexus.DefaultNexus com.google.inject.ProvisionException: Guice provision errors: 1) No implementation for org.sonatype.nexus.plugins.NexusPluginManager was bound. while locating org.sonatype.nexus.DefaultNexus 2) Error notifying InjectionListener org.sonatype.guice.plexus.binders.PlexusBeanBinder@14ef239 of org.sonatype.nexus.DefaultNexus. Reason: java.lang.NullPointerException while locating org.sonatype.nexus.DefaultNexus 2 errors at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:958) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:984) at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:48) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1002) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:949) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:995) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:945) at org.sonatype.guice.bean.locators.LazyQualifiedBean.getValue(LazyQualifiedBean.java:66) at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:54) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:247) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:239) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:233) at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:48) at com.caucho.server.webapp.WebApp.start(WebApp.java:1866) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659) at com.caucho.server.host.Host.start(Host.java:450) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.host.HostContainer.start(HostContainer.java:484) at com.caucho.server.cluster.Server.start(Server.java:1319) at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710) at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:542) at com.caucho.server.resin.Resin.start(Resin.java:703) at com.caucho.server.resin.Resin.initMain(Resin.java:1162) at com.caucho.server.resin.Resin.main(Resin.java:1365) Caused by: java.lang.NullPointerException at org.sonatype.nexus.DefaultNexus.initialize(DefaultNexus.java:607) at org.codehaus.plexus.PlexusLifecycleManager.initialize(PlexusLifecycleManager.java:265) at org.codehaus.plexus.PlexusLifecycleManager.manageLifecycle(PlexusLifecycleManager.java:227) at org.codehaus.plexus.PlexusLifecycleManager.manage(PlexusLifecycleManager.java:134) at org.sonatype.guice.plexus.binders.PlexusBeanBinder.afterInjection(PlexusBeanBinder.java:79) at com.google.inject.internal.MembersInjectorImpl.notifyListeners(MembersInjectorImpl.java:97) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:95) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:253) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:949) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1002) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:945) ... 35 more 2011-01-14 13:45:07 WARN [main ] - com.caucho.server.webapp.WebApp - java.lang.IllegalStateException: Could not initialize Nexus. java.lang.IllegalStateException: Could not initialize Nexus. at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:58) at com.caucho.server.webapp.WebApp.start(WebApp.java:1866) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659) at com.caucho.server.host.Host.start(Host.java:450) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.host.HostContainer.start(HostContainer.java:484) at com.caucho.server.cluster.Server.start(Server.java:1319) at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710) at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:542) at com.caucho.server.resin.Resin.start(Resin.java:703) at com.caucho.server.resin.Resin.initMain(Resin.java:1162) at com.caucho.server.resin.Resin.main(Resin.java:1365) Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: com.google.inject.ProvisionException: Guice provision errors: 1) Error injecting: org.sonatype.nexus.DefaultNexus at ClassRealm[plexus.core, parent: null] at ClassRealm[plexus.core, parent: null] while locating org.sonatype.nexus.Nexus 1 error role: org.sonatype.nexus.Nexus roleHint: at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:251) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:239) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:233) at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:48) ... 18 more Caused by: com.google.inject.ProvisionException: Guice provision errors: 1) Error injecting: org.sonatype.nexus.DefaultNexus at ClassRealm[plexus.core, parent: null] at ClassRealm[plexus.core, parent: null] while locating org.sonatype.nexus.Nexus 1 error at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:958) at org.sonatype.guice.bean.locators.LazyQualifiedBean.getValue(LazyQualifiedBean.java:66) at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:54) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:247) ... 21 more Caused by: com.google.inject.ProvisionException: Guice provision errors: 1) No implementation for org.sonatype.nexus.plugins.NexusPluginManager was bound. while locating org.sonatype.nexus.DefaultNexus 2) Error notifying InjectionListener org.sonatype.guice.plexus.binders.PlexusBeanBinder@14ef239 of org.sonatype.nexus.DefaultNexus. Reason: java.lang.NullPointerException while locating org.sonatype.nexus.DefaultNexus 2 errors at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:958) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:984) at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:48) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1002) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:949) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:995) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:945) ... 24 more Caused by: java.lang.NullPointerException at org.sonatype.nexus.DefaultNexus.initialize(DefaultNexus.java:607) at org.codehaus.plexus.PlexusLifecycleManager.initialize(PlexusLifecycleManager.java:265) at org.codehaus.plexus.PlexusLifecycleManager.manageLifecycle(PlexusLifecycleManager.java:227) at org.codehaus.plexus.PlexusLifecycleManager.manage(PlexusLifecycleManager.java:134) at org.sonatype.guice.plexus.binders.PlexusBeanBinder.afterInjection(PlexusBeanBinder.java:79) at com.google.inject.internal.MembersInjectorImpl.notifyListeners(MembersInjectorImpl.java:97) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:95) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:253) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:949) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1002) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:945) ... 35 more 2011-01-14 13:45:07 ERROR [main ] - org.apache.shiro.web.servlet.AbstractFilter - Unable to start Filter: [java.util.NoSuchElementException role: org.sonatype.security.configuration.SecurityConfigurationManager roleHint: ]. org.codehaus.plexus.component.repository.exception.ComponentLookupException: java.util.NoSuchElementException role: org.sonatype.security.configuration.SecurityConfigurationManager roleHint: at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:251) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:239) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:233) at org.sonatype.security.web.ShiroSecurityFilter.configure(ShiroSecurityFilter.java:72) at org.apache.shiro.web.servlet.IniShiroFilter.init(IniShiroFilter.java:292) at org.apache.shiro.web.servlet.AbstractShiroFilter.onFilterConfigSet(AbstractShiroFilter.java:83) at org.apache.shiro.web.servlet.AbstractFilter.init(AbstractFilter.java:94) at com.caucho.server.dispatch.FilterManager.createFilter(FilterManager.java:144) at com.caucho.server.dispatch.FilterManager.init(FilterManager.java:91) at com.caucho.server.webapp.WebApp.start(WebApp.java:1873) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659) at com.caucho.server.host.Host.start(Host.java:450) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.host.HostContainer.start(HostContainer.java:484) at com.caucho.server.cluster.Server.start(Server.java:1319) at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710) at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:542) at com.caucho.server.resin.Resin.start(Resin.java:703) at com.caucho.server.resin.Resin.initMain(Resin.java:1162) at com.caucho.server.resin.Resin.main(Resin.java:1365) Caused by: java.util.NoSuchElementException at java.util.AbstractList$Itr.next(AbstractList.java:350) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:247) ... 26 more 2011-01-14 13:45:07 WARN [main ] - com.caucho.server.dispatch.FilterManager - javax.servlet.ServletException: org.codehaus.plexus.component.repository.exception.ComponentLookupException: java.util.NoSuchElementException role: org.sonatype.security.configuration.SecurityConfigurationManager roleHint: javax.servlet.ServletException: org.codehaus.plexus.component.repository.exception.ComponentLookupException: java.util.NoSuchElementException role: org.sonatype.security.configuration.SecurityConfigurationManager roleHint: at org.apache.shiro.web.servlet.AbstractFilter.init(AbstractFilter.java:102) at com.caucho.server.dispatch.FilterManager.createFilter(FilterManager.java:144) at com.caucho.server.dispatch.FilterManager.init(FilterManager.java:91) at com.caucho.server.webapp.WebApp.start(WebApp.java:1873) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659) at com.caucho.server.host.Host.start(Host.java:450) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.host.HostContainer.start(HostContainer.java:484) at com.caucho.server.cluster.Server.start(Server.java:1319) at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710) at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:542) at com.caucho.server.resin.Resin.start(Resin.java:703) at com.caucho.server.resin.Resin.initMain(Resin.java:1162) at com.caucho.server.resin.Resin.main(Resin.java:1365) Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: java.util.NoSuchElementException role: org.sonatype.security.configuration.SecurityConfigurationManager roleHint: at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:251) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:239) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:233) at org.sonatype.security.web.ShiroSecurityFilter.configure(ShiroSecurityFilter.java:72) at org.apache.shiro.web.servlet.IniShiroFilter.init(IniShiroFilter.java:292) at org.apache.shiro.web.servlet.AbstractShiroFilter.onFilterConfigSet(AbstractShiroFilter.java:83) at org.apache.shiro.web.servlet.AbstractFilter.init(AbstractFilter.java:94) ... 20 more Caused by: java.util.NoSuchElementException at java.util.AbstractList$Itr.next(AbstractList.java:350) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:247) ... 26 more 2011-01-14 13:45:07 ERROR [main ] - org.sonatype.guice.bean.reflect.NamedClass - Error injecting: org.sonatype.nexus.rest.NexusApplication com.google.inject.ProvisionException: Guice provision errors: 1) No implementation for org.sonatype.security.web.ProtectedPathManager was bound. while locating org.sonatype.nexus.rest.NexusApplication 1 error at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:958) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:984) at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:48) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1002) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:949) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:995) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:945) at org.sonatype.guice.bean.locators.LazyQualifiedBean.getValue(LazyQualifiedBean.java:66) at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:54) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:247) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:227) at org.sonatype.plexus.rest.PlexusServerServlet.createApplication(PlexusServerServlet.java:49) at com.noelios.restlet.ext.servlet.ServerServlet.getApplication(ServerServlet.java:703) at com.noelios.restlet.ext.servlet.ServerServlet.init(ServerServlet.java:818) at javax.servlet.GenericServlet.init(GenericServlet.java:70) at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:833) at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:735) at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:159) at com.caucho.server.webapp.WebApp.start(WebApp.java:1874) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659) at com.caucho.server.host.Host.start(Host.java:450) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.host.HostContainer.start(HostContainer.java:484) at com.caucho.server.cluster.Server.start(Server.java:1319) at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710) at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:542) at com.caucho.server.resin.Resin.start(Resin.java:703) at com.caucho.server.resin.Resin.initMain(Resin.java:1162) at com.caucho.server.resin.Resin.main(Resin.java:1365) 2011-01-14 13:45:07 WARN [main ] - com.caucho.server.webapp.WebApp - com.google.inject.ProvisionException: Guice provision errors: 1) No implementation for org.sonatype.security.web.ProtectedPathManager was bound. while locating org.sonatype.nexus.rest.NexusApplication 1 error com.google.inject.ProvisionException: Guice provision errors: 1) No implementation for org.sonatype.security.web.ProtectedPathManager was bound. while locating org.sonatype.nexus.rest.NexusApplication 1 error at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:958) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:984) at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:48) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1002) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:949) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:995) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:945) at org.sonatype.guice.bean.locators.LazyQualifiedBean.getValue(LazyQualifiedBean.java:66) at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:54) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:247) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:227) at org.sonatype.plexus.rest.PlexusServerServlet.createApplication(PlexusServerServlet.java:49) at com.noelios.restlet.ext.servlet.ServerServlet.getApplication(ServerServlet.java:703) at com.noelios.restlet.ext.servlet.ServerServlet.init(ServerServlet.java:818) at javax.servlet.GenericServlet.init(GenericServlet.java:70) at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:833) at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:735) at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:159) at com.caucho.server.webapp.WebApp.start(WebApp.java:1874) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659) at com.caucho.server.host.Host.start(Host.java:450) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.host.HostContainer.start(HostContainer.java:484) at com.caucho.server.cluster.Server.start(Server.java:1319) at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710) at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:542) at com.caucho.server.resin.Resin.start(Resin.java:703) at com.caucho.server.resin.Resin.initMain(Resin.java:1162) at com.caucho.server.resin.Resin.main(Resin.java:1365) 2011-01-14 13:45:07 INFO [main ] - com.caucho.server.webapp.WebApp - WebApp[http://localhost:8080/nexus] active {noformat}

    Sonatype JIRA | 6 years ago | Rich Seddon
    com.google.inject.ProvisionException: Guice provision errors: 1) No implementation for org.sonatype.security.web.ProtectedPathManager was bound. while locating org.sonatype.nexus.rest.NexusApplication 1 error
  2. 0

    Nexus 1.9 war file doesn't deploy in Resin 3.1.10. I tried an older version (1.4.1, pre-guice) and it works fine in same container. {noformat} 2011-01-14 13:45:07 WARN [main ] - org.codehaus.plexus.PlexusContainer - Error initializing: class org.sonatype.nexus.DefaultNexus java.lang.NullPointerException at org.sonatype.nexus.DefaultNexus.initialize(DefaultNexus.java:607) at org.codehaus.plexus.PlexusLifecycleManager.initialize(PlexusLifecycleManager.java:265) at org.codehaus.plexus.PlexusLifecycleManager.manageLifecycle(PlexusLifecycleManager.java:227) at org.codehaus.plexus.PlexusLifecycleManager.manage(PlexusLifecycleManager.java:134) at org.sonatype.guice.plexus.binders.PlexusBeanBinder.afterInjection(PlexusBeanBinder.java:79) at com.google.inject.internal.MembersInjectorImpl.notifyListeners(MembersInjectorImpl.java:97) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:95) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:253) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:949) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1002) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:945) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:984) at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:48) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1002) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:949) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:995) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:945) at org.sonatype.guice.bean.locators.LazyQualifiedBean.getValue(LazyQualifiedBean.java:66) at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:54) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:247) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:239) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:233) at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:48) at com.caucho.server.webapp.WebApp.start(WebApp.java:1866) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659) at com.caucho.server.host.Host.start(Host.java:450) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.host.HostContainer.start(HostContainer.java:484) at com.caucho.server.cluster.Server.start(Server.java:1319) at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710) at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:542) at com.caucho.server.resin.Resin.start(Resin.java:703) at com.caucho.server.resin.Resin.initMain(Resin.java:1162) at com.caucho.server.resin.Resin.main(Resin.java:1365) 2011-01-14 13:45:07 ERROR [main ] - org.sonatype.guice.bean.reflect.NamedClass - Error injecting: org.sonatype.nexus.DefaultNexus com.google.inject.ProvisionException: Guice provision errors: 1) No implementation for org.sonatype.nexus.plugins.NexusPluginManager was bound. while locating org.sonatype.nexus.DefaultNexus 2) Error notifying InjectionListener org.sonatype.guice.plexus.binders.PlexusBeanBinder@14ef239 of org.sonatype.nexus.DefaultNexus. Reason: java.lang.NullPointerException while locating org.sonatype.nexus.DefaultNexus 2 errors at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:958) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:984) at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:48) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1002) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:949) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:995) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:945) at org.sonatype.guice.bean.locators.LazyQualifiedBean.getValue(LazyQualifiedBean.java:66) at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:54) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:247) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:239) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:233) at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:48) at com.caucho.server.webapp.WebApp.start(WebApp.java:1866) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659) at com.caucho.server.host.Host.start(Host.java:450) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.host.HostContainer.start(HostContainer.java:484) at com.caucho.server.cluster.Server.start(Server.java:1319) at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710) at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:542) at com.caucho.server.resin.Resin.start(Resin.java:703) at com.caucho.server.resin.Resin.initMain(Resin.java:1162) at com.caucho.server.resin.Resin.main(Resin.java:1365) Caused by: java.lang.NullPointerException at org.sonatype.nexus.DefaultNexus.initialize(DefaultNexus.java:607) at org.codehaus.plexus.PlexusLifecycleManager.initialize(PlexusLifecycleManager.java:265) at org.codehaus.plexus.PlexusLifecycleManager.manageLifecycle(PlexusLifecycleManager.java:227) at org.codehaus.plexus.PlexusLifecycleManager.manage(PlexusLifecycleManager.java:134) at org.sonatype.guice.plexus.binders.PlexusBeanBinder.afterInjection(PlexusBeanBinder.java:79) at com.google.inject.internal.MembersInjectorImpl.notifyListeners(MembersInjectorImpl.java:97) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:95) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:253) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:949) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1002) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:945) ... 35 more 2011-01-14 13:45:07 WARN [main ] - com.caucho.server.webapp.WebApp - java.lang.IllegalStateException: Could not initialize Nexus. java.lang.IllegalStateException: Could not initialize Nexus. at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:58) at com.caucho.server.webapp.WebApp.start(WebApp.java:1866) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659) at com.caucho.server.host.Host.start(Host.java:450) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.host.HostContainer.start(HostContainer.java:484) at com.caucho.server.cluster.Server.start(Server.java:1319) at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710) at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:542) at com.caucho.server.resin.Resin.start(Resin.java:703) at com.caucho.server.resin.Resin.initMain(Resin.java:1162) at com.caucho.server.resin.Resin.main(Resin.java:1365) Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: com.google.inject.ProvisionException: Guice provision errors: 1) Error injecting: org.sonatype.nexus.DefaultNexus at ClassRealm[plexus.core, parent: null] at ClassRealm[plexus.core, parent: null] while locating org.sonatype.nexus.Nexus 1 error role: org.sonatype.nexus.Nexus roleHint: at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:251) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:239) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:233) at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:48) ... 18 more Caused by: com.google.inject.ProvisionException: Guice provision errors: 1) Error injecting: org.sonatype.nexus.DefaultNexus at ClassRealm[plexus.core, parent: null] at ClassRealm[plexus.core, parent: null] while locating org.sonatype.nexus.Nexus 1 error at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:958) at org.sonatype.guice.bean.locators.LazyQualifiedBean.getValue(LazyQualifiedBean.java:66) at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:54) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:247) ... 21 more Caused by: com.google.inject.ProvisionException: Guice provision errors: 1) No implementation for org.sonatype.nexus.plugins.NexusPluginManager was bound. while locating org.sonatype.nexus.DefaultNexus 2) Error notifying InjectionListener org.sonatype.guice.plexus.binders.PlexusBeanBinder@14ef239 of org.sonatype.nexus.DefaultNexus. Reason: java.lang.NullPointerException while locating org.sonatype.nexus.DefaultNexus 2 errors at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:958) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:984) at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:48) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1002) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:949) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:995) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:945) ... 24 more Caused by: java.lang.NullPointerException at org.sonatype.nexus.DefaultNexus.initialize(DefaultNexus.java:607) at org.codehaus.plexus.PlexusLifecycleManager.initialize(PlexusLifecycleManager.java:265) at org.codehaus.plexus.PlexusLifecycleManager.manageLifecycle(PlexusLifecycleManager.java:227) at org.codehaus.plexus.PlexusLifecycleManager.manage(PlexusLifecycleManager.java:134) at org.sonatype.guice.plexus.binders.PlexusBeanBinder.afterInjection(PlexusBeanBinder.java:79) at com.google.inject.internal.MembersInjectorImpl.notifyListeners(MembersInjectorImpl.java:97) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:95) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:253) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:949) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1002) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:945) ... 35 more 2011-01-14 13:45:07 ERROR [main ] - org.apache.shiro.web.servlet.AbstractFilter - Unable to start Filter: [java.util.NoSuchElementException role: org.sonatype.security.configuration.SecurityConfigurationManager roleHint: ]. org.codehaus.plexus.component.repository.exception.ComponentLookupException: java.util.NoSuchElementException role: org.sonatype.security.configuration.SecurityConfigurationManager roleHint: at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:251) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:239) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:233) at org.sonatype.security.web.ShiroSecurityFilter.configure(ShiroSecurityFilter.java:72) at org.apache.shiro.web.servlet.IniShiroFilter.init(IniShiroFilter.java:292) at org.apache.shiro.web.servlet.AbstractShiroFilter.onFilterConfigSet(AbstractShiroFilter.java:83) at org.apache.shiro.web.servlet.AbstractFilter.init(AbstractFilter.java:94) at com.caucho.server.dispatch.FilterManager.createFilter(FilterManager.java:144) at com.caucho.server.dispatch.FilterManager.init(FilterManager.java:91) at com.caucho.server.webapp.WebApp.start(WebApp.java:1873) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659) at com.caucho.server.host.Host.start(Host.java:450) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.host.HostContainer.start(HostContainer.java:484) at com.caucho.server.cluster.Server.start(Server.java:1319) at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710) at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:542) at com.caucho.server.resin.Resin.start(Resin.java:703) at com.caucho.server.resin.Resin.initMain(Resin.java:1162) at com.caucho.server.resin.Resin.main(Resin.java:1365) Caused by: java.util.NoSuchElementException at java.util.AbstractList$Itr.next(AbstractList.java:350) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:247) ... 26 more 2011-01-14 13:45:07 WARN [main ] - com.caucho.server.dispatch.FilterManager - javax.servlet.ServletException: org.codehaus.plexus.component.repository.exception.ComponentLookupException: java.util.NoSuchElementException role: org.sonatype.security.configuration.SecurityConfigurationManager roleHint: javax.servlet.ServletException: org.codehaus.plexus.component.repository.exception.ComponentLookupException: java.util.NoSuchElementException role: org.sonatype.security.configuration.SecurityConfigurationManager roleHint: at org.apache.shiro.web.servlet.AbstractFilter.init(AbstractFilter.java:102) at com.caucho.server.dispatch.FilterManager.createFilter(FilterManager.java:144) at com.caucho.server.dispatch.FilterManager.init(FilterManager.java:91) at com.caucho.server.webapp.WebApp.start(WebApp.java:1873) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659) at com.caucho.server.host.Host.start(Host.java:450) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.host.HostContainer.start(HostContainer.java:484) at com.caucho.server.cluster.Server.start(Server.java:1319) at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710) at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:542) at com.caucho.server.resin.Resin.start(Resin.java:703) at com.caucho.server.resin.Resin.initMain(Resin.java:1162) at com.caucho.server.resin.Resin.main(Resin.java:1365) Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: java.util.NoSuchElementException role: org.sonatype.security.configuration.SecurityConfigurationManager roleHint: at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:251) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:239) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:233) at org.sonatype.security.web.ShiroSecurityFilter.configure(ShiroSecurityFilter.java:72) at org.apache.shiro.web.servlet.IniShiroFilter.init(IniShiroFilter.java:292) at org.apache.shiro.web.servlet.AbstractShiroFilter.onFilterConfigSet(AbstractShiroFilter.java:83) at org.apache.shiro.web.servlet.AbstractFilter.init(AbstractFilter.java:94) ... 20 more Caused by: java.util.NoSuchElementException at java.util.AbstractList$Itr.next(AbstractList.java:350) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:247) ... 26 more 2011-01-14 13:45:07 ERROR [main ] - org.sonatype.guice.bean.reflect.NamedClass - Error injecting: org.sonatype.nexus.rest.NexusApplication com.google.inject.ProvisionException: Guice provision errors: 1) No implementation for org.sonatype.security.web.ProtectedPathManager was bound. while locating org.sonatype.nexus.rest.NexusApplication 1 error at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:958) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:984) at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:48) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1002) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:949) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:995) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:945) at org.sonatype.guice.bean.locators.LazyQualifiedBean.getValue(LazyQualifiedBean.java:66) at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:54) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:247) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:227) at org.sonatype.plexus.rest.PlexusServerServlet.createApplication(PlexusServerServlet.java:49) at com.noelios.restlet.ext.servlet.ServerServlet.getApplication(ServerServlet.java:703) at com.noelios.restlet.ext.servlet.ServerServlet.init(ServerServlet.java:818) at javax.servlet.GenericServlet.init(GenericServlet.java:70) at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:833) at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:735) at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:159) at com.caucho.server.webapp.WebApp.start(WebApp.java:1874) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659) at com.caucho.server.host.Host.start(Host.java:450) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.host.HostContainer.start(HostContainer.java:484) at com.caucho.server.cluster.Server.start(Server.java:1319) at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710) at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:542) at com.caucho.server.resin.Resin.start(Resin.java:703) at com.caucho.server.resin.Resin.initMain(Resin.java:1162) at com.caucho.server.resin.Resin.main(Resin.java:1365) 2011-01-14 13:45:07 WARN [main ] - com.caucho.server.webapp.WebApp - com.google.inject.ProvisionException: Guice provision errors: 1) No implementation for org.sonatype.security.web.ProtectedPathManager was bound. while locating org.sonatype.nexus.rest.NexusApplication 1 error com.google.inject.ProvisionException: Guice provision errors: 1) No implementation for org.sonatype.security.web.ProtectedPathManager was bound. while locating org.sonatype.nexus.rest.NexusApplication 1 error at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:958) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:984) at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:48) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1002) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:949) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:995) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:945) at org.sonatype.guice.bean.locators.LazyQualifiedBean.getValue(LazyQualifiedBean.java:66) at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:54) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:247) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:227) at org.sonatype.plexus.rest.PlexusServerServlet.createApplication(PlexusServerServlet.java:49) at com.noelios.restlet.ext.servlet.ServerServlet.getApplication(ServerServlet.java:703) at com.noelios.restlet.ext.servlet.ServerServlet.init(ServerServlet.java:818) at javax.servlet.GenericServlet.init(GenericServlet.java:70) at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:833) at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:735) at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:159) at com.caucho.server.webapp.WebApp.start(WebApp.java:1874) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659) at com.caucho.server.host.Host.start(Host.java:450) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.host.HostContainer.start(HostContainer.java:484) at com.caucho.server.cluster.Server.start(Server.java:1319) at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710) at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:542) at com.caucho.server.resin.Resin.start(Resin.java:703) at com.caucho.server.resin.Resin.initMain(Resin.java:1162) at com.caucho.server.resin.Resin.main(Resin.java:1365) 2011-01-14 13:45:07 INFO [main ] - com.caucho.server.webapp.WebApp - WebApp[http://localhost:8080/nexus] active {noformat}

    Sonatype JIRA | 6 years ago | Rich Seddon
    com.google.inject.ProvisionException: Guice provision errors: 1) No implementation for org.sonatype.security.web.ProtectedPathManager was bound. while locating org.sonatype.nexus.rest.NexusApplication 1 error
  3. 0

    How do you build this project?

    GitHub | 5 years ago | haebin
    com.google.inject.ProvisionException: Guice provision errors: 1) No implementation for org.eclipse.tycho.equinox.EquinoxRuntimeLocator was bound. while locating org.eclipse.tycho.equinox.embedder.DefaultEquinoxEmbedder 1 error
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [질문] Nexus에서 Google Guice 관련 오류로 고전 중입니다.

    Google Groups | 6 years ago | 밤바
    com.google.inject.ProvisionException: Guice provision errors: 1) Error starting: class org.sonatype.nexus.DefaultNexus while locating org.sonatype.nexus.DefaultNexus 1 error
  6. 0

    Collectible Card Game Headquarters • View topic - Working out the multi-module maven setup

    slightlymagic.net | 1 year ago
    com.google.inject.ProvisionException: Guice provision errors: 1) No implementation for org.eclipse.aether.impl.ArtifactDescriptorReader was bound.   while locating org.eclipse.aether.internal.impl.DefaultRepositorySystem   at ClassRealm[extension>com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.9.0-rc.1, parent: sun.misc.Launcher$AppClassLoader@6bd46c20]   at ClassRealm[extension>com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.9.0-rc.1, parent: sun.misc.Launcher$AppClassLoader@6bd46c20]   while locating org.eclipse.aether.RepositorySystem   while locating com.jayway.maven.plugins.android.phase_prebuild.AarMavenLifecycleParticipant 1 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. com.google.inject.ProvisionException

    Guice provision errors: 1) No implementation for org.sonatype.security.web.ProtectedPathManager was bound. while locating org.sonatype.nexus.rest.NexusApplication 1 error

    at com.google.inject.internal.InjectorImpl$4.get()
  2. Google Guice - Core Library
    InjectorImpl.getInstance
    1. com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:958)
    2. com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:984)
    2 frames
  3. Sisu-Inject-Bean : legacy wrapper
    AbstractDeferredClass.get
    1. org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:48)
    1 frame
  4. Google Guice - Core Library
    InjectorImpl$4.get
    1. com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
    2. com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    3. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1002)
    4. com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    5. com.google.inject.Scopes$1$1.get(Scopes.java:59)
    6. com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
    7. com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:949)
    8. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:995)
    9. com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:945)
    9 frames
  5. Sisu-Inject-Bean : legacy wrapper
    LazyQualifiedBean.getValue
    1. org.sonatype.guice.bean.locators.LazyQualifiedBean.getValue(LazyQualifiedBean.java:66)
    1 frame
  6. org.sonatype.guice
    LazyPlexusBean.getValue
    1. org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:54)
    1 frame
  7. Plexus
    DefaultPlexusContainer.lookup
    1. org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:247)
    2. org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:227)
    2 frames
  8. ${project.groupId}:${project.artifactId}
    PlexusServerServlet.createApplication
    1. org.sonatype.plexus.rest.PlexusServerServlet.createApplication(PlexusServerServlet.java:49)
    1 frame
  9. com.noelios.restlet
    ServerServlet.init
    1. com.noelios.restlet.ext.servlet.ServerServlet.getApplication(ServerServlet.java:703)
    2. com.noelios.restlet.ext.servlet.ServerServlet.init(ServerServlet.java:818)
    2 frames
  10. JavaServlet
    GenericServlet.init
    1. javax.servlet.GenericServlet.init(GenericServlet.java:70)
    1 frame
  11. com.caucho.server
    Resin.main
    1. com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:833)
    2. com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:735)
    3. com.caucho.server.dispatch.ServletManager.init(ServletManager.java:159)
    4. com.caucho.server.webapp.WebApp.start(WebApp.java:1874)
    5. com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667)
    6. com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
    7. com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549)
    8. com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160)
    9. com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659)
    10. com.caucho.server.host.Host.start(Host.java:450)
    11. com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667)
    12. com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
    13. com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549)
    14. com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160)
    15. com.caucho.server.host.HostContainer.start(HostContainer.java:484)
    16. com.caucho.server.cluster.Server.start(Server.java:1319)
    17. com.caucho.server.cluster.Cluster.startServer(Cluster.java:710)
    18. com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:542)
    19. com.caucho.server.resin.Resin.start(Resin.java:703)
    20. com.caucho.server.resin.Resin.initMain(Resin.java:1162)
    21. com.caucho.server.resin.Resin.main(Resin.java:1365)
    21 frames