java.lang.NoSuchMethodError: 'void io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem
I have the following POM file:
4.0.0
org.iris
org.iris.payments.simulator
1.0.0-SNAPSHOT
quarkus
3.15.0
21
UTF-8
UTF-8
quarkus-bom
io.quarkus.platform
3.37.1
true
3.5.6
3.21.6
2.1.0
42.7.3
${quarkus.platform.group-id}
${quarkus.platform.artifact-id}
${quarkus.platform.version}
pom
import
io.quarkus
quarkus-rest
io.quarkus
quarkus-rest-jackson
io.quarkus
quarkus-arc
io.quarkiverse.jooq
quarkus-jooq
${quarkus-jooq.version}
io.quarkus
quarkus-jdbc-postgresql
org.jooq
jooq-codegen
3.21.6
provided
io.quarkus
quarkus-junit
test
io.rest-assured
rest-assured
test
${quarkus.platform.group-id}
quarkus-maven-plugin
${quarkus.platform.version}
true
maven-compiler-plugin
${compiler-plugin.version}
true
maven-surefire-plugin
${surefire-plugin.version}
@{argLine}
org.jboss.logmanager.LogManager
${maven.home}
maven-failsafe-plugin
${surefire-plugin.version}
integration-test
verify
@{argLine}
${project.build.directory}/${project.build.finalName}-runner
org.jboss.logmanager.LogManager
${maven.home}
org.jooq
jooq-codegen-maven
${jooq.version}
generate-jooq-sources
generate-sources
generate
org.postgresql
postgresql
${postgresql.version}
org.postgresql.Driver
jdbc:postgresql://localhost:5432/simulator
postgres_usr
mysecretpassword
org.jooq.meta.postgres.PostgresDatabase
transactions
public
com.example.jooq
target/generated-sources/jooq
native
native
false
false
true
When I build the project I get:
[ERROR] Failed to execute goal io.quarkus.platform:quarkus-maven-plugin:3.37.1:build (default-build) on project org.iris.payments.simulator: Failed to build quarkus application: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
[ERROR] [error]: Build step io.quarkiverse.jooq.deployment.JooqProcessor#build threw an exception: java.lang.NoSuchMethodError: 'void io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem.(boolean, boolean, java.lang.Class[])'
[ERROR] at io.quarkiverse.jooq.deployment.JooqProcessor.build(JooqProcessor.java:92)
[ERROR] at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:733)
[ERROR] at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:811)
[ERROR] at io.quarkus.builder.BuildContext.run(BuildContext.java:242)
[ERROR] at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
[ERROR] at org.jboss.threads.EnhancedQueueExecutor$Task.doRunWith(EnhancedQueueExecutor.java:2651)
[ERROR] at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2630)
[ERROR] at org.jboss.threads.EnhancedQueueExecutor.runThreadBody(EnhancedQueueExecutor.java:1622)
[ERROR] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1589)
[ERROR] at java.base/java.lang.Thread.run(Thread.java:1583)
[ERROR] at org.jboss.threads.JBossThread.run(JBossThread.java:501)
[ERROR] -> [Help 1]
How can I fix this error?