[weld-issues] [JBoss JIRA] (WELD-953) WEB-INF/beans.xml is ignored on jetty 6 (and GWT hosted mode)
Geoffrey De Smet (Resolved) (JIRA)
jira-events at lists.jboss.org
Mon Oct 24 13:30:45 EDT 2011
[ https://issues.jboss.org/browse/WELD-953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Geoffrey De Smet resolved WELD-953.
-----------------------------------
Fix Version/s: 1.2.0.Beta1
Resolution: Cannot Reproduce Bug
Looks like that exception is probably due to SOLDER-220 (which apparently affects jetty 6 too) and weld is actually working fine.
Alesj's ConfigTest affirms this theory.
> 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
> Fix For: 1.2.0.Beta1
>
>
> 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
More information about the weld-issues
mailing list