[seam-issues] [JBoss JIRA] (SOLDER-310) Interceptor and @RequestParam: Unsatisfied dependencies.

Vitaly Masterov (Created) (JIRA) jira-events at lists.jboss.org
Thu Dec 15 06:55:09 EST 2011


Interceptor and @RequestParam: Unsatisfied dependencies.
--------------------------------------------------------

                 Key: SOLDER-310
                 URL: https://issues.jboss.org/browse/SOLDER-310
             Project: Solder
          Issue Type: Bug
          Components: Build infrastructure, Core
    Affects Versions: 3.1.0.CR1
         Environment: JBoss AS 7.0.2
SEAM-3.1.0-SNAPSHOT
            Reporter: Vitaly Masterov


If the interceptor class uses injection with @RequestParam annotation, deployment returns the exception "Unsatisfied dependencies". 
{code:java}
@Inject @RequestParam
private String foo;
{code}
{code:none}
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]
{code}
The same injection in a simple bean works fine. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list