diff --git a/bom/application/pom.xml b/bom/application/pom.xml
index b619e2275d9ed..ba3290c658f86 100644
--- a/bom/application/pom.xml
+++ b/bom/application/pom.xml
@@ -181,7 +181,7 @@
0.3.0
4.13.1
6.1.SP1-SNAPSHOT
- 2.1.SP2
+ 2.1.SP2-SNAPSHOT
5.4.Final
2.1.SP1
5.12.0
@@ -5876,6 +5876,11 @@
quarkus-spring-beans-api
${quarkus-spring-api.version}
+
+ io.quarkus
+ quarkus-spring-aop-api
+ ${quarkus-spring-api.version}
+
io.quarkus
quarkus-spring-data-jpa-api
diff --git a/extensions/spring-data-jpa/runtime/pom.xml b/extensions/spring-data-jpa/runtime/pom.xml
index 58a40263b61b2..48ed4cbf784df 100644
--- a/extensions/spring-data-jpa/runtime/pom.xml
+++ b/extensions/spring-data-jpa/runtime/pom.xml
@@ -38,6 +38,10 @@
io.quarkus
quarkus-spring-core-api
+
+ io.quarkus
+ quarkus-spring-aop-api
+
io.quarkus
quarkus-spring-boot-orm-api
diff --git a/integration-tests/spring-data-jpa/src/main/resources/application.properties b/integration-tests/spring-data-jpa/src/main/resources/application.properties
index a4cde9e7582bb..2abadc97530a6 100644
--- a/integration-tests/spring-data-jpa/src/main/resources/application.properties
+++ b/integration-tests/spring-data-jpa/src/main/resources/application.properties
@@ -7,7 +7,7 @@ quarkus.hibernate-orm.database.generation=drop-and-create
# DataGenerator uses java.util.Random => needs to be runtime initialized
# as j.u.Random is prohibited in the native image heap. Otherwise
# random data becomes deterministic
-quarkus.native.additional-build-args=--initialize-at-run-time=io.quarkus.it.spring.data.jpa.DataGenerator
+quarkus.native.additional-build-args=--initialize-at-run-time=io.quarkus.it.spring.data.jpa.DataGenerator\\,org.springframework.data.domain.Sort$TypedSort,--initialize-at-build-time=org.springframework.aop,-H:TraceClassInitialization=true,-H:AbortOnTypeReachable=org.springframework.data.util.MethodInvocationRecorder
#quarkus.hibernate-orm.log.sql=true
%prod.quarkus.hibernate-orm.sql-load-script=import.sql