[weld-issues] [JBoss JIRA] (WELD-953) WEB-INF/beans.xml is ignored on jetty 6 (and GWT hosted mode)
Geoffrey De Smet (Commented) (JIRA)
jira-events at lists.jboss.org
Mon Oct 24 07:27:45 EDT 2011
[ https://issues.jboss.org/browse/WELD-953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636843#comment-12636843 ]
Geoffrey De Smet commented on WELD-953:
---------------------------------------
Guvnor-webapp in GWT hosted mode fails with this exception because the weld:excludes are ignored:
{code}
java.lang.RuntimeException: org.jboss.solder.beanManager.BeanManagerUnavailableException: Failed to locate BeanManager using any of these providers: org.jboss.solder.servlet.beanManager.ServletContextAttributeProvider(20), org.jboss.solder.beanManager.DefaultJndiBeanManagerProvider(11), org.jboss.solder.beanManager.ServletContainerJndiBeanManagerProvider(10)
{code}
> 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
More information about the weld-issues
mailing list