The relevant part of the output of mvn -X...
will follow… If you need something else, let me know. Just wanted to keep the information to the bare minimum…
Summary: The plugin reports quite a few “incompatibilities” when running “build-frontend”. One of them is org.ow2.asm:asm (project version 7.0, plugin version 9.8). I already tried overwriting with version 9.8 in the project, but that did not solve the isssue - of course, assuming I did the overwrite correctly. At least the incompatibility for asm
wasn’t reported when I did it.
`
…
[INFO] — vaadin:24.8.5:build-frontend (default) @ —
[DEBUG] Loading mojo com.vaadin:vaadin-maven-plugin:24.8.5:build-frontend from plugin realm ClassRealm[plugin>com.vaadin:vaadin-maven-plugin:24.8.5, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@70dea4e]
[DEBUG] Configuring mojo execution ‘com.vaadin:vaadin-maven-plugin:24.8.5:build-frontend:default’ with basic configurator →
[DEBUG] (f) applicationProperties = \src\main\resources\application.properties
[DEBUG] (f) bunEnable = false
[DEBUG] (f) ciBuild = false
[DEBUG] (f) cleanFrontendFiles = true
[DEBUG] (f) forceProductionBuild = false
[DEBUG] (f) frontend = \src\main\frontend
[DEBUG] (f) frontendDirectory = \src\main\frontend
[DEBUG] (f) frontendExtraFileExtensions =
[DEBUG] (f) frontendIgnoreVersionChecks = false
[DEBUG] (f) frontendResourcesDirectory = \src\main\resources\META-INF\resources\frontend
[DEBUG] (f) generateBundle = true
[DEBUG] (f) generateEmbeddableWebComponents = true
[DEBUG] (f) javaResourceFolder = \src\main\resources
[DEBUG] (f) javaSourceFolder = \src\main\java
[DEBUG] (f) mojoExecution = com.vaadin:vaadin-maven-plugin:24.8.5:build-frontend {execution: default}
[DEBUG] (f) node = node
[DEBUG] (f) nodeAutoUpdate = true
[DEBUG] (f) nodeVersion = v22.17.0
[DEBUG] (f) npmExcludeWebComponents = false
[DEBUG] (f) npmFolder =
[DEBUG] (f) openApiJsonFile = \target\generated-resources\openapi.json
[DEBUG] (f) optimizeBundle = true
[DEBUG] (f) pnpmEnable = false
[DEBUG] (f) postinstallPackages =
[DEBUG] (f) project = MavenProject: de.dsgvoehk::202508-SNAPSHOT @ \pom.xml
[DEBUG] (f) projectBasedir =
[DEBUG] (f) projectBuildDir = \target
[DEBUG] (f) requireHomeNodeExec = false
[DEBUG] (f) resourceOutputDirectory = \target\classes\META-INF\VAADIN
[DEBUG] (f) runNpmInstall = true
[DEBUG] (f) skipDevBundleRebuild = false
[DEBUG] (f) useGlobalPnpm = false
[DEBUG] (f) webpackOutputDirectory = \target\classes\META-INF\VAADIN\webapp
[DEBUG] – end configuration –
[DEBUG] Using cached Reflector for plugin com.vaadin:vaadin-maven-plugin and phase compile
[DEBUG] Auto-detected client-side router to use: react-router
[DEBUG] Auto-detected client-side router to use: react-router
[DEBUG] Loading properties from file ‘\src\main\resources\vaadin-featureflags.properties’
[INFO] Scanning classes to find frontend configurations and dependencies…
[WARNING] Found dependencies defined with different versions in project and Vaadin maven plugin.
Project dependencies are used, but plugin execution could fail if the versions are incompatible.
In case of build failure please analyze the project dependencies and update versions or configure exclusions for potential offending transitive dependencies.
You can use ‘mvn dependency:tree -Dincludes=groupId:artifactId’ to detect where the dependency is defined in the project.
com.fasterxml.jackson.core:jackson-core:jar: project version [2.19.2], plugin version [2.19.1]
com.fasterxml.jackson.core:jackson-databind:jar: project version [2.19.2], plugin version [2.19.1]
com.fasterxml.jackson.core:jackson-annotations:jar: project version [2.19.2], plugin version [2.19.1]
com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar: project version [2.19.2], plugin version [2.19.1]
org.jsoup:jsoup:jar: project version [1.11.3], plugin version [1.20.1]
org.ow2.asm:asm:jar: project version [7.0], plugin version [9.8]
org.apache.commons:commons-compress:jar: project version [1.28.0], plugin version [1.27.1]
commons-codec:commons-codec:jar: project version [1.18.0], plugin version [1.17.1]
org.apache.commons:commons-lang3:jar: project version [3.17.0], plugin version [3.16.0]
org.apache.commons:commons-text:jar: project version [1.6], plugin version [1.13.1]
io.github.classgraph:classgraph:jar: project version [4.8.163], plugin version [4.8.179]
com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar: project version [2.19.2], plugin version [2.19.1]
com.fasterxml.jackson.module:jackson-module-parameter-names:jar: project version [2.19.2], plugin version [2.19.1]
com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar: project version [2.19.2], plugin version [2.19.1]
io.swagger.core.v3:swagger-annotations-jakarta:jar: project version [2.2.22], plugin version [2.2.32]
jakarta.xml.bind:jakarta.xml.bind-api:jar: project version [4.0.2], plugin version [3.0.1]
com.sun.activation:jakarta.activation:jar: project version [1.2.1], plugin version [2.0.1]
org.springframework.data:spring-data-commons:jar: project version [3.5.2], plugin version [3.5.1]
org.springframework:spring-beans:jar: project version [6.2.9], plugin version [6.2.8]
org.springframework:spring-core:jar: project version [6.2.9], plugin version [6.2.8]
org.springframework:spring-jcl:jar: project version [6.2.9], plugin version [6.2.8]
[ERROR] The build process encountered an error: class com.vaadin.flow.server.frontend.scanner.FrontendAnnotatedClassVisitor has interface org.objectweb.asm.ClassVisitor as super class
[ERROR] To diagnose the issue, please re-run Maven with the -X option to enable detailed debug logging and identify the root cause.
…
`