Hi,
I upgraded to 14.2.1 from 14.2.0 and here are my dependencies in my build.gradle
.
dependencies {
// my framework
compile project(':myMultiProject:services.api')
// module specific needs
implementation('com.vaadin:vaadin-spring-boot-starter:14.2.1') {
// Webjars are only needed when running in Vaadin 13 compatibility mode
[
'com.vaadin.webjar',
'org.webjars.bowergithub.insites',
'org.webjars.bowergithub.polymer',
'org.webjars.bowergithub.polymerelements',
'org.webjars.bowergithub.vaadin',
'org.webjars.bowergithub.webcomponents'
].forEach { group -> exclude(group: group) }
exclude module: 'spring-boot-starter-tomcat'
}
implementation 'org.springframework.boot:spring-boot-starter-jetty:2.2.1.RELEASE'
compile 'com.atlassian.commonmark:commonmark:0.15.0'
implementation 'com.vaadin:vaadin-core:14.2.1'
implementation 'org.vaadin.elmot:vaadin-geo-location-flow-v14:2.0'
implementation 'com.flowingcode.addons.carousel:carousel-addon:2.0.0'
implementation 'ch.carnet.kasparscherrer:language-select:1.0.1'
compile 'com.github.appreciated:card:2.0.0.beta4'
compile 'com.vaadin.componentfactory:breadcrumb:2.0.0'
// transitive
implementation 'com.google.code.gson:gson'
implementation 'org.apache.httpcomponents:httpclient'
implementation 'org.apache.httpcomponents:httpcore'
implementation 'org.apache.commons:commons-text:1.8'
implementation 'net.openhft:zero-allocation-hashing:0.9'
// java 11 impacts
runtime 'javax.servlet:javax.servlet-api:3.1.0'
implementation 'javax.activation:javax.activation-api'
runtime 'javax.xml.bind:jaxb-api'
}
They are all resolved in my IDE, so the project shows no errors on compile or build path in IDE. However, when I run gradle build for CI, buildFrontend
task fails with the following stacktrace (trimmed to final caused by)…
Caused by: java.util.zip.ZipException: ZipFile invalid LOC header (bad signature)
at net.bytebuddy.jar.asm.ClassReader.readStream(ClassReader.java:316)
at net.bytebuddy.jar.asm.ClassReader.<init>(ClassReader.java:284)
at com.vaadin.flow.server.frontend.scanner.FrontendDependencies.visitClass(FrontendDependencies.java:467)
at com.vaadin.flow.server.frontend.scanner.FrontendDependencies.visitClass(FrontendDependencies.java:479)
at com.vaadin.flow.server.frontend.scanner.FrontendDependencies.collectEndpoints(FrontendDependencies.java:247)
at com.vaadin.flow.server.frontend.scanner.FrontendDependencies.computeEndpoints(FrontendDependencies.java:225)
at com.vaadin.flow.server.frontend.scanner.FrontendDependencies.<init>(FrontendDependencies.java:95)
... 101 more
I have already tried deleting build output folder, gradle caches folder, removing vaadin generated files (node_modules/, package.json, webpack.) and always he same result. I always check mvn repository to place the latest version for all addon dependency in the project. I need help to identify the offending jar and what is alternate/workaround…
Thanks in advance nnd appreciate all help I get.