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

Guess sample currently not working due to missing javax.annotation.Priority

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.5.0
    • 1.6.0
    • None

    Description

      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]

      Attachments

        Activity

          People

            bergmark Joseph E Bergmark
            bergmark Joseph E Bergmark
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: