Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-1679

Weld doesn't properly handle annotations for injection in Tomcat with unpackWars="false"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.2.2.Final
    • 1.1.18.Final
    • None
    • None

    Description

      Following the documentation http://docs.jboss.org/weld/reference/latest/en-US/html/environments.html. I'm trying to deploy a Weld example in Tomcat with unpackWars="false". BUT It seems to me that beans.xml isn't scanned properly in the case, there is always following exception:

      org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [DataBean] with qualifiers [@Default] at injection point [[field] @Inject private org.gatein.quickstart.cdi.CDIFilter.bean]
      

      Attachments

        Activity

          People

            mkouba@redhat.com Martin Kouba
            trong.tran Trong Tran (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: