Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.5.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]