Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-90

cannot find beans when working locally with jetty:run

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • M1
    • M2
    • Injection and Lookup
    • None

    Description

      OWB cannot find any beans while running locally in jetty because the beans.xml resides in target/guess/WEB-INF and the classes are in target/classes which isn't scanned therefor!

      Maybe we can introduce some fix for this in WarMetaDataDiscoveryImpl::createURLFromWARFile()?

      A possible workaround in the meantime is to also add an empty src/main/resources/META-INF/beans.xml

      Attachments

        Activity

          People

            gerdogdu Gurkan Erdogdu
            struberg Mark Struberg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: