[ 
https://issues.apache.org/jira/browse/OWB-90?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Struberg resolved OWB-90.
------------------------------

       Resolution: Fixed
    Fix Version/s: M2

checked in a workaround by adding META-INF/beans.xml to src/main/resources

> cannot find beans when working locally with jetty:run
> -----------------------------------------------------
>
>                 Key: OWB-90
>                 URL: https://issues.apache.org/jira/browse/OWB-90
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Injection and Lookup
>    Affects Versions: M1
>            Reporter: Mark Struberg
>            Assignee: Gurkan Erdogdu
>             Fix For: M2
>
>
> 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 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to