Pax Web Not Finding javax.servlet.annotations.HandlesType

Description

When running activemqweb in pax-web 3.0.0.M3 I am seeing the following error when parsing web.xml:

2013-03-07 01:52:17,093 | INFO | ctivemq.server]) | ActiveMQServiceFactory$1 | pport.AbstractApplicationContext 503 | 93 - org.springframework.context - 3.1.4.RELEASE | Refreshing org.apache.activemq.osgi.ActiveMQServiceFactory$1@297a7a29: startup date [Thu Mar 07 01:52:17 EST 2013]; root of context hierarchy
2013-03-07 01:52:17,120 | INFO | BundleWatcher: 1 | WebXmlObserver | nder.war.internal.WebXmlObserver 97 | 73 - org.ops4j.pax.web.pax-web-extender-war - 3.0.0.M3 | Using [activemqweb] as web application context name
2013-03-07 01:52:17,122 | INFO | BundleWatcher: 1 | WebXmlObserver | nder.war.internal.WebXmlObserver 100 | 73 - org.ops4j.pax.web.pax-web-extender-war - 3.0.0.M3 | [0] virtual hosts defined in bundle header
2013-03-07 01:52:17,126 | INFO | BundleWatcher: 1 | WebXmlObserver | nder.war.internal.WebXmlObserver 103 | 73 - org.ops4j.pax.web.pax-web-extender-war - 3.0.0.M3 | [0] connectors defined in bundle header
2013-03-07 01:52:17,133 | INFO | BundleWatcher: 1 | WebXmlObserver | nder.war.internal.WebXmlObserver 144 | 73 - org.ops4j.pax.web.pax-web-extender-war - 3.0.0.M3 | Using [] as web application root path
2013-03-07 01:52:17,172 | ERROR | BundleWatcher: 1 | DOMWebXmlParser | ernal.parser.dom.DOMWebXmlParser 155 | 73 - org.ops4j.pax.web.pax-web-extender-war - 3.0.0.M3 | Cannot parse web.xml
java.lang.ClassNotFoundException: javax.servlet.annotation.HandlesTypes
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)[osgi-3.8.0.v20120529-1548.jar:]
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)[osgi-3.8.0.v20120529-1548.jar:]
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)[osgi-3.8.0.v20120529-1548.jar:]
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)[osgi-3.8.0.v20120529-1548.jar:]
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)[:1.7.0_15]
at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:340)[osgi-3.8.0.v20120529-1548.jar:]
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)[osgi-3.8.0.v20120529-1548.jar:]
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1212)[osgi-3.8.0.v20120529-1548.jar:]
at org.ops4j.pax.web.extender.war.internal.parser.dom.DOMWebXmlParser.servletContainerIntializerScan(DOMWebXmlParser.java:394)[73:org.ops4j.pax.web.pax-web-extender-war:3.0.0.M3]
at org.ops4j.pax.web.extender.war.internal.parser.dom.DOMWebXmlParser.parse(DOMWebXmlParser.java:135)[73:org.ops4j.pax.web.pax-web-extender-war:3.0.0.M3]
at org.ops4j.pax.web.extender.war.internal.WebXmlObserver.addingEntries(WebXmlObserver.java:150)[73:org.ops4j.pax.web.pax-web-extender-war:3.0.0.M3]
at org.ops4j.pax.swissbox.extender.BundleWatcher$3.run(BundleWatcher.java:226)[73:org.ops4j.pax.web.pax-web-extender-war:3.0.0.M3]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_15]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[:1.7.0_15]
at java.util.concurrent.FutureTask.run(FutureTask.java:166)[:1.7.0_15]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)[:1.7.0_15]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)[:1.7.0_15]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_15]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_15]
at java.lang.Thread.run(Thread.java:722)[:1.7.0_15]

More analysis is needed here. Could Pax Web be missing an import statement?

Environment

None

Status

Assignee

Achim Nierbeck

Reporter

G

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure