Fix typo in documentation

This commit is contained in:
Moritz Halbritter 2022-11-28 13:39:24 +01:00
parent 926db2c140
commit 012e13527a
2 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@ For example, we can create a `production` group that consists of our `proddb` an
- "prodmq"
----
Our application can now be started using `--spring.profiles.active=production` to active the `production`, `proddb` and `prodmq` profiles in one hit.
Our application can now be started using `--spring.profiles.active=production` to activate the `production`, `proddb` and `prodmq` profiles in one hit.

View File

@ -32,7 +32,7 @@ $ java -Dspring.aot.enabled=true -jar myapplication.jar
----
NOTE: You need to ensure that the jar you are testing includes AOT generated code.
For Maven, this means that you should build with `-Pnative` to active the `native` profile.
For Maven, this means that you should build with `-Pnative` to activate the `native` profile.
For Gradle, you need to ensure that your build includes the `org.graalvm.buildtools.native` plugin.
If your application starts with the `spring.aot.enabled` property set to `true`, then you have higher confidence that it will work when converted to a native image.