Many thanks Jaikiran - I'll give that a try!
Jaikiran Pai wrote:
Dan Lingard wrote:
The stuff in the web-app element looks very different. I've no idea what this means, unfortunately, but I presume this is the root of my problem? Would just changing the web-app line to be in line with my working web.xml be sufficient?
Yes, changing the web.xml to use the 2.5 version of the xsd should be enough. That would then instruct the server that you are deploying a 2.5 version of a web application. Prior versions did not have support for injection into servlets, so containers ignore the annotations in your servlet.
Jaikiran Pai wrote:What is the xsd declaration in the web.xml of your application which is running into trouble? The "version" attribute should be 2.5