You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2009/04/20 03:08:47 UTC

[jira] Resolved: (OWB-90) cannot find beans when working locally with jetty:run

     [ 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.