Hi,
I am using jersey 1.4 and extend the Application class to provide a Web-Application. To access the Servlet Configuration I am using a @Context ServletConfig sc property. Everything works fine when testing with com.sun.jersey.jersey-test-framework and grizzly web server.
But when building the war file and deploying to Tomcat 6 I got the following problem:
Nov 22, 2010 11:41:56 AM com.sun.jersey.spi.inject.Errors processErrorMessages
SEVERE: The following errors and warnings have been detected with resource and/or provider classes:
SEVERE: Missing dependency for field: javax.servlet.ServletConfig com....Application.sc
Any ideas what might be wrong or missing in my maven dependency configuration?
Thanks a lot!
Best, Timo