2 Replies Latest reply on Dec 15, 2011 6:56 AM by Vitaly Masterov

    Interceptor and @RequestParam: Unsatisfied dependencies.

    Vitaly Masterov Newbie

      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?