2 Replies Latest reply on Dec 15, 2011 6:56 AM by v.masterov

    Interceptor and @RequestParam: Unsatisfied dependencies.

    v.masterov

      If the interceptor class uses injection with @RequestParam annotation, deployment returns the exception Unsatisfied dependencies.


              @Inject @RequestParam
              private String foo;
      


      Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [String] with qualifiers [@RequestParam] at injection point [[field] @Inject @RequestParam private ru.mugitus.ee.simpletester.SimpleInterceptor.foo]
      



      The same injection in a simple bean works fine.
      Is this a bug or a feature?