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

WEB-INF/beans.xml is ignored on jetty 6 (and GWT hosted mode)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • 1.1.3.Final
    • 1.1.2.Final
    • None
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gdesmet@redhat.com Geoffrey De Smet (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: