Gradle reactive project errors when the maven one doesn't. #20767
Labels
area/gradle
Gradle
area/kotlin
area/maven
env/windows
Impacts Windows machines
kind/bug
Something isn't working
Milestone
Describe the bug
If I generate a reactive project the maven version works and the gradle one doesn't.
I made projects with the dependencies described here: https://quarkus.io/guides/getting-started-reactive
code-with-quarkus (5).zip
code-with-quarkus (4).zip
Expected behavior
App starts
Actual behavior
Gradle project gives me this:
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.
How to Reproduce?
Run
./gradlew quarkusDev
and
./mvnw quarkus:dev
Output of
uname -a
orver
ver : The term 'ver' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Output of
java -version
openjdk version "11.0.12" 2021-07-20 OpenJDK Runtime Environment Temurin-11.0.12+7 (build 11.0.12+7) OpenJDK 64-Bit Server VM Temurin-11.0.12+7 (build 11.0.12+7, mixed mode)
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.3.0.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)------------------------------------------------------------ Gradle 7.2 ------------------------------------------------------------ Build time: 2021-08-17 09:59:03 UTC Revision: a773786b58bb28710e3dc96c4d1a7063628952ad Kotlin: 1.5.21 Groovy: 3.0.8 Ant: Apache Ant(TM) version 1.10.9 compiled on September 27 2020 JVM: 11.0.12 (Eclipse Foundation 11.0.12+7) OS: Windows 10 10.0 amd64
Additional information
No response
The text was updated successfully, but these errors were encountered: