Commit 4a385e89 authored by Andy Wilkinson's avatar Andy Wilkinson

Mention fully executable jars in Jersey’s scanning limitations

Closes gh-3413
parent 1f994b70
......@@ -2866,11 +2866,12 @@ endpoints, as shown in the following example:
}
----
WARNING: Jersey's support for scanning executable archives is rather limited. For
example, it cannot scan for endpoints in a package found in `WEB-INF/classes` when
running an executable war file. To avoid this limitation, the `packages` method should
not be used, and endpoints should be registered individually by using the `register`
method, as shown in the preceding example.
WARNING: Jersey's support for scanning executable archives is rather limited. For example,
it cannot scan for endpoints in a package found in a <<deployment.adoc#deployment-install,
fully executable jar file>> or in `WEB-INF/classes` when running an executable war file.
To avoid this limitation, the `packages` method should not be used, and endpoints should
be registered individually by using the `register` method, as shown in the preceding
example.
For more advanced customizations, you can also register an arbitrary number of beans that
implement `ResourceConfigCustomizer`.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment