jbangdev / jbang

Unleash the power of Java - JBang Lets Students, Educators and Professional Developers create, edit and run self-contained source-only Java programs with unprecedented ease.
https://jbang.dev
MIT License
1.43k stars 159 forks source link

Quarkus Hibernate reactive not working #685

Open KMUS opened 3 years ago

KMUS commented 3 years ago

Jbang will fail with dependency io.quarkus:quarkus-hibernate-reactive. Without it, everything works as expected.

application.properties

quarkus.banner.path = banner.txt

quarkus.datasource.db-kind = postgresql
quarkus.datasource.username = user
quarkus.datasource.password = password
quarkus.datasource.reactive.url = postgresql://localhost:5432/database

quarkus.http.cors=true
quarkus.http.cors.origins=*
quarkus.http.cors.headers=accept, origin, authorization, content-type, x-requested-with
quarkus.http.cors.methods=GET, OPTIONS
///usr/bin/env jbang "$0" "$@" ; exit $?
//DEPS io.quarkus:quarkus-bom:1.11.0.Final@pom
//DEPS io.quarkus:quarkus-scheduler
//DEPS io.quarkus:quarkus-smallrye-reactive-messaging-kafka
//DEPS io.quarkus:quarkus-resteasy-reactive-jackson
//DEPS io.quarkus:quarkus-reactive-pg-client
//DEPS io.quarkus:quarkus-hibernate-reactive
//DEPS org.projectlombok:lombok:1.18.12
//SOURCES **/*.java
//FILES application.properties=../../../../resources/application.properties
//FILES reflect-config.json=../../../../resources/reflect-config.json
//FILES banner.txt=../../../../resources/banner.txt
//REPOS repo1=http://mvn.foobar.net
//REPOS repo2=https://repo.maven.apache.org/maven2/
//REPOS confluent=http://packages.confluent.io/maven/
//JAVAC_OPTIONS -parameters
//JAVA_OPTIONS -Djava.util.logging.manager=org.jboss.logmanager.LogManager

//not working io.confluent.ksql:ksqldb-api-client:6.0.0

package net.foobar.event;

import io.smallrye.mutiny.Multi;
import io.vertx.mutiny.pgclient.PgPool;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import net.foobar.event.model.AssetlogKafkaModel;
import net.foobar.event.model.TestModel;
import org.jboss.resteasy.reactive.RestSseElementType;

@Path("events")
@ApplicationScoped
public class EventResource {

    @Inject
    PgPool client;

    @GET
    @Path("test")
    @Produces(MediaType.SERVER_SENT_EVENTS)
    @RestSseElementType(MediaType.APPLICATION_JSON)
    public Multi<TestModel> test() {
        return client.query("SELECT * FROM kafka_event_test").execute()
            .onItem().transformToMulti(set -> Multi.createFrom().iterable(set))
            .onItem().transform(AssetlogKafkaModel::from2);
    }
}
jbang cache clear
jbang --verbose EventResource.java
Jan 26, 2021 7:01:59 PM org.jboss.threads.Version <clinit>
INFO: JBoss Threads version 3.2.0.Final
[jbang] Deleting folder /home/user/.jbang/cache/jars/EventResource.java.5130a9da76260e7a725025a3d69e25ede24fbfdf8d07f026a948e9dce5a3c4ff
[jbang] [ERROR] Issue running postBuild()
dev.jbang.ExitException: Issue running postBuild()
        at dev.jbang.IntegrationManager.runIntegration(IntegrationManager.java:134)
        at dev.jbang.cli.BaseBuildCommand.buildJar(BaseBuildCommand.java:214)
        at dev.jbang.cli.BaseBuildCommand.build(BaseBuildCommand.java:137)
        at dev.jbang.cli.Run.prepareArtifacts(Run.java:83)
        at dev.jbang.cli.Run.doCall(Run.java:71)
        at dev.jbang.cli.BaseCommand.call(BaseCommand.java:85)
        at dev.jbang.cli.BaseCommand.call(BaseCommand.java:12)
        at picocli.CommandLine.executeUserObject(CommandLine.java:1953)
        at picocli.CommandLine.access$1300(CommandLine.java:145)
        at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2352)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2346)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2311)
        at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
        at picocli.CommandLine.execute(CommandLine.java:2078)
        at dev.jbang.Main.main(Main.java:14)
Caused by: java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at dev.jbang.IntegrationManager.runIntegration(IntegrationManager.java:98)
        ... 14 more
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
        at io.quarkus.launcher.JBangIntegration.postBuild(JBangIntegration.java:129)
        ... 19 more
Caused by: java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at io.quarkus.launcher.JBangIntegration.postBuild(JBangIntegration.java:121)
        ... 19 more
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
        [error]: Build step io.quarkus.agroal.deployment.AgroalProcessor#build threw an exception: io.quarkus.runtime.configuration.ConfigurationException: Unable to find a JDBC driver corresponding to the database kind 'postgresql' for the default datasource. Either provide a suitable JDBC driver extension, define the driver manually, or disable the JDBC datasource by adding 'quarkus.datasource.jdbc=false' to your configuration if you don't need it.
        at io.quarkus.agroal.deployment.AgroalProcessor.resolveDriver(AgroalProcessor.java:313)
        at io.quarkus.agroal.deployment.AgroalProcessor.getAggregatedConfigBuildItems(AgroalProcessor.java:267)
        at io.quarkus.agroal.deployment.AgroalProcessor.build(AgroalProcessor.java:81)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at io.quarkus.deployment.ExtensionLoader$2.execute(ExtensionLoader.java:972)
        at io.quarkus.builder.BuildContext.run(BuildContext.java:277)
        at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2415)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1452)
        at java.base/java.lang.Thread.run(Thread.java:834)
        at org.jboss.threads.JBossThread.run(JBossThread.java:501)

        at io.quarkus.bootstrap.jbang.JBangBuilderImpl.postBuild(JBangBuilderImpl.java:86)
        ... 24 more
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
        [error]: Build step io.quarkus.agroal.deployment.AgroalProcessor#build threw an exception: io.quarkus.runtime.configuration.ConfigurationException: Unable to find a JDBC driver corresponding to the database kind 'postgresql' for the default datasource. Either provide a suitable JDBC driver extension, define the driver manually, or disable the JDBC datasource by adding 'quarkus.datasource.jdbc=false' to your configuration if you don't need it.
        at io.quarkus.agroal.deployment.AgroalProcessor.resolveDriver(AgroalProcessor.java:313)
        at io.quarkus.agroal.deployment.AgroalProcessor.getAggregatedConfigBuildItems(AgroalProcessor.java:267)
        at io.quarkus.agroal.deployment.AgroalProcessor.build(AgroalProcessor.java:81)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at io.quarkus.deployment.ExtensionLoader$2.execute(ExtensionLoader.java:972)
        at io.quarkus.builder.BuildContext.run(BuildContext.java:277)
        at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2415)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1452)
        at java.base/java.lang.Thread.run(Thread.java:834)
        at org.jboss.threads.JBossThread.run(JBossThread.java:501)

        at io.quarkus.bootstrap.app.CuratedApplication.runInCl(CuratedApplication.java:131)
        at io.quarkus.bootstrap.app.CuratedApplication.runInAugmentClassLoader(CuratedApplication.java:81)
        at io.quarkus.bootstrap.jbang.JBangBuilderImpl.postBuild(JBangBuilderImpl.java:83)
        ... 24 more
Caused by: java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
        [error]: Build step io.quarkus.agroal.deployment.AgroalProcessor#build threw an exception: io.quarkus.runtime.configuration.ConfigurationException: Unable to find a JDBC driver corresponding to the database kind 'postgresql' for the default datasource. Either provide a suitable JDBC driver extension, define the driver manually, or disable the JDBC datasource by adding 'quarkus.datasource.jdbc=false' to your configuration if you don't need it.
        at io.quarkus.agroal.deployment.AgroalProcessor.resolveDriver(AgroalProcessor.java:313)
        at io.quarkus.agroal.deployment.AgroalProcessor.getAggregatedConfigBuildItems(AgroalProcessor.java:267)
        at io.quarkus.agroal.deployment.AgroalProcessor.build(AgroalProcessor.java:81)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at io.quarkus.deployment.ExtensionLoader$2.execute(ExtensionLoader.java:972)
        at io.quarkus.builder.BuildContext.run(BuildContext.java:277)
        at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2415)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1452)
        at java.base/java.lang.Thread.run(Thread.java:834)
        at org.jboss.threads.JBossThread.run(JBossThread.java:501)

        at io.quarkus.deployment.jbang.JBangAugmentorImpl.accept(JBangAugmentorImpl.java:124)
        at io.quarkus.deployment.jbang.JBangAugmentorImpl.accept(JBangAugmentorImpl.java:40)
        at io.quarkus.bootstrap.app.CuratedApplication.runInCl(CuratedApplication.java:128)
        ... 26 more
Caused by: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
        [error]: Build step io.quarkus.agroal.deployment.AgroalProcessor#build threw an exception: io.quarkus.runtime.configuration.ConfigurationException: Unable to find a JDBC driver corresponding to the database kind 'postgresql' for the default datasource. Either provide a suitable JDBC driver extension, define the driver manually, or disable the JDBC datasource by adding 'quarkus.datasource.jdbc=false' to your configuration if you don't need it.
        at io.quarkus.agroal.deployment.AgroalProcessor.resolveDriver(AgroalProcessor.java:313)
        at io.quarkus.agroal.deployment.AgroalProcessor.getAggregatedConfigBuildItems(AgroalProcessor.java:267)
        at io.quarkus.agroal.deployment.AgroalProcessor.build(AgroalProcessor.java:81)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at io.quarkus.deployment.ExtensionLoader$2.execute(ExtensionLoader.java:972)
        at io.quarkus.builder.BuildContext.run(BuildContext.java:277)
        at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2415)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1452)
        at java.base/java.lang.Thread.run(Thread.java:834)
        at org.jboss.threads.JBossThread.run(JBossThread.java:501)

        at io.quarkus.builder.Execution.run(Execution.java:116)
        at io.quarkus.builder.BuildExecutionBuilder.execute(BuildExecutionBuilder.java:79)
        at io.quarkus.deployment.QuarkusAugmentor.run(QuarkusAugmentor.java:148)
        at io.quarkus.deployment.jbang.JBangAugmentorImpl.accept(JBangAugmentorImpl.java:101)
        ... 28 more
Caused by: io.quarkus.runtime.configuration.ConfigurationException: Unable to find a JDBC driver corresponding to the database kind 'postgresql' for the default datasource. Either provide a suitable JDBC driver extension, define the driver manually, or disable the JDBC datasource by adding 'quarkus.datasource.jdbc=false' to your configuration if you don't need it.
        at io.quarkus.agroal.deployment.AgroalProcessor.resolveDriver(AgroalProcessor.java:313)
        at io.quarkus.agroal.deployment.AgroalProcessor.getAggregatedConfigBuildItems(AgroalProcessor.java:267)
        at io.quarkus.agroal.deployment.AgroalProcessor.build(AgroalProcessor.java:81)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at io.quarkus.deployment.ExtensionLoader$2.execute(ExtensionLoader.java:972)
        at io.quarkus.builder.BuildContext.run(BuildContext.java:277)
        at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2415)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1452)
        at java.base/java.lang.Thread.run(Thread.java:834)
        at org.jboss.threads.JBossThread.run(JBossThread.java:501)
[jbang] If you believe this a bug in jbang open issue at https://github.com/jbangdev/jbang/issues
maxandersen commented 3 years ago

Interesting. Do you have an example without external files or include the files so I can be sure I reproduce the same ?

maxandersen commented 3 years ago

I tried reproducing - but as your file/example aren't complete I'm not able to get same error atm.

KMUS commented 3 years ago

Interesting. Do you have an example without external files or include the files so I can be sure I reproduce the same ?

You can easily reproduce the mentioned error with this sample file. Removing line //DEPS io.quarkus:quarkus-hibernate-reactive and the application starts immediately.

java --version

openjdk 11.0.9 2020-10-20
OpenJDK Runtime Environment GraalVM CE 20.3.0 (build 11.0.9+10-jvmci-20.3-b06)
OpenJDK 64-Bit Server VM GraalVM CE 20.3.0 (build 11.0.9+10-jvmci-20.3-b06, mixed mode, sharing)

sample file

///usr/bin/env jbang "$0" "$@" ; exit $?
//DEPS io.quarkus:quarkus-bom:1.11.0.Final@pom
//DEPS io.quarkus:quarkus-scheduler
//DEPS io.quarkus:quarkus-smallrye-reactive-messaging-kafka
//DEPS io.quarkus:quarkus-resteasy-reactive-jackson
//DEPS io.quarkus:quarkus-reactive-pg-client
//DEPS io.quarkus:quarkus-hibernate-reactive
//DEPS org.projectlombok:lombok:1.18.12
//SOURCES **/*.java
//FILES application.properties
//REPOS repo1=http://mvn.foobar.net
//REPOS repo2=https://repo.maven.apache.org/maven2/
//REPOS confluent=http://packages.confluent.io/maven/
//JAVAC_OPTIONS -parameters
//JAVA_OPTIONS -Djava.util.logging.manager=org.jboss.logmanager.LogManager

package net.foobar.event;

import io.smallrye.mutiny.Multi;
import io.vertx.mutiny.pgclient.PgPool;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import org.jboss.resteasy.reactive.RestSseElementType;

@Path("events")
@ApplicationScoped
public class EventResource {

    @Inject
    PgPool client;

    @GET
    @Path("test")
    public String foobar() {
        return "foobar";
    }
}

jbang --verbose EventResource.java

