-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
3.0.20.Final, 3.6.3.Final
-
None
SCENARIO:
Let's have an application that uses just resteasy-client (not server!)
EXPECTED:
None of its dependencies should declare @WebServlet
ACTUALLY:
resteasy-jaxrs declares (since 3.0.20.Final) org.jboss.resteasy.plugins.server.servlet.HttpServlet30Dispatcher as a @WebServlet
Why is it a problem?
a) Because this global servlet conflicts with some frameworks e.g. Spring MVC
b) it's unexpected that applying a CLIENT library causes registration of SERVLET which is by it nature server-side.
See also https://issues.jboss.org/browse/RESTEASY-1748
A partial workaround exists:
metadata-complete="true" in web.xml
(but it may influence a lot of other technologies)
- is related to
-
RESTEASY-1748 Resteasy-based application not deploying under Weblogic application server
- Resolved
-
RESTEASY-2319 Resteasy-based application not deploying under Weblogic application server
- Resolved