Can someone tell me why I am getting the following error? I am trying to deploy the Titan example from the Enterprise JavaBeans 3.0 book and I can’t get the jboss server to start from myelipse.
It seems to be having a problem with annotation resource load.
-Denis
2008-10-26 19:34:52,345 ERROR [org.apache.tomcat.util.modeler.Registry] Null component jboss.web:type=JspMonitor,name=jsp,WebModule=//localhost/,J2EEApplication=none,J2EEServer=none
2008-10-26 19:34:52,346 ERROR [org.apache.tomcat.util.modeler.BaseModelMBean] Exception invoking method addChild
java.lang.NoClassDefFoundError: javax/annotation/Resource
at org.apache.catalina.startup.WebAnnotationSet.loadClassAnnotation(WebAnnotationSet.java:158)
at org.apache.catalina.startup.WebAnnotationSet.loadApplicationListenerAnnotations(WebAnnotationSet.java:73)
at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:56)
at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:297)
at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1064)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:261)