[jbang] System Java version detected as 11
[jbang] System Java version matches requested version 11
[jbang] Resolving dependencies...
[jbang] Loading MavenCoordinate [io.quarkus:quarkus-bom:pom:1.11.0.Final]
[jbang]     Resolving io.quarkus:quarkus-scheduler...Done
[jbang]     Resolving io.quarkus:quarkus-smallrye-reactive-messaging-kafka...Done
[jbang]     Resolving io.quarkus:quarkus-resteasy-reactive-jackson...Done
[jbang]     Resolving io.quarkus:quarkus-reactive-pg-client...Done
[jbang]     Resolving io.quarkus:quarkus-hibernate-reactive...Done
[jbang]     Resolving org.projectlombok:lombok:1.18.12...Done
[jbang] Dependencies resolved
[jbang] Copying ../../../../resources/application.properties to /home/user/.jbang/cache/jars/EventResource.java.eae47010aeea3f596d839dfb8af2fa5a096924d8466446e8e0e23e52ee3113b5/application.properties
[jbang] Copying ../../../../resources/reflect-config.json to /home/user/.jbang/cache/jars/EventResource.java.eae47010aeea3f596d839dfb8af2fa5a096924d8466446e8e0e23e52ee3113b5/reflect-config.json
[jbang] Building jar...
[jbang] compile: /opt/java/sdk/graalvm/bin/javac -parameters -classpath /home/user/.m2/repository/io/quarkus/quarkus-scheduler/1.11.0.Final/quarkus-scheduler-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-arc/1.11.0.Final/quarkus-arc-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/arc/arc/1.11.0.Final/arc-1.11.0.Final.jar:/home/user/.m2/repository/jakarta/enterprise/jakarta.enterprise.cdi-api/2.0.2/jakarta.enterprise.cdi-api-2.0.2.jar:/home/user/.m2/repository/jakarta/el/jakarta.el-api/3.0.3/jakarta.el-api-3.0.3.jar:/home/user/.m2/repository/jakarta/interceptor/jakarta.interceptor-api/1.2.5/jakarta.interceptor-api-1.2.5.jar:/home/user/.m2/repository/jakarta/annotation/jakarta.annotation-api/1.3.5/jakarta.annotation-api-1.3.5.jar:/home/user/.m2/repository/jakarta/transaction/jakarta.transaction-api/1.3.3/jakarta.transaction-api-1.3.3.jar:/home/user/.m2/repository/org/jboss/logging/jboss-logging/3.4.1.Final/jboss-logging-3.4.1.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-core/1.11.0.Final/quarkus-core-1.11.0.Final.jar:/home/user/.m2/repository/jakarta/inject/jakarta.inject-api/1.0/jakarta.inject-api-1.0.jar:/home/user/.m2/repository/io/quarkus/quarkus-ide-launcher/1.11.0.Final/quarkus-ide-launcher-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-development-mode-spi/1.11.0.Final/quarkus-development-mode-spi-1.11.0.Final.jar:/home/user/.m2/repository/io/smallrye/config/smallrye-config/1.10.0/smallrye-config-1.10.0.jar:/home/user/.m2/repository/io/smallrye/common/smallrye-common-annotation/1.5.0/smallrye-common-annotation-1.5.0.jar:/home/user/.m2/repository/io/smallrye/config/smallrye-config-common/1.10.0/smallrye-config-common-1.10.0.jar:/home/user/.m2/repository/org/eclipse/microprofile/config/microprofile-config-api/1.4/microprofile-config-api-1.4.jar:/home/user/.m2/repository/io/smallrye/common/smallrye-common-expression/1.5.0/smallrye-common-expression-1.5.0.jar:/home/user/.m2/repository/io/smallrye/common/smallrye-common-function/1.5.0/smallrye-common-function-1.5.0.jar:/home/user/.m2/repository/io/smallrye/common/smallrye-common-constraint/1.5.0/smallrye-common-constraint-1.5.0.jar:/home/user/.m2/repository/io/smallrye/common/smallrye-common-classloader/1.5.0/smallrye-common-classloader-1.5.0.jar:/home/user/.m2/repository/org/jboss/logmanager/jboss-logmanager-embedded/1.0.6/jboss-logmanager-embedded-1.0.6.jar:/home/user/.m2/repository/org/jboss/logging/jboss-logging-annotations/2.2.0.Final/jboss-logging-annotations-2.2.0.Final.jar:/home/user/.m2/repository/org/jboss/threads/jboss-threads/3.2.0.Final/jboss-threads-3.2.0.Final.jar:/home/user/.m2/repository/org/graalvm/sdk/graal-sdk/20.3.0/graal-sdk-20.3.0.jar:/home/user/.m2/repository/org/wildfly/common/wildfly-common/1.5.4.Final-format-001/wildfly-common-1.5.4.Final-format-001.jar:/home/user/.m2/repository/io/quarkus/quarkus-bootstrap-runner/1.11.0.Final/quarkus-bootstrap-runner-1.11.0.Final.jar:/home/user/.m2/repository/io/smallrye/common/smallrye-common-io/1.5.0/smallrye-common-io-1.5.0.jar:/home/user/.m2/repository/org/eclipse/microprofile/context-propagation/microprofile-context-propagation-api/1.0.1/microprofile-context-propagation-api-1.0.1.jar:/home/user/.m2/repository/com/cronutils/cron-utils/9.1.3/cron-utils-9.1.3.jar:/home/user/.m2/repository/org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30.jar:/home/user/.m2/repository/org/apache/commons/commons-lang3/3.9/commons-lang3-3.9.jar:/home/user/.m2/repository/org/jboss/slf4j/slf4j-jboss-logmanager/1.1.0.Final/slf4j-jboss-logmanager-1.1.0.Final.jar:/home/user/.m2/repository/org/glassfish/jakarta.el/3.0.3/jakarta.el-3.0.3.jar:/home/user/.m2/repository/io/quarkus/quarkus-smallrye-reactive-messaging-kafka/1.11.0.Final/quarkus-smallrye-reactive-messaging-kafka-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-kafka-client/1.11.0.Final/quarkus-kafka-client-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-caffeine/1.11.0.Final/quarkus-caffeine-1.11.0.Final.jar:/home/user/.m2/repository/com/github/ben-manes/caffeine/caffeine/2.8.8/caffeine-2.8.8.jar:/home/user/.m2/repository/com/google/errorprone/error_prone_annotations/2.2.0/error_prone_annotations-2.2.0.jar:/home/user/.m2/repository/io/smallrye/reactive/smallrye-reactive-messaging-kafka/2.7.1/smallrye-reactive-messaging-kafka-2.7.1.jar:/home/user/.m2/repository/io/smallrye/reactive/smallrye-mutiny-vertx-kafka-client/1.3.0/smallrye-mutiny-vertx-kafka-client-1.3.0.jar:/home/user/.m2/repository/org/apache/zookeeper/zookeeper/3.5.7/zookeeper-3.5.7.jar:/home/user/.m2/repository/org/apache/zookeeper/zookeeper-jute/3.5.7/zookeeper-jute-3.5.7.jar:/home/user/.m2/repository/org/apache/yetus/audience-annotations/0.5.0/audience-annotations-0.5.0.jar:/home/user/.m2/repository/io/netty/netty-transport-native-epoll/4.1.49.Final/netty-transport-native-epoll-4.1.49.Final.jar:/home/user/.m2/repository/io/netty/netty-transport-native-unix-common/4.1.49.Final/netty-transport-native-unix-common-4.1.49.Final.jar:/home/user/.m2/repository/io/opentelemetry/opentelemetry-api/0.9.1/opentelemetry-api-0.9.1.jar:/home/user/.m2/repository/io/opentelemetry/opentelemetry-context-prop/0.9.1/opentelemetry-context-prop-0.9.1.jar:/home/user/.m2/repository/io/grpc/grpc-context/1.34.0/grpc-context-1.34.0.jar:/home/user/.m2/repository/io/smallrye/reactive/smallrye-reactive-converter-api/1.3.0/smallrye-reactive-converter-api-1.3.0.jar:/home/user/.m2/repository/org/reactivestreams/reactive-streams/1.0.3/reactive-streams-1.0.3.jar:/home/user/.m2/repository/io/smallrye/reactive/mutiny/0.12.5/mutiny-0.12.5.jar:/home/user/.m2/repository/io/quarkus/quarkus-jackson/1.11.0.Final/quarkus-jackson-1.11.0.Final.jar:/home/user/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.11.3/jackson-databind-2.11.3.jar:/home/user/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.11.3/jackson-annotations-2.11.3.jar:/home/user/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.11.3/jackson-core-2.11.3.jar:/home/user/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.11.3/jackson-datatype-jsr310-2.11.3.jar:/home/user/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.11.3/jackson-datatype-jdk8-2.11.3.jar:/home/user/.m2/repository/com/fasterxml/jackson/module/jackson-module-parameter-names/2.11.3/jackson-module-parameter-names-2.11.3.jar:/home/user/.m2/repository/org/apache/kafka/kafka-clients/2.5.0/kafka-clients-2.5.0.jar:/home/user/.m2/repository/com/github/luben/zstd-jni/1.4.4-7/zstd-jni-1.4.4-7.jar:/home/user/.m2/repository/org/lz4/lz4-java/1.7.1/lz4-java-1.7.1.jar:/home/user/.m2/repository/org/xerial/snappy/snappy-java/1.1.7.3/snappy-java-1.1.7.3.jar:/home/user/.m2/repository/io/vertx/vertx-kafka-client/3.9.5/vertx-kafka-client-3.9.5.jar:/home/user/.m2/repository/io/vertx/vertx-core/3.9.5/vertx-core-3.9.5.jar:/home/user/.m2/repository/io/netty/netty-common/4.1.49.Final/netty-common-4.1.49.Final.jar:/home/user/.m2/repository/io/netty/netty-buffer/4.1.49.Final/netty-buffer-4.1.49.Final.jar:/home/user/.m2/repository/io/netty/netty-transport/4.1.49.Final/netty-transport-4.1.49.Final.jar:/home/user/.m2/repository/io/netty/netty-handler/4.1.49.Final/netty-handler-4.1.49.Final.jar:/home/user/.m2/repository/io/netty/netty-codec/4.1.49.Final/netty-codec-4.1.49.Final.jar:/home/user/.m2/repository/io/netty/netty-handler-proxy/4.1.49.Final/netty-handler-proxy-4.1.49.Final.jar:/home/user/.m2/repository/io/netty/netty-codec-socks/4.1.49.Final/netty-codec-socks-4.1.49.Final.jar:/home/user/.m2/repository/io/netty/netty-codec-http/4.1.49.Final/netty-codec-http-4.1.49.Final.jar:/home/user/.m2/repository/io/netty/netty-codec-http2/4.1.49.Final/netty-codec-http2-4.1.49.Final.jar:/home/user/.m2/repository/io/netty/netty-resolver/4.1.49.Final/netty-resolver-4.1.49.Final.jar:/home/user/.m2/repository/io/netty/netty-resolver-dns/4.1.49.Final/netty-resolver-dns-4.1.49.Final.jar:/home/user/.m2/repository/io/netty/netty-codec-dns/4.1.49.Final/netty-codec-dns-4.1.49.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-smallrye-reactive-messaging/1.11.0.Final/quarkus-smallrye-reactive-messaging-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-mutiny-reactive-streams-operators/1.11.0.Final/quarkus-mutiny-reactive-streams-operators-1.11.0.Final.jar:/home/user/.m2/repository/org/eclipse/microprofile/reactive-streams-operators/microprofile-reactive-streams-operators-api/1.0.1/microprofile-reactive-streams-operators-api-1.0.1.jar:/home/user/.m2/repository/org/eclipse/microprofile/reactive-streams-operators/microprofile-reactive-streams-operators-core/1.0.1/microprofile-reactive-streams-operators-core-1.0.1.jar:/home/user/.m2/repository/io/quarkus/quarkus-mutiny/1.11.0.Final/quarkus-mutiny-1.11.0.Final.jar:/home/user/.m2/repository/io/smallrye/reactive/mutiny-reactive-streams-operators/0.12.5/mutiny-reactive-streams-operators-0.12.5.jar:/home/user/.m2/repository/io/smallrye/reactive/mutiny-context-propagation/0.12.5/mutiny-context-propagation-0.12.5.jar:/home/user/.m2/repository/io/quarkus/quarkus-smallrye-context-propagation/1.11.0.Final/quarkus-smallrye-context-propagation-1.11.0.Final.jar:/home/user/.m2/repository/io/smallrye/smallrye-context-propagation/1.0.19/smallrye-context-propagation-1.0.19.jar:/home/user/.m2/repository/io/smallrye/smallrye-context-propagation-api/1.0.19/smallrye-context-propagation-api-1.0.19.jar:/home/user/.m2/repository/io/reactivex/rxjava2/rxjava/2.2.20/rxjava-2.2.20.jar:/home/user/.m2/repository/io/quarkus/quarkus-vertx/1.11.0.Final/quarkus-vertx-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-netty/1.11.0.Final/quarkus-netty-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-vertx-core/1.11.0.Final/quarkus-vertx-core-1.11.0.Final.jar:/home/user/.m2/repository/io/smallrye/reactive/smallrye-axle-generator/1.3.0/smallrye-axle-generator-1.3.0.jar:/home/user/.m2/repository/io/smallrye/reactive/smallrye-axle-core/1.3.0/smallrye-axle-core-1.3.0.jar:/home/user/.m2/repository/io/vertx/vertx-rx-java2/3.9.5/vertx-rx-java2-3.9.5.jar:/home/user/.m2/repository/io/vertx/vertx-rx-gen/3.9.5/vertx-rx-gen-3.9.5.jar:/home/user/.m2/repository/io/smallrye/reactive/smallrye-reactive-messaging-health/2.7.1/smallrye-reactive-messaging-health-2.7.1.jar:/home/user/.m2/repository/org/eclipse/microprofile/health/microprofile-health-api/2.2/microprofile-health-api-2.2.jar:/home/user/.m2/repository/io/smallrye/reactive/smallrye-reactive-messaging-provider/2.7.1/smallrye-reactive-messaging-provider-2.7.1.jar:/home/user/.m2/repository/io/smallrye/reactive/smallrye-reactive-messaging-api/2.7.1/smallrye-reactive-messaging-api-2.7.1.jar:/home/user/.m2/repository/io/smallrye/reactive/smallrye-mutiny-vertx-core/1.3.0/smallrye-mutiny-vertx-core-1.3.0.jar:/home/user/.m2/repository/io/smallrye/reactive/smallrye-mutiny-vertx-runtime/1.3.0/smallrye-mutiny-vertx-runtime-1.3.0.jar:/home/user/.m2/repository/io/smallrye/reactive/vertx-mutiny-generator/1.3.0/vertx-mutiny-generator-1.3.0.jar:/home/user/.m2/repository/io/vertx/vertx-codegen/3.9.5/vertx-codegen-3.9.5.jar:/home/user/.m2/repository/org/mvel/mvel2/2.3.1.Final/mvel2-2.3.1.Final.jar:/home/user/.m2/repository/org/jboss/jandex/2.2.2.Final/jandex-2.2.2.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-resteasy-reactive-jackson/1.11.0.Final/quarkus-resteasy-reactive-jackson-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-resteasy-reactive/1.11.0.Final/quarkus-resteasy-reactive-1.11.0.Final.jar:/home/user/.m2/repository/org/jboss/spec/javax/ws/rs/jboss-jaxrs-api_2.1_spec/2.0.1.Final/jboss-jaxrs-api_2.1_spec-2.0.1.Final.jar:/home/user/.m2/repository/io/quarkus/resteasy/reactive/resteasy-reactive-vertx/1.11.0.Final/resteasy-reactive-vertx-1.11.0.Final.jar:/home/user/.m2/repository/io/vertx/vertx-web/3.9.5/vertx-web-3.9.5.jar:/home/user/.m2/repository/io/vertx/vertx-web-common/3.9.5/vertx-web-common-3.9.5.jar:/home/user/.m2/repository/io/vertx/vertx-auth-common/3.9.5/vertx-auth-common-3.9.5.jar:/home/user/.m2/repository/io/vertx/vertx-bridge-common/3.9.5/vertx-bridge-common-3.9.5.jar:/home/user/.m2/repository/io/quarkus/resteasy/reactive/resteasy-reactive/1.11.0.Final/resteasy-reactive-1.11.0.Final.jar:/home/user/.m2/repository/org/jboss/logging/commons-logging-jboss-logging/1.0.0.Final/commons-logging-jboss-logging-1.0.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-resteasy-reactive-common/1.11.0.Final/quarkus-resteasy-reactive-common-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/resteasy/reactive/resteasy-reactive-common/1.11.0.Final/resteasy-reactive-common-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-vertx-http/1.11.0.Final/quarkus-vertx-http-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-security-runtime-spi/1.11.0.Final/quarkus-security-runtime-spi-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-vertx-http-dev-console-runtime-spi/1.11.0.Final/quarkus-vertx-http-dev-console-runtime-spi-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/security/quarkus-security/1.1.3.Final/quarkus-security-1.1.3.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-jsonp/1.11.0.Final/quarkus-jsonp-1.11.0.Final.jar:/home/user/.m2/repository/org/glassfish/jakarta.json/1.1.6/jakarta.json-1.1.6.jar:/home/user/.m2/repository/io/quarkus/quarkus-reactive-pg-client/1.11.0.Final/quarkus-reactive-pg-client-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-reactive-datasource/1.11.0.Final/quarkus-reactive-datasource-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-datasource/1.11.0.Final/quarkus-datasource-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-datasource-common/1.11.0.Final/quarkus-datasource-common-1.11.0.Final.jar:/home/user/.m2/repository/io/vertx/vertx-sql-client/3.9.5/vertx-sql-client-3.9.5.jar:/home/user/.m2/repository/io/vertx/vertx-pg-client/3.9.5/vertx-pg-client-3.9.5.jar:/home/user/.m2/repository/com/ongres/scram/client/2.1/client-2.1.jar:/home/user/.m2/repository/com/ongres/scram/common/2.1/common-2.1.jar:/home/user/.m2/repository/com/ongres/stringprep/saslprep/1.1/saslprep-1.1.jar:/home/user/.m2/repository/com/ongres/stringprep/stringprep/1.1/stringprep-1.1.jar:/home/user/.m2/repository/io/smallrye/reactive/smallrye-mutiny-vertx-pg-client/1.3.0/smallrye-mutiny-vertx-pg-client-1.3.0.jar:/home/user/.m2/repository/io/smallrye/reactive/smallrye-mutiny-vertx-sql-client/1.3.0/smallrye-mutiny-vertx-sql-client-1.3.0.jar:/home/user/.m2/repository/io/quarkus/quarkus-credentials/1.11.0.Final/quarkus-credentials-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-hibernate-reactive/1.11.0.Final/quarkus-hibernate-reactive-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-hibernate-orm/1.11.0.Final/quarkus-hibernate-orm-1.11.0.Final.jar:/home/user/.m2/repository/org/hibernate/hibernate-core/5.4.27.Final/hibernate-core-5.4.27.Final.jar:/home/user/.m2/repository/net/bytebuddy/byte-buddy/1.10.17/byte-buddy-1.10.17.jar:/home/user/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar:/home/user/.m2/repository/com/fasterxml/classmate/1.3.4/classmate-1.3.4.jar:/home/user/.m2/repository/org/dom4j/dom4j/2.1.3/dom4j-2.1.3.jar:/home/user/.m2/repository/org/hibernate/common/hibernate-commons-annotations/5.1.2.Final/hibernate-commons-annotations-5.1.2.Final.jar:/home/user/.m2/repository/org/hibernate/hibernate-graalvm/5.4.27.Final/hibernate-graalvm-5.4.27.Final.jar:/home/user/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.3.3-b02/jaxb-runtime-2.3.3-b02.jar:/home/user/.m2/repository/org/glassfish/jaxb/txw2/2.3.3-b02/txw2-2.3.3-b02.jar:/home/user/.m2/repository/com/sun/istack/istack-commons-runtime/3.0.10/istack-commons-runtime-3.0.10.jar:/home/user/.m2/repository/com/sun/activation/jakarta.activation/1.2.1/jakarta.activation-1.2.1.jar:/home/user/.m2/repository/org/jboss/spec/javax/xml/bind/jboss-jaxb-api_2.3_spec/2.0.0.Final/jboss-jaxb-api_2.3_spec-2.0.0.Final.jar:/home/user/.m2/repository/jakarta/persistence/jakarta.persistence-api/2.2.3/jakarta.persistence-api-2.2.3.jar:/home/user/.m2/repository/org/hibernate/quarkus-local-cache/0.1.0/quarkus-local-cache-0.1.0.jar:/home/user/.m2/repository/org/hibernate/reactive/hibernate-reactive-core/1.0.0.Beta2/hibernate-reactive-core-1.0.0.Beta2.jar:/home/user/.m2/repository/com/ibm/async/asyncutil/0.1.0/asyncutil-0.1.0.jar:/home/user/.m2/repository/org/projectlombok/lombok/1.18.12/lombok-1.18.12.jar -d /home/user/.jbang/cache/jars/EventResource.java.eae47010aeea3f596d839dfb8af2fa5a096924d8466446e8e0e23e52ee3113b5 EventResource.java
[jbang] Post build with io.quarkus.launcher.JBangIntegration
Downloading from repo1: http://mvn.foobar.net/dev/jbang/user/quarkus/999-SNAPSHOT/maven-metadata.xml
Downloading from repo2: https://repo.maven.apache.org/maven2/dev/jbang/user/quarkus/999-SNAPSHOT/maven-metadata.xml
Downloading from confluent: http://packages.confluent.io/maven/dev/jbang/user/quarkus/999-SNAPSHOT/maven-metadata.xml
Downloading from repo1: http://mvn.foobar.net/dev/jbang/user/quarkus/999-SNAPSHOT/quarkus-999-SNAPSHOT.pom
Downloading from repo2: https://repo.maven.apache.org/maven2/dev/jbang/user/quarkus/999-SNAPSHOT/quarkus-999-SNAPSHOT.pom
Downloading from confluent: http://packages.confluent.io/maven/dev/jbang/user/quarkus/999-SNAPSHOT/quarkus-999-SNAPSHOT.pom
Downloading from repo1: http://mvn.foobar.net/dev/jbang/user/quarkus/999-SNAPSHOT/quarkus-999-SNAPSHOT.pom
Downloading from repo2: https://repo.maven.apache.org/maven2/dev/jbang/user/quarkus/999-SNAPSHOT/quarkus-999-SNAPSHOT.pom
Downloading from confluent: http://packages.confluent.io/maven/dev/jbang/user/quarkus/999-SNAPSHOT/quarkus-999-SNAPSHOT.pom
Jan 27, 2021 9:23:53 AM org.jboss.threads.Version <clinit>
INFO: JBoss Threads version 3.2.0.Final
[jbang] Deleting folder /home/user/.jbang/cache/jars/EventResource.java.eae47010aeea3f596d839dfb8af2fa5a096924d8466446e8e0e23e52ee3113b5
[jbang] [ERROR] Issue running postBuild()
dev.jbang.ExitException: Issue running postBuild()
        at dev.jbang.IntegrationManager.runIntegration(IntegrationManager.java:134)
        at dev.jbang.cli.BaseBuildCommand.buildJar(BaseBuildCommand.java:214)
        at dev.jbang.cli.BaseBuildCommand.build(BaseBuildCommand.java:137)
        at dev.jbang.cli.Run.prepareArtifacts(Run.java:83)
        at dev.jbang.cli.Run.doCall(Run.java:71)
        at dev.jbang.cli.BaseCommand.call(BaseCommand.java:85)
        at dev.jbang.cli.BaseCommand.call(BaseCommand.java:12)
        at picocli.CommandLine.executeUserObject(CommandLine.java:1953)
        at picocli.CommandLine.access$1300(CommandLine.java:145)
        at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2352)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2346)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2311)
        at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
        at picocli.CommandLine.execute(CommandLine.java:2078)
        at dev.jbang.Main.main(Main.java:14)
Caused by: java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at dev.jbang.IntegrationManager.runIntegration(IntegrationManager.java:98)
        ... 14 more
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
        at io.quarkus.launcher.JBangIntegration.postBuild(JBangIntegration.java:129)
        ... 19 more
Caused by: java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at io.quarkus.launcher.JBangIntegration.postBuild(JBangIntegration.java:121)
        ... 19 more
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
        [error]: Build step io.quarkus.agroal.deployment.AgroalProcessor#build threw an exception: io.quarkus.runtime.configuration.ConfigurationException: Unable to find a JDBC driver corresponding to the database kind 'postgresql' for the default datasource. Either provide a suitable JDBC driver extension, define the driver manually, or disable the JDBC datasource by adding 'quarkus.datasource.jdbc=false' to your configuration if you don't need it.
        at io.quarkus.agroal.deployment.AgroalProcessor.resolveDriver(AgroalProcessor.java:313)
        at io.quarkus.agroal.deployment.AgroalProcessor.getAggregatedConfigBuildItems(AgroalProcessor.java:267)
        at io.quarkus.agroal.deployment.AgroalProcessor.build(AgroalProcessor.java:81)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at io.quarkus.deployment.ExtensionLoader$2.execute(ExtensionLoader.java:972)
        at io.quarkus.builder.BuildContext.run(BuildContext.java:277)
        at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2415)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1452)
        at java.base/java.lang.Thread.run(Thread.java:834)
        at org.jboss.threads.JBossThread.run(JBossThread.java:501)

        at io.quarkus.bootstrap.jbang.JBangBuilderImpl.postBuild(JBangBuilderImpl.java:86)
        ... 24 more
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
        [error]: Build step io.quarkus.agroal.deployment.AgroalProcessor#build threw an exception: io.quarkus.runtime.configuration.ConfigurationException: Unable to find a JDBC driver corresponding to the database kind 'postgresql' for the default datasource. Either provide a suitable JDBC driver extension, define the driver manually, or disable the JDBC datasource by adding 'quarkus.datasource.jdbc=false' to your configuration if you don't need it.
        at io.quarkus.agroal.deployment.AgroalProcessor.resolveDriver(AgroalProcessor.java:313)
        at io.quarkus.agroal.deployment.AgroalProcessor.getAggregatedConfigBuildItems(AgroalProcessor.java:267)
        at io.quarkus.agroal.deployment.AgroalProcessor.build(AgroalProcessor.java:81)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at io.quarkus.deployment.ExtensionLoader$2.execute(ExtensionLoader.java:972)
        at io.quarkus.builder.BuildContext.run(BuildContext.java:277)
        at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2415)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1452)
        at java.base/java.lang.Thread.run(Thread.java:834)
        at org.jboss.threads.JBossThread.run(JBossThread.java:501)

        at io.quarkus.bootstrap.app.CuratedApplication.runInCl(CuratedApplication.java:131)
        at io.quarkus.bootstrap.app.CuratedApplication.runInAugmentClassLoader(CuratedApplication.java:81)
        at io.quarkus.bootstrap.jbang.JBangBuilderImpl.postBuild(JBangBuilderImpl.java:83)
        ... 24 more
Caused by: java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
        [error]: Build step io.quarkus.agroal.deployment.AgroalProcessor#build threw an exception: io.quarkus.runtime.configuration.ConfigurationException: Unable to find a JDBC driver corresponding to the database kind 'postgresql' for the default datasource. Either provide a suitable JDBC driver extension, define the driver manually, or disable the JDBC datasource by adding 'quarkus.datasource.jdbc=false' to your configuration if you don't need it.
        at io.quarkus.agroal.deployment.AgroalProcessor.resolveDriver(AgroalProcessor.java:313)
        at io.quarkus.agroal.deployment.AgroalProcessor.getAggregatedConfigBuildItems(AgroalProcessor.java:267)
        at io.quarkus.agroal.deployment.AgroalProcessor.build(AgroalProcessor.java:81)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at io.quarkus.deployment.ExtensionLoader$2.execute(ExtensionLoader.java:972)
        at io.quarkus.builder.BuildContext.run(BuildContext.java:277)
        at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2415)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1452)
        at java.base/java.lang.Thread.run(Thread.java:834)
        at org.jboss.threads.JBossThread.run(JBossThread.java:501)

        at io.quarkus.deployment.jbang.JBangAugmentorImpl.accept(JBangAugmentorImpl.java:124)
        at io.quarkus.deployment.jbang.JBangAugmentorImpl.accept(JBangAugmentorImpl.java:40)
        at io.quarkus.bootstrap.app.CuratedApplication.runInCl(CuratedApplication.java:128)
        ... 26 more
Caused by: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
        [error]: Build step io.quarkus.agroal.deployment.AgroalProcessor#build threw an exception: io.quarkus.runtime.configuration.ConfigurationException: Unable to find a JDBC driver corresponding to the database kind 'postgresql' for the default datasource. Either provide a suitable JDBC driver extension, define the driver manually, or disable the JDBC datasource by adding 'quarkus.datasource.jdbc=false' to your configuration if you don't need it.
        at io.quarkus.agroal.deployment.AgroalProcessor.resolveDriver(AgroalProcessor.java:313)
        at io.quarkus.agroal.deployment.AgroalProcessor.getAggregatedConfigBuildItems(AgroalProcessor.java:267)
        at io.quarkus.agroal.deployment.AgroalProcessor.build(AgroalProcessor.java:81)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at io.quarkus.deployment.ExtensionLoader$2.execute(ExtensionLoader.java:972)
        at io.quarkus.builder.BuildContext.run(BuildContext.java:277)
        at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2415)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1452)
        at java.base/java.lang.Thread.run(Thread.java:834)
        at org.jboss.threads.JBossThread.run(JBossThread.java:501)

        at io.quarkus.builder.Execution.run(Execution.java:116)
        at io.quarkus.builder.BuildExecutionBuilder.execute(BuildExecutionBuilder.java:79)
        at io.quarkus.deployment.QuarkusAugmentor.run(QuarkusAugmentor.java:148)
        at io.quarkus.deployment.jbang.JBangAugmentorImpl.accept(JBangAugmentorImpl.java:101)
        ... 28 more
Caused by: io.quarkus.runtime.configuration.ConfigurationException: Unable to find a JDBC driver corresponding to the database kind 'postgresql' for the default datasource. Either provide a suitable JDBC driver extension, define the driver manually, or disable the JDBC datasource by adding 'quarkus.datasource.jdbc=false' to your configuration if you don't need it.
        at io.quarkus.agroal.deployment.AgroalProcessor.resolveDriver(AgroalProcessor.java:313)
        at io.quarkus.agroal.deployment.AgroalProcessor.getAggregatedConfigBuildItems(AgroalProcessor.java:267)
        at io.quarkus.agroal.deployment.AgroalProcessor.build(AgroalProcessor.java:81)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at io.quarkus.deployment.ExtensionLoader$2.execute(ExtensionLoader.java:972)
        at io.quarkus.builder.BuildContext.run(BuildContext.java:277)
        at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2415)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1452)
        at java.base/java.lang.Thread.run(Thread.java:834)
        at org.jboss.threads.JBossThread.run(JBossThread.java:501)
[jbang] If you believe this a bug in jbang open issue at https://github.com/jbangdev/jbang/issues
maxandersen commented 3 years ago

I have to remove the following to even get it to build:

//SOURCES **/*.java
//FILES application.properties

then when build is running there is a bunch of checksum errors due to the many nonexistent maven repos (are they really necessary?)

Then I get:

Caused by: javax.enterprise.inject.UnsatisfiedResolutionException: Unsatisfied dependency for type io.vertx.mutiny.pgclient.PgPool and qualifiers [@Default]
    - java member: net.foobar.event.EventResource#client
    - declared on CLASS bean [types=[java.lang.Object, net.foobar.event.EventResource], qualifiers=[@Default, @Any], target=net.foobar.event.EventResource]
    at io.quarkus.arc.processor.Beans.resolveInjectionPoint(Beans.java:484)
    at io.quarkus.arc.processor.BeanInfo.init(BeanInfo.java:378)
    at io.quarkus.arc.processor.BeanDeployment.init(BeanDeployment.java:237)

no matter if I have hibernate reactive included or not so I'll still argue there is something in your out *.java sources or application.properties that affects the different errors we get.

maxandersen commented 3 years ago

wait i misread your stacktrace - I get the same error.

maxandersen commented 3 years ago

i'm not sure why the error happens but setting quarkus.datasource.jdbc=false seem to fix things for me.

KMUS commented 3 years ago

i'm not sure why the error happens but setting quarkus.datasource.jdbc=false seem to fix things for me.

sample

///usr/bin/env jbang "$0" "$@" ; exit $?
//DEPS io.quarkus:quarkus-bom:1.11.0.Final@pom
//DEPS io.quarkus:quarkus-scheduler
//DEPS io.quarkus:quarkus-smallrye-reactive-messaging-kafka
//DEPS io.quarkus:quarkus-resteasy-reactive-jackson
//DEPS io.quarkus:quarkus-reactive-pg-client
//DEPS io.quarkus:quarkus-hibernate-reactive
//DEPS org.projectlombok:lombok:1.18.12
//FILES application.properties
//JAVAC_OPTIONS -parameters
//JAVA_OPTIONS -Djava.util.logging.manager=org.jboss.logmanager.LogManager

package net.foorbar.event;

import io.smallrye.mutiny.Multi;
import io.vertx.mutiny.pgclient.PgPool;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import org.jboss.resteasy.reactive.RestSseElementType;

@Path("events")
@ApplicationScoped
public class EventResource {

    @Inject
    PgPool client;

    @GET
    @Path("test")
    @Produces(MediaType.SERVER_SENT_EVENTS)
    @RestSseElementType(MediaType.APPLICATION_JSON)
    public Multi<Long> test() {
        return client.query("SELECT * FROM kafka_event_test").execute()
            .onItem().transformToMulti(set -> Multi.createFrom().iterable(set))
            .onItem().transform(row -> row.getLong("id"));
    }
}

Well, this fix will not help much. Setting quarkus.datasource.jdbc to false will give a new exception when accessing the database. Removing //DEPS io.quarkus:quarkus-hibernate-reactive and everything works fine. It has something to do with this dependency.

[jbang] System Java version detected as 11
[jbang] System Java version matches requested version 11
[jbang] Copying application.properties to /home/user/.jbang/cache/jars/EventResource.java.93e5c8d7f366f51977dd095f426fa315c4a63a1189c39ee39f359f5f9cc20826/application.properties
[jbang] Building jar...
[jbang] compile: /opt/java/sdk/graalvm/bin/javac -parameters -classpath /home/user/.m2/repository/io/quarkus/quarkus-scheduler/1.11.0.Final/quarkus-scheduler-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-arc/1.11.0.Final/quarkus-arc-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/arc/arc/1.11.0.Final/arc-1.11.0.Final.jar:/home/user/.m2/repository/jakarta/enterprise/jakarta.enterprise.cdi-api/2.0.2/jakarta.enterprise.cdi-api-2.0.2.jar:/home/user/.m2/repository/jakarta/el/jakarta.el-api/3.0.3/jakarta.el-api-3.0.3.jar:/home/user/.m2/repository/jakarta/interceptor/jakarta.interceptor-api/1.2.5/jakarta.interceptor-api-1.2.5.jar:/home/user/.m2/repository/jakarta/annotation/jakarta.annotation-api/1.3.5/jakarta.annotation-api-1.3.5.jar:/home/user/.m2/repository/jakarta/transaction/jakarta.transaction-api/1.3.3/jakarta.transaction-api-1.3.3.jar:/home/user/.m2/repository/org/jboss/logging/jboss-logging/3.4.1.Final/jboss-logging-3.4.1.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-core/1.11.0.Final/quarkus-core-1.11.0.Final.jar:/home/user/.m2/repository/jakarta/inject/jakarta.inject-api/1.0/jakarta.inject-api-1.0.jar:/home/user/.m2/repository/io/quarkus/quarkus-ide-launcher/1.11.0.Final/quarkus-ide-launcher-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-development-mode-spi/1.11.0.Final/quarkus-development-mode-spi-1.11.0.Final.jar:/home/user/.m2/repository/io/smallrye/config/smallrye-config/1.10.0/smallrye-config-1.10.0.jar:/home/user/.m2/repository/io/smallrye/common/smallrye-common-annotation/1.5.0/smallrye-common-annotation-1.5.0.jar:/home/user/.m2/repository/io/smallrye/config/smallrye-config-common/1.10.0/smallrye-config-common-1.10.0.jar:/home/user/.m2/repository/org/eclipse/microprofile/config/microprofile-config-api/1.4/microprofile-config-api-1.4.jar:/home/user/.m2/repository/io/smallrye/common/smallrye-common-expression/1.5.0/smallrye-common-expression-1.5.0.jar:/home/user/.m2/repository/io/smallrye/common/smallrye-common-function/1.5.0/smallrye-common-function-1.5.0.jar:/home/user/.m2/repository/io/smallrye/common/smallrye-common-constraint/1.5.0/smallrye-common-constraint-1.5.0.jar:/home/user/.m2/repository/io/smallrye/common/smallrye-common-classloader/1.5.0/smallrye-common-classloader-1.5.0.jar:/home/user/.m2/repository/org/jboss/logmanager/jboss-logmanager-embedded/1.0.6/jboss-logmanager-embedded-1.0.6.jar:/home/user/.m2/repository/org/jboss/logging/jboss-logging-annotations/2.2.0.Final/jboss-logging-annotations-2.2.0.Final.jar:/home/user/.m2/repository/org/jboss/threads/jboss-threads/3.2.0.Final/jboss-threads-3.2.0.Final.jar:/home/user/.m2/repository/org/graalvm/sdk/graal-sdk/20.3.0/graal-sdk-20.3.0.jar:/home/user/.m2/repository/org/wildfly/common/wildfly-common/1.5.4.Final-format-001/wildfly-common-1.5.4.Final-format-001.jar:/home/user/.m2/repository/io/quarkus/quarkus-bootstrap-runner/1.11.0.Final/quarkus-bootstrap-runner-1.11.0.Final.jar:/home/user/.m2/repository/io/smallrye/common/smallrye-common-io/1.5.0/smallrye-common-io-1.5.0.jar:/home/user/.m2/repository/org/eclipse/microprofile/context-propagation/microprofile-context-propagation-api/1.0.1/microprofile-context-propagation-api-1.0.1.jar:/home/user/.m2/repository/com/cronutils/cron-utils/9.1.3/cron-utils-9.1.3.jar:/home/user/.m2/repository/org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30.jar:/home/user/.m2/repository/org/apache/commons/commons-lang3/3.9/commons-lang3-3.9.jar:/home/user/.m2/repository/org/jboss/slf4j/slf4j-jboss-logmanager/1.1.0.Final/slf4j-jboss-logmanager-1.1.0.Final.jar:/home/user/.m2/repository/org/glassfish/jakarta.el/3.0.3/jakarta.el-3.0.3.jar:/home/user/.m2/repository/io/quarkus/quarkus-smallrye-reactive-messaging-kafka/1.11.0.Final/quarkus-smallrye-reactive-messaging-kafka-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-kafka-client/1.11.0.Final/quarkus-kafka-client-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-caffeine/1.11.0.Final/quarkus-caffeine-1.11.0.Final.jar:/home/user/.m2/repository/com/github/ben-manes/caffeine/caffeine/2.8.8/caffeine-2.8.8.jar:/home/user/.m2/repository/com/google/errorprone/error_prone_annotations/2.2.0/error_prone_annotations-2.2.0.jar:/home/user/.m2/repository/io/smallrye/reactive/smallrye-reactive-messaging-kafka/2.7.1/smallrye-reactive-messaging-kafka-2.7.1.jar:/home/user/.m2/repository/io/smallrye/reactive/smallrye-mutiny-vertx-kafka-client/1.3.0/smallrye-mutiny-vertx-kafka-client-1.3.0.jar:/home/user/.m2/repository/org/apache/zookeeper/zookeeper/3.5.7/zookeeper-3.5.7.jar:/home/user/.m2/repository/org/apache/zookeeper/zookeeper-jute/3.5.7/zookeeper-jute-3.5.7.jar:/home/user/.m2/repository/org/apache/yetus/audience-annotations/0.5.0/audience-annotations-0.5.0.jar:/home/user/.m2/repository/io/netty/netty-transport-native-epoll/4.1.49.Final/netty-transport-native-epoll-4.1.49.Final.jar:/home/user/.m2/repository/io/netty/netty-transport-native-unix-common/4.1.49.Final/netty-transport-native-unix-common-4.1.49.Final.jar:/home/user/.m2/repository/io/opentelemetry/opentelemetry-api/0.9.1/opentelemetry-api-0.9.1.jar:/home/user/.m2/repository/io/opentelemetry/opentelemetry-context-prop/0.9.1/opentelemetry-context-prop-0.9.1.jar:/home/user/.m2/repository/io/grpc/grpc-context/1.34.0/grpc-context-1.34.0.jar:/home/user/.m2/repository/io/smallrye/reactive/smallrye-reactive-converter-api/1.3.0/smallrye-reactive-converter-api-1.3.0.jar:/home/user/.m2/repository/org/reactivestreams/reactive-streams/1.0.3/reactive-streams-1.0.3.jar:/home/user/.m2/repository/io/smallrye/reactive/mutiny/0.12.5/mutiny-0.12.5.jar:/home/user/.m2/repository/io/quarkus/quarkus-jackson/1.11.0.Final/quarkus-jackson-1.11.0.Final.jar:/home/user/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.11.3/jackson-databind-2.11.3.jar:/home/user/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.11.3/jackson-annotations-2.11.3.jar:/home/user/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.11.3/jackson-core-2.11.3.jar:/home/user/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.11.3/jackson-datatype-jsr310-2.11.3.jar:/home/user/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.11.3/jackson-datatype-jdk8-2.11.3.jar:/home/user/.m2/repository/com/fasterxml/jackson/module/jackson-module-parameter-names/2.11.3/jackson-module-parameter-names-2.11.3.jar:/home/user/.m2/repository/org/apache/kafka/kafka-clients/2.5.0/kafka-clients-2.5.0.jar:/home/user/.m2/repository/com/github/luben/zstd-jni/1.4.4-7/zstd-jni-1.4.4-7.jar:/home/user/.m2/repository/org/lz4/lz4-java/1.7.1/lz4-java-1.7.1.jar:/home/user/.m2/repository/org/xerial/snappy/snappy-java/1.1.7.3/snappy-java-1.1.7.3.jar:/home/user/.m2/repository/io/vertx/vertx-kafka-client/3.9.5/vertx-kafka-client-3.9.5.jar:/home/user/.m2/repository/io/vertx/vertx-core/3.9.5/vertx-core-3.9.5.jar:/home/user/.m2/repository/io/netty/netty-common/4.1.49.Final/netty-common-4.1.49.Final.jar:/home/user/.m2/repository/io/netty/netty-buffer/4.1.49.Final/netty-buffer-4.1.49.Final.jar:/home/user/.m2/repository/io/netty/netty-transport/4.1.49.Final/netty-transport-4.1.49.Final.jar:/home/user/.m2/repository/io/netty/netty-handler/4.1.49.Final/netty-handler-4.1.49.Final.jar:/home/user/.m2/repository/io/netty/netty-codec/4.1.49.Final/netty-codec-4.1.49.Final.jar:/home/user/.m2/repository/io/netty/netty-handler-proxy/4.1.49.Final/netty-handler-proxy-4.1.49.Final.jar:/home/user/.m2/repository/io/netty/netty-codec-socks/4.1.49.Final/netty-codec-socks-4.1.49.Final.jar:/home/user/.m2/repository/io/netty/netty-codec-http/4.1.49.Final/netty-codec-http-4.1.49.Final.jar:/home/user/.m2/repository/io/netty/netty-codec-http2/4.1.49.Final/netty-codec-http2-4.1.49.Final.jar:/home/user/.m2/repository/io/netty/netty-resolver/4.1.49.Final/netty-resolver-4.1.49.Final.jar:/home/user/.m2/repository/io/netty/netty-resolver-dns/4.1.49.Final/netty-resolver-dns-4.1.49.Final.jar:/home/user/.m2/repository/io/netty/netty-codec-dns/4.1.49.Final/netty-codec-dns-4.1.49.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-smallrye-reactive-messaging/1.11.0.Final/quarkus-smallrye-reactive-messaging-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-mutiny-reactive-streams-operators/1.11.0.Final/quarkus-mutiny-reactive-streams-operators-1.11.0.Final.jar:/home/user/.m2/repository/org/eclipse/microprofile/reactive-streams-operators/microprofile-reactive-streams-operators-api/1.0.1/microprofile-reactive-streams-operators-api-1.0.1.jar:/home/user/.m2/repository/org/eclipse/microprofile/reactive-streams-operators/microprofile-reactive-streams-operators-core/1.0.1/microprofile-reactive-streams-operators-core-1.0.1.jar:/home/user/.m2/repository/io/quarkus/quarkus-mutiny/1.11.0.Final/quarkus-mutiny-1.11.0.Final.jar:/home/user/.m2/repository/io/smallrye/reactive/mutiny-reactive-streams-operators/0.12.5/mutiny-reactive-streams-operators-0.12.5.jar:/home/user/.m2/repository/io/smallrye/reactive/mutiny-context-propagation/0.12.5/mutiny-context-propagation-0.12.5.jar:/home/user/.m2/repository/io/quarkus/quarkus-smallrye-context-propagation/1.11.0.Final/quarkus-smallrye-context-propagation-1.11.0.Final.jar:/home/user/.m2/repository/io/smallrye/smallrye-context-propagation/1.0.19/smallrye-context-propagation-1.0.19.jar:/home/user/.m2/repository/io/smallrye/smallrye-context-propagation-api/1.0.19/smallrye-context-propagation-api-1.0.19.jar:/home/user/.m2/repository/io/reactivex/rxjava2/rxjava/2.2.20/rxjava-2.2.20.jar:/home/user/.m2/repository/io/quarkus/quarkus-vertx/1.11.0.Final/quarkus-vertx-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-netty/1.11.0.Final/quarkus-netty-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-vertx-core/1.11.0.Final/quarkus-vertx-core-1.11.0.Final.jar:/home/user/.m2/repository/io/smallrye/reactive/smallrye-axle-generator/1.3.0/smallrye-axle-generator-1.3.0.jar:/home/user/.m2/repository/io/smallrye/reactive/smallrye-axle-core/1.3.0/smallrye-axle-core-1.3.0.jar:/home/user/.m2/repository/io/vertx/vertx-rx-java2/3.9.5/vertx-rx-java2-3.9.5.jar:/home/user/.m2/repository/io/vertx/vertx-rx-gen/3.9.5/vertx-rx-gen-3.9.5.jar:/home/user/.m2/repository/io/smallrye/reactive/smallrye-reactive-messaging-health/2.7.1/smallrye-reactive-messaging-health-2.7.1.jar:/home/user/.m2/repository/org/eclipse/microprofile/health/microprofile-health-api/2.2/microprofile-health-api-2.2.jar:/home/user/.m2/repository/io/smallrye/reactive/smallrye-reactive-messaging-provider/2.7.1/smallrye-reactive-messaging-provider-2.7.1.jar:/home/user/.m2/repository/io/smallrye/reactive/smallrye-reactive-messaging-api/2.7.1/smallrye-reactive-messaging-api-2.7.1.jar:/home/user/.m2/repository/io/smallrye/reactive/smallrye-mutiny-vertx-core/1.3.0/smallrye-mutiny-vertx-core-1.3.0.jar:/home/user/.m2/repository/io/smallrye/reactive/smallrye-mutiny-vertx-runtime/1.3.0/smallrye-mutiny-vertx-runtime-1.3.0.jar:/home/user/.m2/repository/io/smallrye/reactive/vertx-mutiny-generator/1.3.0/vertx-mutiny-generator-1.3.0.jar:/home/user/.m2/repository/io/vertx/vertx-codegen/3.9.5/vertx-codegen-3.9.5.jar:/home/user/.m2/repository/org/mvel/mvel2/2.3.1.Final/mvel2-2.3.1.Final.jar:/home/user/.m2/repository/org/jboss/jandex/2.2.2.Final/jandex-2.2.2.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-resteasy-reactive-jackson/1.11.0.Final/quarkus-resteasy-reactive-jackson-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-resteasy-reactive/1.11.0.Final/quarkus-resteasy-reactive-1.11.0.Final.jar:/home/user/.m2/repository/org/jboss/spec/javax/ws/rs/jboss-jaxrs-api_2.1_spec/2.0.1.Final/jboss-jaxrs-api_2.1_spec-2.0.1.Final.jar:/home/user/.m2/repository/io/quarkus/resteasy/reactive/resteasy-reactive-vertx/1.11.0.Final/resteasy-reactive-vertx-1.11.0.Final.jar:/home/user/.m2/repository/io/vertx/vertx-web/3.9.5/vertx-web-3.9.5.jar:/home/user/.m2/repository/io/vertx/vertx-web-common/3.9.5/vertx-web-common-3.9.5.jar:/home/user/.m2/repository/io/vertx/vertx-auth-common/3.9.5/vertx-auth-common-3.9.5.jar:/home/user/.m2/repository/io/vertx/vertx-bridge-common/3.9.5/vertx-bridge-common-3.9.5.jar:/home/user/.m2/repository/io/quarkus/resteasy/reactive/resteasy-reactive/1.11.0.Final/resteasy-reactive-1.11.0.Final.jar:/home/user/.m2/repository/org/jboss/logging/commons-logging-jboss-logging/1.0.0.Final/commons-logging-jboss-logging-1.0.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-resteasy-reactive-common/1.11.0.Final/quarkus-resteasy-reactive-common-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/resteasy/reactive/resteasy-reactive-common/1.11.0.Final/resteasy-reactive-common-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-vertx-http/1.11.0.Final/quarkus-vertx-http-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-security-runtime-spi/1.11.0.Final/quarkus-security-runtime-spi-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-vertx-http-dev-console-runtime-spi/1.11.0.Final/quarkus-vertx-http-dev-console-runtime-spi-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/security/quarkus-security/1.1.3.Final/quarkus-security-1.1.3.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-jsonp/1.11.0.Final/quarkus-jsonp-1.11.0.Final.jar:/home/user/.m2/repository/org/glassfish/jakarta.json/1.1.6/jakarta.json-1.1.6.jar:/home/user/.m2/repository/io/quarkus/quarkus-reactive-pg-client/1.11.0.Final/quarkus-reactive-pg-client-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-reactive-datasource/1.11.0.Final/quarkus-reactive-datasource-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-datasource/1.11.0.Final/quarkus-datasource-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-datasource-common/1.11.0.Final/quarkus-datasource-common-1.11.0.Final.jar:/home/user/.m2/repository/io/vertx/vertx-sql-client/3.9.5/vertx-sql-client-3.9.5.jar:/home/user/.m2/repository/io/vertx/vertx-pg-client/3.9.5/vertx-pg-client-3.9.5.jar:/home/user/.m2/repository/com/ongres/scram/client/2.1/client-2.1.jar:/home/user/.m2/repository/com/ongres/scram/common/2.1/common-2.1.jar:/home/user/.m2/repository/com/ongres/stringprep/saslprep/1.1/saslprep-1.1.jar:/home/user/.m2/repository/com/ongres/stringprep/stringprep/1.1/stringprep-1.1.jar:/home/user/.m2/repository/io/smallrye/reactive/smallrye-mutiny-vertx-pg-client/1.3.0/smallrye-mutiny-vertx-pg-client-1.3.0.jar:/home/user/.m2/repository/io/smallrye/reactive/smallrye-mutiny-vertx-sql-client/1.3.0/smallrye-mutiny-vertx-sql-client-1.3.0.jar:/home/user/.m2/repository/io/quarkus/quarkus-credentials/1.11.0.Final/quarkus-credentials-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-hibernate-reactive/1.11.0.Final/quarkus-hibernate-reactive-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-hibernate-orm/1.11.0.Final/quarkus-hibernate-orm-1.11.0.Final.jar:/home/user/.m2/repository/org/hibernate/hibernate-core/5.4.27.Final/hibernate-core-5.4.27.Final.jar:/home/user/.m2/repository/net/bytebuddy/byte-buddy/1.10.17/byte-buddy-1.10.17.jar:/home/user/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar:/home/user/.m2/repository/com/fasterxml/classmate/1.3.4/classmate-1.3.4.jar:/home/user/.m2/repository/org/dom4j/dom4j/2.1.3/dom4j-2.1.3.jar:/home/user/.m2/repository/org/hibernate/common/hibernate-commons-annotations/5.1.2.Final/hibernate-commons-annotations-5.1.2.Final.jar:/home/user/.m2/repository/org/hibernate/hibernate-graalvm/5.4.27.Final/hibernate-graalvm-5.4.27.Final.jar:/home/user/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.3.3-b02/jaxb-runtime-2.3.3-b02.jar:/home/user/.m2/repository/org/glassfish/jaxb/txw2/2.3.3-b02/txw2-2.3.3-b02.jar:/home/user/.m2/repository/com/sun/istack/istack-commons-runtime/3.0.10/istack-commons-runtime-3.0.10.jar:/home/user/.m2/repository/com/sun/activation/jakarta.activation/1.2.1/jakarta.activation-1.2.1.jar:/home/user/.m2/repository/org/jboss/spec/javax/xml/bind/jboss-jaxb-api_2.3_spec/2.0.0.Final/jboss-jaxb-api_2.3_spec-2.0.0.Final.jar:/home/user/.m2/repository/jakarta/persistence/jakarta.persistence-api/2.2.3/jakarta.persistence-api-2.2.3.jar:/home/user/.m2/repository/org/hibernate/quarkus-local-cache/0.1.0/quarkus-local-cache-0.1.0.jar:/home/user/.m2/repository/org/hibernate/reactive/hibernate-reactive-core/1.0.0.Beta2/hibernate-reactive-core-1.0.0.Beta2.jar:/home/user/.m2/repository/com/ibm/async/asyncutil/0.1.0/asyncutil-0.1.0.jar:/home/user/.m2/repository/org/projectlombok/lombok/1.18.12/lombok-1.18.12.jar -d /home/user/.jbang/cache/jars/EventResource.java.93e5c8d7f366f51977dd095f426fa315c4a63a1189c39ee39f359f5f9cc20826 EventResource.java
[jbang] Post build with io.quarkus.launcher.JBangIntegration
Jan 29, 2021 12:37:15 PM org.jboss.threads.Version <clinit>
INFO: JBoss Threads version 3.2.0.Final
Jan 29, 2021 12:37:15 PM io.quarkus.agroal.deployment.AgroalProcessor build
WARN: The Agroal dependency is present but no JDBC datasources have been defined.
Jan 29, 2021 12:37:16 PM org.hibernate.Version logVersion
INFO: HHH000412: Hibernate ORM core version 5.4.27.Final
Jan 29, 2021 12:37:16 PM io.quarkus.deployment.QuarkusAugmentor run
INFO: Quarkus augmentation completed in 1611ms
[jbang] Deleting folder /home/user/.jbang/cache/jars/EventResource.java.93e5c8d7f366f51977dd095f426fa315c4a63a1189c39ee39f359f5f9cc20826
[jbang] System Java version matches requested version 11
[jbang] run: /opt/java/sdk/graalvm/bin/java -Djava.util.logging.manager=org.jboss.logmanager.LogManager -classpath /home/user/.jbang/cache/jars/EventResource.java.93e5c8d7f366f51977dd095f426fa315c4a63a1189c39ee39f359f5f9cc20826.jar:/home/user/.m2/repository/io/quarkus/quarkus-scheduler/1.11.0.Final/quarkus-scheduler-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-arc/1.11.0.Final/quarkus-arc-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/arc/arc/1.11.0.Final/arc-1.11.0.Final.jar:/home/user/.m2/repository/jakarta/enterprise/jakarta.enterprise.cdi-api/2.0.2/jakarta.enterprise.cdi-api-2.0.2.jar:/home/user/.m2/repository/jakarta/el/jakarta.el-api/3.0.3/jakarta.el-api-3.0.3.jar:/home/user/.m2/repository/jakarta/interceptor/jakarta.interceptor-api/1.2.5/jakarta.interceptor-api-1.2.5.jar:/home/user/.m2/repository/jakarta/annotation/jakarta.annotation-api/1.3.5/jakarta.annotation-api-1.3.5.jar:/home/user/.m2/repository/jakarta/transaction/jakarta.transaction-api/1.3.3/jakarta.transaction-api-1.3.3.jar:/home/user/.m2/repository/org/jboss/logging/jboss-logging/3.4.1.Final/jboss-logging-3.4.1.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-core/1.11.0.Final/quarkus-core-1.11.0.Final.jar:/home/user/.m2/repository/jakarta/inject/jakarta.inject-api/1.0/jakarta.inject-api-1.0.jar:/home/user/.m2/repository/io/quarkus/quarkus-ide-launcher/1.11.0.Final/quarkus-ide-launcher-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-development-mode-spi/1.11.0.Final/quarkus-development-mode-spi-1.11.0.Final.jar:/home/user/.m2/repository/io/smallrye/config/smallrye-config/1.10.0/smallrye-config-1.10.0.jar:/home/user/.m2/repository/io/smallrye/common/smallrye-common-annotation/1.5.0/smallrye-common-annotation-1.5.0.jar:/home/user/.m2/repository/io/smallrye/config/smallrye-config-common/1.10.0/smallrye-config-common-1.10.0.jar:/home/user/.m2/repository/org/eclipse/microprofile/config/microprofile-config-api/1.4/microprofile-config-api-1.4.jar:/home/user/.m2/repository/io/smallrye/common/smallrye-common-expression/1.5.0/smallrye-common-expression-1.5.0.jar:/home/user/.m2/repository/io/smallrye/common/smallrye-common-function/1.5.0/smallrye-common-function-1.5.0.jar:/home/user/.m2/repository/io/smallrye/common/smallrye-common-constraint/1.5.0/smallrye-common-constraint-1.5.0.jar:/home/user/.m2/repository/io/smallrye/common/smallrye-common-classloader/1.5.0/smallrye-common-classloader-1.5.0.jar:/home/user/.m2/repository/org/jboss/logmanager/jboss-logmanager-embedded/1.0.6/jboss-logmanager-embedded-1.0.6.jar:/home/user/.m2/repository/org/jboss/logging/jboss-logging-annotations/2.2.0.Final/jboss-logging-annotations-2.2.0.Final.jar:/home/user/.m2/repository/org/jboss/threads/jboss-threads/3.2.0.Final/jboss-threads-3.2.0.Final.jar:/home/user/.m2/repository/org/graalvm/sdk/graal-sdk/20.3.0/graal-sdk-20.3.0.jar:/home/user/.m2/repository/org/wildfly/common/wildfly-common/1.5.4.Final-format-001/wildfly-common-1.5.4.Final-format-001.jar:/home/user/.m2/repository/io/quarkus/quarkus-bootstrap-runner/1.11.0.Final/quarkus-bootstrap-runner-1.11.0.Final.jar:/home/user/.m2/repository/io/smallrye/common/smallrye-common-io/1.5.0/smallrye-common-io-1.5.0.jar:/home/user/.m2/repository/org/eclipse/microprofile/context-propagation/microprofile-context-propagation-api/1.0.1/microprofile-context-propagation-api-1.0.1.jar:/home/user/.m2/repository/com/cronutils/cron-utils/9.1.3/cron-utils-9.1.3.jar:/home/user/.m2/repository/org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30.jar:/home/user/.m2/repository/org/apache/commons/commons-lang3/3.9/commons-lang3-3.9.jar:/home/user/.m2/repository/org/jboss/slf4j/slf4j-jboss-logmanager/1.1.0.Final/slf4j-jboss-logmanager-1.1.0.Final.jar:/home/user/.m2/repository/org/glassfish/jakarta.el/3.0.3/jakarta.el-3.0.3.jar:/home/user/.m2/repository/io/quarkus/quarkus-smallrye-reactive-messaging-kafka/1.11.0.Final/quarkus-smallrye-reactive-messaging-kafka-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-kafka-client/1.11.0.Final/quarkus-kafka-client-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-caffeine/1.11.0.Final/quarkus-caffeine-1.11.0.Final.jar:/home/user/.m2/repository/com/github/ben-manes/caffeine/caffeine/2.8.8/caffeine-2.8.8.jar:/home/user/.m2/repository/com/google/errorprone/error_prone_annotations/2.2.0/error_prone_annotations-2.2.0.jar:/home/user/.m2/repository/io/smallrye/reactive/smallrye-reactive-messaging-kafka/2.7.1/smallrye-reactive-messaging-kafka-2.7.1.jar:/home/user/.m2/repository/io/smallrye/reactive/smallrye-mutiny-vertx-kafka-client/1.3.0/smallrye-mutiny-vertx-kafka-client-1.3.0.jar:/home/user/.m2/repository/org/apache/zookeeper/zookeeper/3.5.7/zookeeper-3.5.7.jar:/home/user/.m2/repository/org/apache/zookeeper/zookeeper-jute/3.5.7/zookeeper-jute-3.5.7.jar:/home/user/.m2/repository/org/apache/yetus/audience-annotations/0.5.0/audience-annotations-0.5.0.jar:/home/user/.m2/repository/io/netty/netty-transport-native-epoll/4.1.49.Final/netty-transport-native-epoll-4.1.49.Final.jar:/home/user/.m2/repository/io/netty/netty-transport-native-unix-common/4.1.49.Final/netty-transport-native-unix-common-4.1.49.Final.jar:/home/user/.m2/repository/io/opentelemetry/opentelemetry-api/0.9.1/opentelemetry-api-0.9.1.jar:/home/user/.m2/repository/io/opentelemetry/opentelemetry-context-prop/0.9.1/opentelemetry-context-prop-0.9.1.jar:/home/user/.m2/repository/io/grpc/grpc-context/1.34.0/grpc-context-1.34.0.jar:/home/user/.m2/repository/io/smallrye/reactive/smallrye-reactive-converter-api/1.3.0/smallrye-reactive-converter-api-1.3.0.jar:/home/user/.m2/repository/org/reactivestreams/reactive-streams/1.0.3/reactive-streams-1.0.3.jar:/home/user/.m2/repository/io/smallrye/reactive/mutiny/0.12.5/mutiny-0.12.5.jar:/home/user/.m2/repository/io/quarkus/quarkus-jackson/1.11.0.Final/quarkus-jackson-1.11.0.Final.jar:/home/user/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.11.3/jackson-databind-2.11.3.jar:/home/user/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.11.3/jackson-annotations-2.11.3.jar:/home/user/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.11.3/jackson-core-2.11.3.jar:/home/user/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.11.3/jackson-datatype-jsr310-2.11.3.jar:/home/user/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.11.3/jackson-datatype-jdk8-2.11.3.jar:/home/user/.m2/repository/com/fasterxml/jackson/module/jackson-module-parameter-names/2.11.3/jackson-module-parameter-names-2.11.3.jar:/home/user/.m2/repository/org/apache/kafka/kafka-clients/2.5.0/kafka-clients-2.5.0.jar:/home/user/.m2/repository/com/github/luben/zstd-jni/1.4.4-7/zstd-jni-1.4.4-7.jar:/home/user/.m2/repository/org/lz4/lz4-java/1.7.1/lz4-java-1.7.1.jar:/home/user/.m2/repository/org/xerial/snappy/snappy-java/1.1.7.3/snappy-java-1.1.7.3.jar:/home/user/.m2/repository/io/vertx/vertx-kafka-client/3.9.5/vertx-kafka-client-3.9.5.jar:/home/user/.m2/repository/io/vertx/vertx-core/3.9.5/vertx-core-3.9.5.jar:/home/user/.m2/repository/io/netty/netty-common/4.1.49.Final/netty-common-4.1.49.Final.jar:/home/user/.m2/repository/io/netty/netty-buffer/4.1.49.Final/netty-buffer-4.1.49.Final.jar:/home/user/.m2/repository/io/netty/netty-transport/4.1.49.Final/netty-transport-4.1.49.Final.jar:/home/user/.m2/repository/io/netty/netty-handler/4.1.49.Final/netty-handler-4.1.49.Final.jar:/home/user/.m2/repository/io/netty/netty-codec/4.1.49.Final/netty-codec-4.1.49.Final.jar:/home/user/.m2/repository/io/netty/netty-handler-proxy/4.1.49.Final/netty-handler-proxy-4.1.49.Final.jar:/home/user/.m2/repository/io/netty/netty-codec-socks/4.1.49.Final/netty-codec-socks-4.1.49.Final.jar:/home/user/.m2/repository/io/netty/netty-codec-http/4.1.49.Final/netty-codec-http-4.1.49.Final.jar:/home/user/.m2/repository/io/netty/netty-codec-http2/4.1.49.Final/netty-codec-http2-4.1.49.Final.jar:/home/user/.m2/repository/io/netty/netty-resolver/4.1.49.Final/netty-resolver-4.1.49.Final.jar:/home/user/.m2/repository/io/netty/netty-resolver-dns/4.1.49.Final/netty-resolver-dns-4.1.49.Final.jar:/home/user/.m2/repository/io/netty/netty-codec-dns/4.1.49.Final/netty-codec-dns-4.1.49.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-smallrye-reactive-messaging/1.11.0.Final/quarkus-smallrye-reactive-messaging-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-mutiny-reactive-streams-operators/1.11.0.Final/quarkus-mutiny-reactive-streams-operators-1.11.0.Final.jar:/home/user/.m2/repository/org/eclipse/microprofile/reactive-streams-operators/microprofile-reactive-streams-operators-api/1.0.1/microprofile-reactive-streams-operators-api-1.0.1.jar:/home/user/.m2/repository/org/eclipse/microprofile/reactive-streams-operators/microprofile-reactive-streams-operators-core/1.0.1/microprofile-reactive-streams-operators-core-1.0.1.jar:/home/user/.m2/repository/io/quarkus/quarkus-mutiny/1.11.0.Final/quarkus-mutiny-1.11.0.Final.jar:/home/user/.m2/repository/io/smallrye/reactive/mutiny-reactive-streams-operators/0.12.5/mutiny-reactive-streams-operators-0.12.5.jar:/home/user/.m2/repository/io/smallrye/reactive/mutiny-context-propagation/0.12.5/mutiny-context-propagation-0.12.5.jar:/home/user/.m2/repository/io/quarkus/quarkus-smallrye-context-propagation/1.11.0.Final/quarkus-smallrye-context-propagation-1.11.0.Final.jar:/home/user/.m2/repository/io/smallrye/smallrye-context-propagation/1.0.19/smallrye-context-propagation-1.0.19.jar:/home/user/.m2/repository/io/smallrye/smallrye-context-propagation-api/1.0.19/smallrye-context-propagation-api-1.0.19.jar:/home/user/.m2/repository/io/reactivex/rxjava2/rxjava/2.2.20/rxjava-2.2.20.jar:/home/user/.m2/repository/io/quarkus/quarkus-vertx/1.11.0.Final/quarkus-vertx-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-netty/1.11.0.Final/quarkus-netty-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-vertx-core/1.11.0.Final/quarkus-vertx-core-1.11.0.Final.jar:/home/user/.m2/repository/io/smallrye/reactive/smallrye-axle-generator/1.3.0/smallrye-axle-generator-1.3.0.jar:/home/user/.m2/repository/io/smallrye/reactive/smallrye-axle-core/1.3.0/smallrye-axle-core-1.3.0.jar:/home/user/.m2/repository/io/vertx/vertx-rx-java2/3.9.5/vertx-rx-java2-3.9.5.jar:/home/user/.m2/repository/io/vertx/vertx-rx-gen/3.9.5/vertx-rx-gen-3.9.5.jar:/home/user/.m2/repository/io/smallrye/reactive/smallrye-reactive-messaging-health/2.7.1/smallrye-reactive-messaging-health-2.7.1.jar:/home/user/.m2/repository/org/eclipse/microprofile/health/microprofile-health-api/2.2/microprofile-health-api-2.2.jar:/home/user/.m2/repository/io/smallrye/reactive/smallrye-reactive-messaging-provider/2.7.1/smallrye-reactive-messaging-provider-2.7.1.jar:/home/user/.m2/repository/io/smallrye/reactive/smallrye-reactive-messaging-api/2.7.1/smallrye-reactive-messaging-api-2.7.1.jar:/home/user/.m2/repository/io/smallrye/reactive/smallrye-mutiny-vertx-core/1.3.0/smallrye-mutiny-vertx-core-1.3.0.jar:/home/user/.m2/repository/io/smallrye/reactive/smallrye-mutiny-vertx-runtime/1.3.0/smallrye-mutiny-vertx-runtime-1.3.0.jar:/home/user/.m2/repository/io/smallrye/reactive/vertx-mutiny-generator/1.3.0/vertx-mutiny-generator-1.3.0.jar:/home/user/.m2/repository/io/vertx/vertx-codegen/3.9.5/vertx-codegen-3.9.5.jar:/home/user/.m2/repository/org/mvel/mvel2/2.3.1.Final/mvel2-2.3.1.Final.jar:/home/user/.m2/repository/org/jboss/jandex/2.2.2.Final/jandex-2.2.2.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-resteasy-reactive-jackson/1.11.0.Final/quarkus-resteasy-reactive-jackson-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-resteasy-reactive/1.11.0.Final/quarkus-resteasy-reactive-1.11.0.Final.jar:/home/user/.m2/repository/org/jboss/spec/javax/ws/rs/jboss-jaxrs-api_2.1_spec/2.0.1.Final/jboss-jaxrs-api_2.1_spec-2.0.1.Final.jar:/home/user/.m2/repository/io/quarkus/resteasy/reactive/resteasy-reactive-vertx/1.11.0.Final/resteasy-reactive-vertx-1.11.0.Final.jar:/home/user/.m2/repository/io/vertx/vertx-web/3.9.5/vertx-web-3.9.5.jar:/home/user/.m2/repository/io/vertx/vertx-web-common/3.9.5/vertx-web-common-3.9.5.jar:/home/user/.m2/repository/io/vertx/vertx-auth-common/3.9.5/vertx-auth-common-3.9.5.jar:/home/user/.m2/repository/io/vertx/vertx-bridge-common/3.9.5/vertx-bridge-common-3.9.5.jar:/home/user/.m2/repository/io/quarkus/resteasy/reactive/resteasy-reactive/1.11.0.Final/resteasy-reactive-1.11.0.Final.jar:/home/user/.m2/repository/org/jboss/logging/commons-logging-jboss-logging/1.0.0.Final/commons-logging-jboss-logging-1.0.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-resteasy-reactive-common/1.11.0.Final/quarkus-resteasy-reactive-common-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/resteasy/reactive/resteasy-reactive-common/1.11.0.Final/resteasy-reactive-common-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-vertx-http/1.11.0.Final/quarkus-vertx-http-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-security-runtime-spi/1.11.0.Final/quarkus-security-runtime-spi-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-vertx-http-dev-console-runtime-spi/1.11.0.Final/quarkus-vertx-http-dev-console-runtime-spi-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/security/quarkus-security/1.1.3.Final/quarkus-security-1.1.3.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-jsonp/1.11.0.Final/quarkus-jsonp-1.11.0.Final.jar:/home/user/.m2/repository/org/glassfish/jakarta.json/1.1.6/jakarta.json-1.1.6.jar:/home/user/.m2/repository/io/quarkus/quarkus-reactive-pg-client/1.11.0.Final/quarkus-reactive-pg-client-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-reactive-datasource/1.11.0.Final/quarkus-reactive-datasource-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-datasource/1.11.0.Final/quarkus-datasource-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-datasource-common/1.11.0.Final/quarkus-datasource-common-1.11.0.Final.jar:/home/user/.m2/repository/io/vertx/vertx-sql-client/3.9.5/vertx-sql-client-3.9.5.jar:/home/user/.m2/repository/io/vertx/vertx-pg-client/3.9.5/vertx-pg-client-3.9.5.jar:/home/user/.m2/repository/com/ongres/scram/client/2.1/client-2.1.jar:/home/user/.m2/repository/com/ongres/scram/common/2.1/common-2.1.jar:/home/user/.m2/repository/com/ongres/stringprep/saslprep/1.1/saslprep-1.1.jar:/home/user/.m2/repository/com/ongres/stringprep/stringprep/1.1/stringprep-1.1.jar:/home/user/.m2/repository/io/smallrye/reactive/smallrye-mutiny-vertx-pg-client/1.3.0/smallrye-mutiny-vertx-pg-client-1.3.0.jar:/home/user/.m2/repository/io/smallrye/reactive/smallrye-mutiny-vertx-sql-client/1.3.0/smallrye-mutiny-vertx-sql-client-1.3.0.jar:/home/user/.m2/repository/io/quarkus/quarkus-credentials/1.11.0.Final/quarkus-credentials-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-hibernate-reactive/1.11.0.Final/quarkus-hibernate-reactive-1.11.0.Final.jar:/home/user/.m2/repository/io/quarkus/quarkus-hibernate-orm/1.11.0.Final/quarkus-hibernate-orm-1.11.0.Final.jar:/home/user/.m2/repository/org/hibernate/hibernate-core/5.4.27.Final/hibernate-core-5.4.27.Final.jar:/home/user/.m2/repository/net/bytebuddy/byte-buddy/1.10.17/byte-buddy-1.10.17.jar:/home/user/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar:/home/user/.m2/repository/com/fasterxml/classmate/1.3.4/classmate-1.3.4.jar:/home/user/.m2/repository/org/dom4j/dom4j/2.1.3/dom4j-2.1.3.jar:/home/user/.m2/repository/org/hibernate/common/hibernate-commons-annotations/5.1.2.Final/hibernate-commons-annotations-5.1.2.Final.jar:/home/user/.m2/repository/org/hibernate/hibernate-graalvm/5.4.27.Final/hibernate-graalvm-5.4.27.Final.jar:/home/user/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.3.3-b02/jaxb-runtime-2.3.3-b02.jar:/home/user/.m2/repository/org/glassfish/jaxb/txw2/2.3.3-b02/txw2-2.3.3-b02.jar:/home/user/.m2/repository/com/sun/istack/istack-commons-runtime/3.0.10/istack-commons-runtime-3.0.10.jar:/home/user/.m2/repository/com/sun/activation/jakarta.activation/1.2.1/jakarta.activation-1.2.1.jar:/home/user/.m2/repository/org/jboss/spec/javax/xml/bind/jboss-jaxb-api_2.3_spec/2.0.0.Final/jboss-jaxb-api_2.3_spec-2.0.0.Final.jar:/home/user/.m2/repository/jakarta/persistence/jakarta.persistence-api/2.2.3/jakarta.persistence-api-2.2.3.jar:/home/user/.m2/repository/org/hibernate/quarkus-local-cache/0.1.0/quarkus-local-cache-0.1.0.jar:/home/user/.m2/repository/org/hibernate/reactive/hibernate-reactive-core/1.0.0.Beta2/hibernate-reactive-core-1.0.0.Beta2.jar:/home/user/.m2/repository/com/ibm/async/asyncutil/0.1.0/asyncutil-0.1.0.jar:/home/user/.m2/repository/org/projectlombok/lombok/1.18.12/lombok-1.18.12.jar -Djava.util.logging.manager=org.jboss.logmanager.LogManager io.quarkus.runner.GeneratedMain
Exception in thread "main" java.lang.NoClassDefFoundError: io/quarkus/agroal/runtime/TransactionIntegration
        at io.quarkus.runtime.generated.Config.<clinit>(Config.zig:425)
        at io.quarkus.runner.ApplicationImpl.<clinit>(ApplicationImpl.zig:62)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
        at java.base/java.lang.Class.newInstance(Class.java:584)
        at io.quarkus.runtime.Quarkus.run(Quarkus.java:65)
        at io.quarkus.runtime.Quarkus.run(Quarkus.java:42)
        at io.quarkus.runtime.Quarkus.run(Quarkus.java:119)
        at io.quarkus.runner.GeneratedMain.main(GeneratedMain.zig:29)
Caused by: java.lang.ClassNotFoundException: io.quarkus.agroal.runtime.TransactionIntegration
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
        ... 11 more
KMUS commented 3 years ago

Quite odd behaviour but I solved it with an additional dependency. A Maven project does not need this dependency.

//DEPS io.quarkus:quarkus-agroal