[
https://issues.jboss.org/browse/WELD-953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636819#comment-12636819
]
Geoffrey De Smet commented on WELD-953:
---------------------------------------
Replicated again today with weld 1.1.2.Final and seam 3.1.0.Beta3 on GWT-hosted
model (= Jetty 6 with some tomcat stuff).
The weld:excludes where ignored.
Note that moving it to WEB-INF/classes/META-INF/beans.xml workaround is NOT
compatible with JBoss AS 7 which requires it to be in WEB-INF/beans.xml ...
> WEB-INF/beans.xml is ignored on jetty 6 (and GWT hosted mode)
> --------------------------------------------------------------
>
> Key: WELD-953
> URL: https://issues.jboss.org/browse/WELD-953
> Project: Weld
> Issue Type: Bug
> Affects Versions: 1.1.2.Final
> Reporter: Geoffrey De Smet
>
> Using @Inject in a class in a war file does not do nothing if there is only a
> WEB-INF/beans.xml and everything is deployed to Jetty 6.
> Similar for GWT hosted mode (which uses jetty 6 under the covers).
> Workaround: move it to META-INF/beans.xml
--
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
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues