What is the "version" of your web.xml. I think it is 2.4. Because of
this annotations are not processed and this is considered as a JAXRPC
based service and hence this exception.
Switch your web.xml to 2.5 based ones (example below) and try again.
But this error is completely misleading. Please file a bug on 9.1 and
attach this WAR that produced this error.
Here is how a Servlet2.5 based web.xml looks like:
<?xml version="1.0" encoding="UTF-8"?>
On Wed, 2006-08-23 at 10:45, Oleksiy Stashok wrote:
> > Hi,
> > i have a problem when deploying WS to web container.
> > If i create war file just with WS implementation class and no
> > descriptors - it deploys fine.
> > When i add webservices.xml description to the same war - it deploys fine.
> > But once i add web.xml file to war file (even without any servlet
> > definition) - get error on deployment phase(attached).
> > Is there any restriction in 109 deployment on web.xml? I tried to find
> > such there and didnt see anything about that.
> > WBR,
> > Alexey.