Skip to content

Commit 4a385e8

Browse files
committed
Mention fully executable jars in Jersey’s scanning limitations
Closes gh-3413
1 parent 1f994b7 commit 4a385e8

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2866,11 +2866,12 @@ endpoints, as shown in the following example:
28662866
}
28672867
----
28682868

2869-
WARNING: Jersey's support for scanning executable archives is rather limited. For
2870-
example, it cannot scan for endpoints in a package found in `WEB-INF/classes` when
2871-
running an executable war file. To avoid this limitation, the `packages` method should
2872-
not be used, and endpoints should be registered individually by using the `register`
2873-
method, as shown in the preceding example.
2869+
WARNING: Jersey's support for scanning executable archives is rather limited. For example,
2870+
it cannot scan for endpoints in a package found in a <<deployment.adoc#deployment-install,
2871+
fully executable jar file>> or in `WEB-INF/classes` when running an executable war file.
2872+
To avoid this limitation, the `packages` method should not be used, and endpoints should
2873+
be registered individually by using the `register` method, as shown in the preceding
2874+
example.
28742875

28752876
For more advanced customizations, you can also register an arbitrary number of beans that
28762877
implement `ResourceConfigCustomizer`.

0 commit comments

Comments
 (0)