Open Fedox-die-Ente opened 1 month ago
I could not reproduce the issue neither in development nor production mode. I tested with both Vaadin 24.6 and 24.7 and running from terminal and IDE. The application started correctly in every case.
Did you apply any changes to the gradle build?
How do you started the application? With ./gradlew
from the command line or from the IDE?
I cannot see the quarkusProdRuntimeClasspathConfigurationDeployment
task run. Can you please post the full build log?
I have not made any changes to the build.gradle, I just use the terminal command ./gradlew quarkusDev
(As it is said in the ReadME)
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':quarkusGenerateCode'.
Could not resolve all files for configuration ':quarkusProdRuntimeClasspathConfigurationDeployment'. Could not find any version that matches org.mvnpm:lit:[3.1.3,3.2). Versions that do not match: 2.0.1 Searched in the following locations:
- https://repo.maven.apache.org/maven2/org/mvnpm/lit/maven-metadata.xml
- https://maven.vaadin.com/vaadin-prereleases/org/mvnpm/lit/maven-metadata.xml
- file:/C:/Users/mrmin/.m2/repository/org/mvnpm/lit/ Required by: project : > io.quarkus.platform:quarkus-bom:3.15.3 > org.mvnpm.at.mvnpm:codeblock:1.0.16 project : > io.quarkus.platform:quarkus-bom:3.15.3 > org.mvnpm.at.mvnpm:qomponent:1.0.0
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. Get more help at https://help.gradle.org.
BUILD FAILED in 20s 3 actionable tasks: 1 executed, 2 up-to-date
It could be a Gradle cache issue.
You can try ./gradlew quarkusDev --refresh-dependencies
or deleting ~/.gradle/caches/
The problem is reported at https://github.com/mvnpm/mvnpm/issues/20500 and https://github.com/lit/lit/issues/4973.
I fixed it with
configurations.configureEach {
resolutionStrategy.cacheChangingModulesFor 60, "minutes"
resolutionStrategy.dependencySubstitution {
// avoids conflicts building uber-jars, doesn't matter about the version since it will
// will be transitively enforced by quarkus-bom (but 1.0.0.Final is the right version).
substitute module('commons-logging:commons-logging') using module("org.jboss.logging:commons-logging-jboss-logging:1.0.0.Final")
substitute module('org.mvnpm:lit:[3.1.3,3.2)') using module("org.mvnpm:lit:3.2.1")
}
}
I have a new problem.
Quarkus is running, but the website is stuck at "Building front-end development bundle"
I just downloaded the gradle base and tried to run it, and im getting this error: