[seam-issues] [JBoss JIRA] Commented: (SEAMSECURITY-37) Unsatisfied dependencies for type [Messages]...

Dan Allen (JIRA) jira-events at lists.jboss.org
Thu Mar 17 15:07:45 EDT 2011


    [ https://issues.jboss.org/browse/SEAMSECURITY-37?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12588717#comment-12588717 ] 

Dan Allen commented on SEAMSECURITY-37:
---------------------------------------

Yes, we do care. Please see http://in.relation.to/Bloggers/IsSeam3GoingToBePortableOrWhat for a statement.

The solution to this problem to work on GlassFish 3.1 out of the box is to inject Messages into the observers using parameter injection (argument of observer method) rather than field injection. This solved a similar problem in Seam Faces.

> Unsatisfied dependencies for type [Messages]...
> -----------------------------------------------
>
>                 Key: SEAMSECURITY-37
>                 URL: https://issues.jboss.org/browse/SEAMSECURITY-37
>             Project: Seam Security
>          Issue Type: Bug
>    Affects Versions: 3.0.0.Beta2
>         Environment: Mac OS X, Glassfish v3.1b42, Java 1.6
>            Reporter: Aaron Siri
>            Assignee: Shane Bryzak
>             Fix For: 3.0.0.Final
>
>         Attachments: SecurityBreak-0.0.1-SNAPSHOT.war, SecurityBreak.zip
>
>
> Trying to deploy an app with simple security integration I get the following exception:
> SEVERE: Exception while loading the app : WELD-001408 Unsatisfied dependencies for type [Messages] with qualifiers [@Default] at injection point [[field] @Inject org.jboss.seam.security.SecurityEventMessages.messages]
> org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [Messages] with qualifiers [@Default] at injection point [[field] @Inject org.jboss.seam.security.SecurityEventMessages.messages]
> 	at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:305)
> 	at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:139)
> 	at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:162)
> 	at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:385)
> 	at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:371)
> 	at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:390)
> 	...

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list