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

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

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.1.18.Final
    • Fix Version/s: 2.2.2.Final
    • Component/s: None
    • Labels:
      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]
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mkouba Martin Kouba
                Reporter:
                trong.tran Trong Tran
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: