Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Configuração do Weld para um Servlet Container sem CDI - copie dentro do web.xml
<listener>
<listener-class>org.jboss.weld.environment.servlet.Listener</listener-class>
</listener>
<resource-env-ref>
<resource-env-ref-name>BeanManager</resource-env-ref-name>
<resource-env-ref-type>
javax.enterprise.inject.spi.BeanManager
</resource-env-ref-type>
</resource-env-ref>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment