doc: Quarkus launch rebuild optimization (#28320)

Suggest a command which performs the update of the class loading indices
only once.
Closes #28336
Signed-off-by: Michal Růžička <michal.ruza@gmail.com>
This commit is contained in:
mruzicka 2024-05-10 12:28:38 +02:00 committed by GitHub
parent 1c3890bb0e
commit 6864ee0ead
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -241,7 +241,7 @@ If you find that your server will not start due to a `NoSuchFileException` error
[source,bash]
----
./kc.sh -Dquarkus.launch.rebuild=true
./kc.sh -Dquarkus.launch.rebuild=true --help
----
This will force Quarkus to rebuild the classloading related index files. From there you should be able to perform a non-optimized start or build without an exception.