[ 
https://issues.apache.org/jira/browse/OWB-1047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14498995#comment-14498995
 ] 

Joe Bergmark commented on OWB-1047:
-----------------------------------

Was able to get past the issue above by adding geronimo-annotation_1.2_spec 
artifact to the pom.xml.  There is another issue lurking behind that one that 
appears to be related to the WebBeansConfigurationListener failing to load due 
to missing EL10Adaptor:

SEVERE: Exception sending context initialized event to listener instance of clas
s org.apache.webbeans.servlet.WebBeansConfigurationListener
org.apache.webbeans.exception.WebBeansException: Class not found exception in cr
eating instance with class : org.apache.webbeans.el10.EL10Adaptor

> Guess sample currently not working due to missing javax.annotation.Priority
> ---------------------------------------------------------------------------
>
>                 Key: OWB-1047
>                 URL: https://issues.apache.org/jira/browse/OWB-1047
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Samples & Documentation
>    Affects Versions: 1.5.0
>            Reporter: Joe Bergmark
>            Priority: Minor
>             Fix For: 1.5.1
>
>
> I ran "mvn tomcat7:run". It looks like some missing dependencies prevent the 
> scanner from reading the classes, which leads to 
> UnsatisfiedResolutionExceptions when the application starts:
> INFO: Skipping deployment of Class class 
> org.apache.webbeans.sample.bean.LoginBeandue to a NoClassDefFoundError: 
> javax/a
> nnotation/Priority
> Apr 16, 2015 4:11:23 PM org.apache.webbeans.config.BeansDeployer 
> deploySingleAnnotatedType
> INFO: Skipping deployment of Class class 
> org.apache.webbeans.sample.bean.ApplicationScopeProducerdue to a 
> NoClassDefFoun
> dError: javax/annotation/Priority
> Apr 16, 2015 4:11:23 PM org.apache.webbeans.config.BeansDeployer 
> deploySingleAnnotatedType
> INFO: Skipping deployment of Class class 
> org.apache.webbeans.sample.guess.NumberProducerdue to a NoClassDefFoundError: 
> j
> avax/annotation/Priority
> Apr 16, 2015 4:11:23 PM 
> org.apache.webbeans.servlet.WebBeansConfigurationListener contextInitialized
> SEVERE: An error occurred while starting application context path : [/guess]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to