You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Joe Bergmark (JIRA)" <ji...@apache.org> on 2015/04/16 22:43:58 UTC

[jira] [Created] (OWB-1047) Guess sample currently not working due to missing javax.annotation.Priority

Joe Bergmark created OWB-1047:
---------------------------------

             Summary: 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)