javax.servlet.ServletException: javax.enterprise.inject.UnsatisfiedResolutionException: org.sonatype.nexus.web.NexusGuiceFilter.pipelines: Can't find a bean for 'interface java.util.List<interface com.google.inject.servlet.FilterPipeline>' because no beans implementing that class have been registered with the injection manager InjectManager[web-app:production/webapp/default/nexus].

Sonatype JIRA | Rich Seddon | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Nexus 2.0 won't run in Resin 4.0.25. Note that this is logged as a warning, but because of this problem attempts to access Nexus return error 503. This is a regression, 1.9.2.4 works fine with this version of Resin. {quote} 2012-02-03 11:21:38 WARN [http://*:8080-1] - com.caucho.server.webapp.ErrorPageManager - javax.servlet.ServletException: javax.enterprise.inject.UnsatisfiedResolutionException: org.sonatype.nexus.web.NexusGuiceFilter.pipelines: Can't find a bean for 'interface java.util.List<interface com.google.inject.servlet.FilterPipeline>' because no beans implementing that class have been registered with the injection manager InjectManager[web-app:production/webapp/default/nexus]. javax.servlet.ServletException: javax.enterprise.inject.UnsatisfiedResolutionException: org.sonatype.nexus.web.NexusGuiceFilter.pipelines: Can't find a bean for 'interface java.util.List<interface com.google.inject.servlet.FilterPipeline>' because no beans implementing that class have been registered with the injection manager InjectManager[web-app:production/webapp/default/nexus]. at com.caucho.server.dispatch.FilterManager.createFilter(FilterManager.java:233) ~[resin.jar:4.0.25] at com.caucho.server.dispatch.FilterMapper.buildDispatchChain(FilterMapper.java:169) ~[resin.jar:4.0.25] at com.caucho.server.webapp.WebApp.buildInvocation(WebApp.java:3820) ~[resin.jar:4.0.25] at com.caucho.server.webapp.WebAppContainer.buildInvocation(WebAppContainer.java:781) ~[resin.jar:4.0.25] at com.caucho.server.host.Host.buildInvocation(Host.java:752) ~[resin.jar:4.0.25] at com.caucho.server.host.HostContainer.buildInvocation(HostContainer.java:319) ~[resin.jar:4.0.25] at com.caucho.server.cluster.Server.buildInvocation(Server.java:912) ~[resin.jar:4.0.25] at com.caucho.server.dispatch.InvocationServer.buildInvocation(InvocationServer.java:247) ~[resin.jar:4.0.25] at com.caucho.server.dispatch.InvocationServer.buildInvocation(InvocationServer.java:220) ~[resin.jar:4.0.25] at com.caucho.server.http.AbstractHttpRequest.buildInvocation(AbstractHttpRequest.java:1492) ~[resin.jar:4.0.25] at com.caucho.server.http.AbstractHttpRequest.getInvocation(AbstractHttpRequest.java:1465) ~[resin.jar:4.0.25] at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:793) ~[resin.jar:4.0.25] at com.caucho.network.listen.TcpSocketLink.dispatchRequest(TcpSocketLink.java:1221) [resin.jar:4.0.25] at com.caucho.network.listen.TcpSocketLink.handleRequest(TcpSocketLink.java:1177) [resin.jar:4.0.25] at com.caucho.network.listen.TcpSocketLink.handleRequestsImpl(TcpSocketLink.java:1161) [resin.jar:4.0.25] at com.caucho.network.listen.TcpSocketLink.handleRequests(TcpSocketLink.java:1084) [resin.jar:4.0.25] at com.caucho.network.listen.TcpSocketLink.handleAcceptTask(TcpSocketLink.java:907) [resin.jar:4.0.25] at com.caucho.network.listen.AcceptTask.doTask(AcceptTask.java:74) [resin.jar:4.0.25] at com.caucho.network.listen.ConnectionTask.runThread(ConnectionTask.java:97) [resin.jar:4.0.25] at com.caucho.network.listen.ConnectionTask.run(ConnectionTask.java:80) [resin.jar:4.0.25] at com.caucho.network.listen.AcceptTask.run(AcceptTask.java:59) [resin.jar:4.0.25] at com.caucho.env.thread.ResinThread.runTasks(ResinThread.java:164) [resin.jar:4.0.25] at com.caucho.env.thread.ResinThread.run(ResinThread.java:130) [resin.jar:4.0.25] Caused by: javax.enterprise.inject.UnsatisfiedResolutionException: org.sonatype.nexus.web.NexusGuiceFilter.pipelines: Can't find a bean for 'interface java.util.List<interface com.google.inject.servlet.FilterPipeline>' because no beans implementing that class have been registered with the injection manager InjectManager[web-app:production/webapp/default/nexus]. at com.caucho.config.inject.InjectionTargetBuilder$FieldInjectProgram.bind(InjectionTargetBuilder.java:986) ~[resin.jar:4.0.25] at com.caucho.config.inject.CandiProducer.bind(CandiProducer.java:144) ~[resin.jar:4.0.25] at com.caucho.config.inject.InjectionTargetBuilder.bind(InjectionTargetBuilder.java:198) ~[resin.jar:4.0.25] at com.caucho.config.inject.InjectionTargetBuilder.produce(InjectionTargetBuilder.java:215) ~[resin.jar:4.0.25] at com.caucho.server.dispatch.FilterManager.createFilter(FilterManager.java:189) ~[resin.jar:4.0.25] ... 22 common frames omitted Caused by: javax.enterprise.inject.UnsatisfiedResolutionException: Can't find a bean for 'interface java.util.List<interface com.google.inject.servlet.FilterPipeline>' because no beans implementing that class have been registered with the injection manager InjectManager[web-app:production/webapp/default/nexus]. at com.caucho.config.inject.InjectManager.unsatisfiedException(InjectManager.java:2367) ~[resin.jar:4.0.25] at com.caucho.config.inject.InjectManager.resolveByInjectionPoint(InjectManager.java:2552) ~[resin.jar:4.0.25] at com.caucho.config.inject.InjectManager.getReferenceFactory(InjectManager.java:2510) ~[resin.jar:4.0.25] at com.caucho.config.inject.InjectManager.getReferenceFactory(InjectManager.java:2489) ~[resin.jar:4.0.25] at com.caucho.config.inject.InjectionTargetBuilder$FieldInjectProgram.bind(InjectionTargetBuilder.java:978) ~[resin.jar:4.0.25] ... 26 common frames omitted {quote}

    Sonatype JIRA | 5 years ago | Rich Seddon
    javax.servlet.ServletException: javax.enterprise.inject.UnsatisfiedResolutionException: org.sonatype.nexus.web.NexusGuiceFilter.pipelines: Can't find a bean for 'interface java.util.List<interface com.google.inject.servlet.FilterPipeline>' because no beans implementing that class have been registered with the injection manager InjectManager[web-app:production/webapp/default/nexus].

    Root Cause Analysis

    1. javax.enterprise.inject.UnsatisfiedResolutionException

      Can't find a bean for 'interface java.util.List<interface com.google.inject.servlet.FilterPipeline>' because no beans implementing that class have been registered with the injection manager InjectManager[web-app:production/webapp/default/nexus].

      at com.caucho.config.inject.InjectManager.unsatisfiedException()
    2. com.caucho.config
      InjectionTargetBuilder.produce
      1. com.caucho.config.inject.InjectManager.unsatisfiedException(InjectManager.java:2367)[resin.jar:4.0.25]
      2. com.caucho.config.inject.InjectManager.resolveByInjectionPoint(InjectManager.java:2552)[resin.jar:4.0.25]
      3. com.caucho.config.inject.InjectManager.getReferenceFactory(InjectManager.java:2510)[resin.jar:4.0.25]
      4. com.caucho.config.inject.InjectManager.getReferenceFactory(InjectManager.java:2489)[resin.jar:4.0.25]
      5. com.caucho.config.inject.InjectionTargetBuilder$FieldInjectProgram.bind(InjectionTargetBuilder.java:978)[resin.jar:4.0.25]
      6. com.caucho.config.inject.CandiProducer.bind(CandiProducer.java:144)[resin.jar:4.0.25]
      7. com.caucho.config.inject.InjectionTargetBuilder.bind(InjectionTargetBuilder.java:198)[resin.jar:4.0.25]
      8. com.caucho.config.inject.InjectionTargetBuilder.produce(InjectionTargetBuilder.java:215)[resin.jar:4.0.25]
      8 frames
    3. com.caucho.server
      HttpRequest.handleRequest
      1. com.caucho.server.dispatch.FilterManager.createFilter(FilterManager.java:189)[resin.jar:4.0.25]
      2. com.caucho.server.dispatch.FilterMapper.buildDispatchChain(FilterMapper.java:169)[resin.jar:4.0.25]
      3. com.caucho.server.webapp.WebApp.buildInvocation(WebApp.java:3820)[resin.jar:4.0.25]
      4. com.caucho.server.webapp.WebAppContainer.buildInvocation(WebAppContainer.java:781)[resin.jar:4.0.25]
      5. com.caucho.server.host.Host.buildInvocation(Host.java:752)[resin.jar:4.0.25]
      6. com.caucho.server.host.HostContainer.buildInvocation(HostContainer.java:319)[resin.jar:4.0.25]
      7. com.caucho.server.cluster.Server.buildInvocation(Server.java:912)[resin.jar:4.0.25]
      8. com.caucho.server.dispatch.InvocationServer.buildInvocation(InvocationServer.java:247)[resin.jar:4.0.25]
      9. com.caucho.server.dispatch.InvocationServer.buildInvocation(InvocationServer.java:220)[resin.jar:4.0.25]
      10. com.caucho.server.http.AbstractHttpRequest.buildInvocation(AbstractHttpRequest.java:1492)[resin.jar:4.0.25]
      11. com.caucho.server.http.AbstractHttpRequest.getInvocation(AbstractHttpRequest.java:1465)[resin.jar:4.0.25]
      12. com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:793)[resin.jar:4.0.25]
      12 frames
    4. com.caucho.network
      AcceptTask.run
      1. com.caucho.network.listen.TcpSocketLink.dispatchRequest(TcpSocketLink.java:1221)[resin.jar:4.0.25]
      2. com.caucho.network.listen.TcpSocketLink.handleRequest(TcpSocketLink.java:1177)[resin.jar:4.0.25]
      3. com.caucho.network.listen.TcpSocketLink.handleRequestsImpl(TcpSocketLink.java:1161)[resin.jar:4.0.25]
      4. com.caucho.network.listen.TcpSocketLink.handleRequests(TcpSocketLink.java:1084)[resin.jar:4.0.25]
      5. com.caucho.network.listen.TcpSocketLink.handleAcceptTask(TcpSocketLink.java:907)[resin.jar:4.0.25]
      6. com.caucho.network.listen.AcceptTask.doTask(AcceptTask.java:74)[resin.jar:4.0.25]
      7. com.caucho.network.listen.ConnectionTask.runThread(ConnectionTask.java:97)[resin.jar:4.0.25]
      8. com.caucho.network.listen.ConnectionTask.run(ConnectionTask.java:80)[resin.jar:4.0.25]
      9. com.caucho.network.listen.AcceptTask.run(AcceptTask.java:59)[resin.jar:4.0.25]
      9 frames
    5. com.caucho.env
      ResinThread.run
      1. com.caucho.env.thread.ResinThread.runTasks(ResinThread.java:164)[resin.jar:4.0.25]
      2. com.caucho.env.thread.ResinThread.run(ResinThread.java:130)[resin.jar:4.0.25]
      2 frames