From 4a385e89bdaf8a1db145e0a9c8af5245bc84d509 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Tue, 27 Nov 2018 12:35:35 +0000 Subject: [PATCH] =?UTF-8?q?Mention=20fully=20executable=20jars=20in=20Jers?= =?UTF-8?q?ey=E2=80=99s=20scanning=20limitations?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes gh-3413 --- .../src/main/asciidoc/spring-boot-features.adoc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index 11fdc7d1e3b..98364ed35de 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -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 <> 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`.