I am developing a simple spring boot web enabled application. Spring boot Version is 2.2.1. When I start application I am getting this error
***************************
APPLICATION FAILED TO START
***************************
Description:
An attempt was made to call a method that does not exist. The attempt was made from the following location:
org.hibernate.validator.internal.xml.config.ValidationBootstrapParameters.<init>(ValidationBootstrapParameters.java:63)
The following method did not exist:
javax.validation.BootstrapConfiguration.getClockProviderClassName()Ljava/lang/String;
The method's class, javax.validation.BootstrapConfiguration, is available from the following locations:
jar:file:/home/shantanu/.m2/repository/io/swagger/swagger-codegen-cli/2.3.0/swagger-codegen-cli-2.3.0.jar!/javax/validation/BootstrapConfiguration.class
jar:file:/home/shantanu/.m2/repository/javax/validation/validation-api/2.0.1.Final/validation-api-2.0.1.Final.jar!/javax/validation/BootstrapConfiguration.class
jar:file:/home/shantanu/.m2/repository/jakarta/validation/jakarta.validation-api/2.0.1/jakarta.validation-api-2.0.1.jar!/javax/validation/BootstrapConfiguration.class
It was loaded from the following location:
file:/home/shantanu/.m2/repository/io/swagger/swagger-codegen-cli/2.3.0/swagger-codegen-cli-2.3.0.jar
Action:
Correct the classpath of your application so that it contains a single, compatible version of javax.validation.BootstrapConfiguration
I have no idea what is causing this error. I even tried putting exclusions for javax.validations on multiple dependencies but nothing helped. Here's the POM dependency tree. Please help.
[INFO] com.ibm.dip:MonolithDecomposer:jar:0.1
[INFO] +- org.springframework.boot:spring-boot-starter:jar:2.2.1.RELEASE:compile
[INFO] | +- org.springframework.boot:spring-boot:jar:2.2.1.RELEASE:compile
[INFO] | | \- org.springframework:spring-context:jar:5.2.1.RELEASE:compile
[INFO] | +- org.springframework.boot:spring-boot-autoconfigure:jar:2.2.1.RELEASE:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-logging:jar:2.2.1.RELEASE:compile
[INFO] | | +- ch.qos.logback:logback-classic:jar:1.2.3:compile
[INFO] | | | \- ch.qos.logback:logback-core:jar:1.2.3:compile
[INFO] | | +- org.apache.logging.log4j:log4j-to-slf4j:jar:2.12.1:compile
[INFO] | | | \- org.apache.logging.log4j:log4j-api:jar:2.12.1:compile
[INFO] | | \- org.slf4j:jul-to-slf4j:jar:1.7.29:compile
[INFO] | +- jakarta.annotation:jakarta.annotation-api:jar:1.3.5:compile
[INFO] | +- org.springframework:spring-core:jar:5.2.1.RELEASE:compile
[INFO] | | \- org.springframework:spring-jcl:jar:5.2.1.RELEASE:compile
[INFO] | \- org.yaml:snakeyaml:jar:1.25:compile
[INFO] +- org.springframework.boot:spring-boot-devtools:jar:2.2.1.RELEASE:runtime (optional)
[INFO] +- org.springframework.boot:spring-boot-starter-test:jar:2.2.1.RELEASE:test
[INFO] | +- org.springframework.boot:spring-boot-test:jar:2.2.1.RELEASE:test
[INFO] | +- org.springframework.boot:spring-boot-test-autoconfigure:jar:2.2.1.RELEASE:test
[INFO] | +- com.jayway.jsonpath:json-path:jar:2.4.0:test
[INFO] | | \- net.minidev:json-smart:jar:2.3:test
[INFO] | | \- net.minidev:accessors-smart:jar:1.2:test
[INFO] | | \- org.ow2.asm:asm:jar:5.0.4:test
[INFO] | +- jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.2:test
[INFO] | | \- jakarta.activation:jakarta.activation-api:jar:1.2.1:test
[INFO] | +- org.junit.jupiter:junit-jupiter:jar:5.5.2:test
[INFO] | | +- org.junit.jupiter:junit-jupiter-api:jar:5.5.2:test
[INFO] | | | +- org.apiguardian:apiguardian-api:jar:1.1.0:test
[INFO] | | | +- org.opentest4j:opentest4j:jar:1.2.0:test
[INFO] | | | \- org.junit.platform:junit-platform-commons:jar:1.5.2:test
[INFO] | | +- org.junit.jupiter:junit-jupiter-params:jar:5.5.2:test
[INFO] | | \- org.junit.jupiter:junit-jupiter-engine:jar:5.5.2:test
[INFO] | | \- org.junit.platform:junit-platform-engine:jar:1.5.2:test
[INFO] | +- org.mockito:mockito-junit-jupiter:jar:3.1.0:test
[INFO] | +- org.assertj:assertj-core:jar:3.13.2:test
[INFO] | +- org.hamcrest:hamcrest:jar:2.1:compile
[INFO] | +- org.mockito:mockito-core:jar:3.1.0:test
[INFO] | | +- net.bytebuddy:byte-buddy:jar:1.10.2:test
[INFO] | | +- net.bytebuddy:byte-buddy-agent:jar:1.10.2:test
[INFO] | | \- org.objenesis:objenesis:jar:2.6:test
[INFO] | +- org.skyscreamer:jsonassert:jar:1.5.0:test
[INFO] | | \- com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1:test
[INFO] | +- org.springframework:spring-test:jar:5.2.1.RELEASE:test
[INFO] | \- org.xmlunit:xmlunit-core:jar:2.6.3:test
[INFO] +- com.github.javaparser:javaparser-core:jar:3.15.2:compile
[INFO] +- org.apache.commons:commons-io:jar:1.3.2:compile
[INFO] +- org.springframework.boot:spring-boot-starter-data-mongodb:jar:2.2.1.RELEASE:compile
[INFO] | +- org.mongodb:mongodb-driver:jar:3.11.2:compile
[INFO] | | +- org.mongodb:bson:jar:3.11.2:compile
[INFO] | | \- org.mongodb:mongodb-driver-core:jar:3.11.2:compile
[INFO] | \- org.springframework.data:spring-data-mongodb:jar:2.2.1.RELEASE:compile
[INFO] | +- org.springframework:spring-tx:jar:5.2.1.RELEASE:compile
[INFO] | +- org.springframework:spring-beans:jar:5.2.1.RELEASE:compile
[INFO] | +- org.springframework:spring-expression:jar:5.2.1.RELEASE:compile
[INFO] | \- org.springframework.data:spring-data-commons:jar:2.2.1.RELEASE:compile
[INFO] +- com.fasterxml.jackson.core:jackson-databind:jar:2.10.0:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.10.0:compile
[INFO] | \- com.fasterxml.jackson.core:jackson-core:jar:2.10.0:compile
[INFO] +- commons-lang:commons-lang:jar:2.6:compile
[INFO] +- io.swagger:swagger-codegen-cli:jar:2.3.0:compile
[INFO] +- io.swagger.parser.v3:swagger-parser:jar:2.0.15:compile
[INFO] | +- io.swagger.parser.v3:swagger-parser-v2-converter:jar:2.0.15:compile
[INFO] | | +- io.swagger:swagger-parser:jar:1.0.47:compile
[INFO] | | | \- io.swagger:swagger-core:jar:1.5.24:compile
[INFO] | | | +- io.swagger:swagger-models:jar:1.5.24:compile
[INFO] | | | | \- io.swagger:swagger-annotations:jar:1.5.24:compile
[INFO] | | | \- com.google.guava:guava:jar:27.0.1-android:compile
[INFO] | | | +- com.google.guava:failureaccess:jar:1.0.1:compile
[INFO] | | | +- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile
[INFO] | | | +- org.checkerframework:checker-compat-qual:jar:2.5.2:compile
[INFO] | | | +- com.google.errorprone:error_prone_annotations:jar:2.2.0:compile
[INFO] | | | +- com.google.j2objc:j2objc-annotations:jar:1.1:compile
[INFO] | | | \- org.codehaus.mojo:animal-sniffer-annotations:jar:1.17:compile
[INFO] | | +- io.swagger:swagger-compat-spec-parser:jar:1.0.47:compile
[INFO] | | | +- com.github.java-json-tools:json-schema-validator:jar:2.2.8:compile
[INFO] | | | | +- com.github.java-json-tools:json-schema-core:jar:1.2.8:compile
[INFO] | | | | | +- org.mozilla:rhino:jar:1.7R4:compile
[INFO] | | | | | \- com.github.fge:uri-template:jar:0.9:compile
[INFO] | | | | +- javax.mail:mailapi:jar:1.4.3:compile
[INFO] | | | | | \- javax.activation:activation:jar:1.1:compile
[INFO] | | | | +- joda-time:joda-time:jar:2.10.5:compile
[INFO] | | | | +- com.googlecode.libphonenumber:libphonenumber:jar:8.0.0:compile
[INFO] | | | | +- com.google.code.findbugs:jsr305:jar:3.0.1:compile
[INFO] | | | | \- net.sf.jopt-simple:jopt-simple:jar:5.0.3:compile
[INFO] | | | +- com.github.fge:json-patch:jar:1.6:compile
[INFO] | | | | \- com.github.fge:jackson-coreutils:jar:1.6:compile
[INFO] | | | | \- com.github.fge:msg-simple:jar:1.1:compile
[INFO] | | | | \- com.github.fge:btf:jar:1.2:compile
[INFO] | | | \- org.apache.httpcomponents:httpclient:jar:4.5.10:compile
[INFO] | | | +- org.apache.httpcomponents:httpcore:jar:4.4.12:compile
[INFO] | | | \- commons-codec:commons-codec:jar:1.13:compile
[INFO] | | +- io.swagger.core.v3:swagger-models:jar:2.0.10:compile
[INFO] | | \- io.swagger.parser.v3:swagger-parser-core:jar:2.0.15:compile
[INFO] | +- io.swagger.parser.v3:swagger-parser-v3:jar:2.0.15:compile
[INFO] | | +- io.swagger.core.v3:swagger-core:jar:2.0.10:compile
[INFO] | | | +- javax.xml.bind:jaxb-api:jar:2.3.1:compile
[INFO] | | | | \- javax.activation:javax.activation-api:jar:1.2.0:compile
[INFO] | | | \- io.swagger.core.v3:swagger-annotations:jar:2.0.10:compile
[INFO] | | \- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.10.0:compile
[INFO] | +- org.slf4j:slf4j-ext:jar:1.7.29:compile
[INFO] | +- org.slf4j:slf4j-api:jar:1.7.29:compile
[INFO] | \- commons-io:commons-io:jar:2.4:compile
[INFO] +- org.json:json:jar:20160810:compile
[INFO] +- com.googlecode.json-simple:json-simple:jar:1.1.1:compile
[INFO] | \- junit:junit:jar:4.12:compile
[INFO] | \- org.hamcrest:hamcrest-core:jar:2.1:compile
[INFO] +- javax.validation:validation-api:jar:2.0.1.Final:compile
[INFO] +- org.apache.maven:maven-model:jar:3.5.0:compile
[INFO] | +- org.codehaus.plexus:plexus-utils:jar:3.0.24:compile
[INFO] | \- org.apache.commons:commons-lang3:jar:3.9:compile
[INFO] +- org.springframework.boot:spring-boot-starter-web:jar:2.2.1.RELEASE:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-json:jar:2.2.1.RELEASE:compile
[INFO] | | +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.10.0:compile
[INFO] | | +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.10.0:compile
[INFO] | | \- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.10.0:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-tomcat:jar:2.2.1.RELEASE:compile
[INFO] | | +- org.apache.tomcat.embed:tomcat-embed-core:jar:9.0.27:compile
[INFO] | | +- org.apache.tomcat.embed:tomcat-embed-el:jar:9.0.27:compile
[INFO] | | \- org.apache.tomcat.embed:tomcat-embed-websocket:jar:9.0.27:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-validation:jar:2.2.1.RELEASE:compile
[INFO] | | +- jakarta.validation:jakarta.validation-api:jar:2.0.1:compile
[INFO] | | \- org.hibernate.validator:hibernate-validator:jar:6.0.18.Final:compile
[INFO] | | +- org.jboss.logging:jboss-logging:jar:3.4.1.Final:compile
[INFO] | | \- com.fasterxml:classmate:jar:1.5.1:compile
[INFO] | +- org.springframework:spring-web:jar:5.2.1.RELEASE:compile
[INFO] | \- org.springframework:spring-webmvc:jar:5.2.1.RELEASE:compile
[INFO] | \- org.springframework:spring-aop:jar:5.2.1.RELEASE:compile
[INFO] \- org.eclipse.jgit:org.eclipse.jgit:jar:5.2.1.201812262042-r:compile
[INFO] +- com.jcraft:jsch:jar:0.1.54:compile
[INFO] +- com.jcraft:jzlib:jar:1.1.1:compile
[INFO] \- com.googlecode.javaewah:JavaEWAH:jar:1.1.6:compile
It looks like you have both have:
jakarta.validation:jakarta.validation-api
(transitive dependency via org.springframework.boot:spring-boot-starter-validation)
and
javax.validation:validation-api
on your classpath.
Since Spring Boot 2.2: Java EE dependencies with a javax. group ID are replaced by the equivalent Jakarta EE dependencies with a jakarta. group ID in Spring Boot’s starters.
For more information check the release notes:
https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.2-Release-Notes#jakarta-ee-dependencies
So you can remove the javax.validation:validation-api dependency from your project.
Related
In my application config i have defined the following properties:
logging.file.name = application.logs
When i run my application it's creating two files application.logs.0 and application.logs.0.lck and the content of file as follow
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE log SYSTEM "logger.dtd">
<log>
<record>
<date>2022-02-16T12:55:05.656986Z</date>
<millis>1645016105656</millis>
<nanos>986000</nanos>
<sequence>0</sequence>
<logger>org.apache.catalina.core.StandardService</logger>
<level>INFO</level>
<class>org.apache.catalina.core.StandardService</class>
<method>startInternal</method>
<thread>1</thread>
<message>Starting service [Tomcat]</message>
</record>
<record>
<date>2022-02-16T12:55:05.671696Z</date>
<millis>1645016105671</millis>
<nanos>696000</nanos>
<sequence>1</sequence>
<logger>org.apache.catalina.core.StandardEngine</logger>
<level>INFO</level>
<class>org.apache.catalina.core.StandardEngine</class>
<method>startInternal</method>
<thread>1</thread>
<message>Starting Servlet engine: [Apache Tomcat/9.0.48]</message>
</record>
It's not properly printing logs and don't want to output in the xml format
My Dependency Tree:
[INFO] com.walmart.uss:trigger:jar:0.0.1-SNAPSHOT
[INFO] +- com.google.cloud:google-cloud-logging:jar:3.0.0:compile
[INFO] | +- com.google.guava:guava:jar:31.0.1-jre:compile
[INFO] | +- com.google.guava:failureaccess:jar:1.0.1:compile
[INFO] | +- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile
[INFO] | +- com.google.code.findbugs:jsr305:jar:3.0.2:compile
[INFO] | +- org.checkerframework:checker-qual:jar:3.8.0:compile
[INFO] | +- com.google.errorprone:error_prone_annotations:jar:2.8.1:compile
[INFO] | +- com.google.j2objc:j2objc-annotations:jar:1.3:compile
[INFO] | +- io.grpc:grpc-api:jar:1.41.0:compile
[INFO] | +- io.grpc:grpc-context:jar:1.41.0:compile
[INFO] | +- io.grpc:grpc-stub:jar:1.41.0:compile
[INFO] | +- io.grpc:grpc-protobuf:jar:1.41.0:compile
[INFO] | +- io.grpc:grpc-protobuf-lite:jar:1.41.0:compile
[INFO] | +- com.google.api:api-common:jar:2.0.5:compile
[INFO] | +- javax.annotation:javax.annotation-api:jar:1.3.2:compile
[INFO] | +- com.google.auto.value:auto-value-annotations:jar:1.8.2:compile
[INFO] | +- com.google.protobuf:protobuf-java:jar:3.18.1:compile
[INFO] | +- com.google.protobuf:protobuf-java-util:jar:3.18.1:compile
[INFO] | +- com.google.code.gson:gson:jar:2.8.7:compile
[INFO] | +- com.google.api.grpc:proto-google-common-protos:jar:2.6.0:compile
[INFO] | +- com.google.api.grpc:proto-google-cloud-logging-v2:jar:0.92.0:compile
[INFO] | +- com.google.api:gax:jar:2.6.1:compile
[INFO] | +- io.opencensus:opencensus-api:jar:0.28.0:compile
[INFO] | +- com.google.api:gax-grpc:jar:2.6.1:compile
[INFO] | +- io.grpc:grpc-auth:jar:1.41.0:compile
[INFO] | +- com.google.auth:google-auth-library-credentials:jar:1.2.1:compile
[INFO] | +- io.grpc:grpc-netty-shaded:jar:1.41.0:compile
[INFO] | +- io.grpc:grpc-alts:jar:1.41.0:compile
[INFO] | +- io.grpc:grpc-grpclb:jar:1.41.0:compile
[INFO] | +- org.conscrypt:conscrypt-openjdk-uber:jar:2.5.1:compile
[INFO] | +- org.threeten:threetenbp:jar:1.5.1:compile
[INFO] | +- com.google.cloud:google-cloud-core-grpc:jar:2.2.0:compile
[INFO] | +- com.google.auth:google-auth-library-oauth2-http:jar:1.2.1:compile
[INFO] | +- com.google.http-client:google-http-client-gson:jar:1.40.1:compile
[INFO] | +- com.google.http-client:google-http-client:jar:1.40.1:compile
[INFO] | +- commons-logging:commons-logging:jar:1.2:compile
[INFO] | +- commons-codec:commons-codec:jar:1.15:compile
[INFO] | +- org.apache.httpcomponents:httpcore:jar:4.4.14:compile
[INFO] | +- io.opencensus:opencensus-contrib-http-util:jar:0.28.0:compile
[INFO] | +- io.grpc:grpc-core:jar:1.41.0:compile
[INFO] | +- com.google.android:annotations:jar:4.1.1.4:runtime
[INFO] | +- org.codehaus.mojo:animal-sniffer-annotations:jar:1.20:runtime
[INFO] | +- io.perfmark:perfmark-api:jar:0.23.0:runtime
[INFO] | +- com.google.cloud:google-cloud-core:jar:2.2.0:compile
[INFO] | \- com.google.api.grpc:proto-google-iam-v1:jar:1.1.6:compile
[INFO] +- org.springframework.boot:spring-boot-starter:jar:2.5.2:compile
[INFO] | +- org.springframework.boot:spring-boot:jar:2.5.2:compile
[INFO] | +- org.springframework.boot:spring-boot-autoconfigure:jar:2.5.2:compile
[INFO] | +- jakarta.annotation:jakarta.annotation-api:jar:1.3.5:compile
[INFO] | +- org.springframework:spring-core:jar:5.3.8:compile
[INFO] | | \- org.springframework:spring-jcl:jar:5.3.8:compile
[INFO] | \- org.yaml:snakeyaml:jar:1.28:compile
[INFO] +- org.springframework.boot:spring-boot-starter-test:jar:2.5.2:test
[INFO] | +- org.springframework.boot:spring-boot-test:jar:2.5.2:test
[INFO] | +- org.springframework.boot:spring-boot-test-autoconfigure:jar:2.5.2:test
[INFO] | +- com.jayway.jsonpath:json-path:jar:2.5.0:test
[INFO] | | \- net.minidev:json-smart:jar:2.4.7:compile
[INFO] | | \- net.minidev:accessors-smart:jar:2.4.7:compile
[INFO] | +- jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.3:compile
[INFO] | | \- jakarta.activation:jakarta.activation-api:jar:1.2.2:compile
[INFO] | +- org.assertj:assertj-core:jar:3.19.0:test
[INFO] | +- org.hamcrest:hamcrest:jar:2.2:test
[INFO] | +- org.junit.jupiter:junit-jupiter:jar:5.7.2:test
[INFO] | | +- org.junit.jupiter:junit-jupiter-api:jar:5.7.2:test
[INFO] | | | +- org.apiguardian:apiguardian-api:jar:1.1.0:test
[INFO] | | | +- org.opentest4j:opentest4j:jar:1.2.0:test
[INFO] | | | \- org.junit.platform:junit-platform-commons:jar:1.7.2:test
[INFO] | | +- org.junit.jupiter:junit-jupiter-params:jar:5.7.2:test
[INFO] | | \- org.junit.jupiter:junit-jupiter-engine:jar:5.7.2:test
[INFO] | | \- org.junit.platform:junit-platform-engine:jar:1.7.2:test
[INFO] | +- org.mockito:mockito-core:jar:3.9.0:test
[INFO] | | +- net.bytebuddy:byte-buddy:jar:1.10.22:compile
[INFO] | | +- net.bytebuddy:byte-buddy-agent:jar:1.10.22:test
[INFO] | | \- org.objenesis:objenesis:jar:3.2:compile
[INFO] | +- org.mockito:mockito-junit-jupiter:jar:3.9.0:test
[INFO] | +- org.skyscreamer:jsonassert:jar:1.5.0:test
[INFO] | | \- com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1:test
[INFO] | +- org.springframework:spring-test:jar:5.3.8:test
[INFO] | \- org.xmlunit:xmlunit-core:jar:2.8.2:test
[INFO] +- org.springframework.boot:spring-boot-starter-thymeleaf:jar:2.5.2:compile
[INFO] | +- org.thymeleaf:thymeleaf-spring5:jar:3.0.12.RELEASE:compile
[INFO] | | \- org.thymeleaf:thymeleaf:jar:3.0.12.RELEASE:compile
[INFO] | | +- org.attoparser:attoparser:jar:2.0.5.RELEASE:compile
[INFO] | | \- org.unbescape:unbescape:jar:1.1.6.RELEASE:compile
[INFO] | \- org.thymeleaf.extras:thymeleaf-extras-java8time:jar:3.0.4.RELEASE:compile
[INFO] +- org.springframework:spring-webmvc:jar:5.3.8:compile
[INFO] | +- org.springframework:spring-aop:jar:5.3.8:compile
[INFO] | +- org.springframework:spring-beans:jar:5.3.8:compile
[INFO] | +- org.springframework:spring-context:jar:5.3.8:compile
[INFO] | +- org.springframework:spring-expression:jar:5.3.8:compile
[INFO] | \- org.springframework:spring-web:jar:5.3.8:compile
[INFO] +- org.springframework.boot:spring-boot-starter-security:jar:2.5.2:compile
[INFO] | +- org.springframework.security:spring-security-config:jar:5.5.1:compile
[INFO] | | \- org.springframework.security:spring-security-core:jar:5.5.1:compile
[INFO] | | \- org.springframework.security:spring-security-crypto:jar:5.5.1:compile
[INFO] | \- org.springframework.security:spring-security-web:jar:5.5.1:compile
[INFO] +- org.springframework.data:spring-data-jpa:jar:2.5.2:compile
[INFO] | +- org.springframework.data:spring-data-commons:jar:2.5.2:compile
[INFO] | +- org.springframework:spring-orm:jar:5.3.8:compile
[INFO] | | \- org.springframework:spring-jdbc:jar:5.3.8:compile
[INFO] | +- org.springframework:spring-tx:jar:5.3.8:compile
[INFO] | +- org.aspectj:aspectjrt:jar:1.9.6:compile
[INFO] | \- org.slf4j:slf4j-api:jar:1.7.31:compile
[INFO] +- org.springframework.boot:spring-boot-starter-data-jpa:jar:2.5.2:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-aop:jar:2.5.2:compile
[INFO] | | \- org.aspectj:aspectjweaver:jar:1.9.6:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-jdbc:jar:2.5.2:compile
[INFO] | | \- com.zaxxer:HikariCP:jar:4.0.3:compile
[INFO] | +- jakarta.transaction:jakarta.transaction-api:jar:1.3.3:compile
[INFO] | +- jakarta.persistence:jakarta.persistence-api:jar:2.2.3:compile
[INFO] | +- org.hibernate:hibernate-core:jar:5.4.32.Final:compile
[INFO] | | +- org.jboss.logging:jboss-logging:jar:3.4.2.Final:compile
[INFO] | | +- org.javassist:javassist:jar:3.27.0-GA:compile
[INFO] | | +- antlr:antlr:jar:2.7.7:compile
[INFO] | | +- org.jboss:jandex:jar:2.2.3.Final:compile
[INFO] | | +- com.fasterxml:classmate:jar:1.5.1:compile
[INFO] | | +- org.dom4j:dom4j:jar:2.1.3:compile
[INFO] | | +- org.hibernate.common:hibernate-commons-annotations:jar:5.1.2.Final:compile
[INFO] | | \- org.glassfish.jaxb:jaxb-runtime:jar:2.3.4:compile
[INFO] | | +- org.glassfish.jaxb:txw2:jar:2.3.4:compile
[INFO] | | +- com.sun.istack:istack-commons-runtime:jar:3.0.12:compile
[INFO] | | \- com.sun.activation:jakarta.activation:jar:1.2.2:runtime
[INFO] | \- org.springframework:spring-aspects:jar:5.3.8:compile
[INFO] +- org.projectlombok:lombok:jar:1.18.12:provided
[INFO] +- com.h2database:h2:jar:1.4.190:runtime
[INFO] +- org.springframework.boot:spring-boot-starter-web:jar:2.5.2:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-json:jar:2.5.2:compile
[INFO] | | +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.12.3:compile
[INFO] | | +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.12.3:compile
[INFO] | | \- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.12.3:compile
[INFO] | \- org.springframework.boot:spring-boot-starter-tomcat:jar:2.5.2:compile
[INFO] | +- org.apache.tomcat.embed:tomcat-embed-core:jar:9.0.48:compile
[INFO] | +- org.apache.tomcat.embed:tomcat-embed-el:jar:9.0.48:compile
[INFO] | \- org.apache.tomcat.embed:tomcat-embed-websocket:jar:9.0.48:compile
[INFO] +- org.apache.httpcomponents:httpclient:jar:4.5.12:compile
[INFO] +- org.springframework.integration:spring-integration-core:jar:5.5.3:compile
[INFO] | +- org.springframework:spring-messaging:jar:5.3.8:compile
[INFO] | +- org.springframework.retry:spring-retry:jar:1.3.1:compile
[INFO] | \- io.projectreactor:reactor-core:jar:3.4.7:compile
[INFO] | \- org.reactivestreams:reactive-streams:jar:1.0.3:compile
[INFO] +- org.apache.commons:commons-text:jar:1.9:compile
[INFO] | \- org.apache.commons:commons-lang3:jar:3.12.0:compile
[INFO] +- com.fasterxml.jackson.core:jackson-annotations:jar:2.12.3:compile
[INFO] +- com.fasterxml.jackson.core:jackson-core:jar:2.12.3:compile
[INFO] +- com.fasterxml.jackson.core:jackson-databind:jar:2.12.3:compile
[INFO] +- org.springframework.boot:spring-boot-starter-actuator:jar:2.5.2:compile
[INFO] | +- org.springframework.boot:spring-boot-actuator-autoconfigure:jar:2.5.2:compile
[INFO] | | \- org.springframework.boot:spring-boot-actuator:jar:2.5.2:compile
[INFO] | \- io.micrometer:micrometer-core:jar:1.7.1:compile
[INFO] | +- org.hdrhistogram:HdrHistogram:jar:2.1.12:compile
[INFO] | \- org.latencyutils:LatencyUtils:jar:2.0.3:runtime
[INFO] +- org.apache.maven.plugins:maven-compiler-plugin:jar:3.8.1:compile
[INFO] | +- org.apache.maven:maven-plugin-api:jar:3.0:compile
[INFO] | | +- org.apache.maven:maven-model:jar:3.0:compile
[INFO] | | \- org.sonatype.sisu:sisu-inject-plexus:jar:1.4.2:compile
[INFO] | | \- org.sonatype.sisu:sisu-inject-bean:jar:1.4.2:compile
[INFO] | | \- org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7:compile
[INFO] | +- org.apache.maven:maven-artifact:jar:3.0:compile
[INFO] | | \- org.codehaus.plexus:plexus-utils:jar:2.0.4:compile
[INFO] | +- org.apache.maven:maven-core:jar:3.0:compile
[INFO] | | +- org.apache.maven:maven-settings:jar:3.0:compile
[INFO] | | +- org.apache.maven:maven-settings-builder:jar:3.0:compile
[INFO] | | +- org.apache.maven:maven-repository-metadata:jar:3.0:compile
[INFO] | | +- org.apache.maven:maven-model-builder:jar:3.0:compile
[INFO] | | +- org.apache.maven:maven-aether-provider:jar:3.0:runtime
[INFO] | | +- org.sonatype.aether:aether-impl:jar:1.7:compile
[INFO] | | | \- org.sonatype.aether:aether-spi:jar:1.7:compile
[INFO] | | +- org.sonatype.aether:aether-api:jar:1.7:compile
[INFO] | | +- org.sonatype.aether:aether-util:jar:1.7:compile
[INFO] | | +- org.codehaus.plexus:plexus-interpolation:jar:1.14:compile
[INFO] | | +- org.codehaus.plexus:plexus-classworlds:jar:2.2.3:compile
[INFO] | | +- org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
[INFO] | | \- org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[INFO] | | \- org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[INFO] | +- org.apache.maven.shared:maven-shared-utils:jar:3.2.1:compile
[INFO] | | \- commons-io:commons-io:jar:2.5:compile
[INFO] | +- org.apache.maven.shared:maven-shared-incremental:jar:1.1:compile
[INFO] | +- org.codehaus.plexus:plexus-java:jar:0.9.10:compile
[INFO] | | +- org.ow2.asm:asm:jar:6.2:compile
[INFO] | | \- com.thoughtworks.qdox:qdox:jar:2.0-M8:compile
[INFO] | +- org.codehaus.plexus:plexus-compiler-api:jar:2.8.4:compile
[INFO] | +- org.codehaus.plexus:plexus-compiler-manager:jar:2.8.4:compile
[INFO] | \- org.codehaus.plexus:plexus-compiler-javac:jar:2.8.4:runtime
[INFO] +- org.postgresql:postgresql:jar:42.2.23:compile
[INFO] +- junit:junit:jar:4.12:test
[INFO] | \- org.hamcrest:hamcrest-core:jar:2.2:test
[INFO] +- org.springframework.boot:spring-boot-loader:jar:2.5.6:compile
[INFO] +- com.google.cloud:google-cloud-dataproc:jar:2.2.2:compile
[INFO] | \- com.google.api.grpc:proto-google-cloud-dataproc-v1:jar:2.2.2:compile
[INFO] +- mysql:mysql-connector-java:jar:8.0.25:compile
[INFO] +- com.google.cloud:google-cloud-bigquery:jar:2.3.3:compile
[INFO] | +- com.google.cloud:google-cloud-core-http:jar:2.2.0:compile
[INFO] | +- com.google.api-client:google-api-client:jar:1.32.2:compile
[INFO] | +- com.google.oauth-client:google-oauth-client:jar:1.32.1:compile
[INFO] | +- com.google.http-client:google-http-client-apache-v2:jar:1.40.1:compile
[INFO] | +- com.google.http-client:google-http-client-appengine:jar:1.40.1:compile
[INFO] | +- com.google.api:gax-httpjson:jar:0.91.1:compile
[INFO] | +- com.google.http-client:google-http-client-jackson2:jar:1.40.1:compile
[INFO] | +- org.checkerframework:checker-compat-qual:jar:2.5.5:compile
[INFO] | \- com.google.apis:google-api-services-bigquery:jar:v2-rev20211017-1.32.1:compile
[INFO] +- org.apache.spark:spark-core_2.12:jar:3.1.0:compile
[INFO] | +- com.thoughtworks.paranamer:paranamer:jar:2.8:compile
[INFO] | +- org.apache.avro:avro:jar:1.8.2:compile
[INFO] | | +- org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile
[INFO] | | +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:compile
[INFO] | | +- org.apache.commons:commons-compress:jar:1.8.1:compile
[INFO] | | \- org.tukaani:xz:jar:1.5:compile
[INFO] | +- org.apache.avro:avro-mapred:jar:hadoop2:1.8.2:compile
[INFO] | | \- org.apache.avro:avro-ipc:jar:1.8.2:compile
[INFO] | +- com.twitter:chill_2.12:jar:0.9.5:compile
[INFO] | | \- com.esotericsoftware:kryo-shaded:jar:4.0.2:compile
[INFO] | | \- com.esotericsoftware:minlog:jar:1.3.0:compile
[INFO] | +- com.twitter:chill-java:jar:0.9.5:compile
[INFO] | +- org.apache.xbean:xbean-asm7-shaded:jar:4.15:compile
[INFO] | +- org.apache.hadoop:hadoop-client:jar:3.2.0:compile
[INFO] | | +- org.apache.hadoop:hadoop-common:jar:3.2.0:compile
[INFO] | | | +- commons-cli:commons-cli:jar:1.2:compile
[INFO] | | | +- commons-collections:commons-collections:jar:3.2.2:compile
[INFO] | | | +- org.eclipse.jetty:jetty-servlet:jar:9.4.42.v20210604:compile
[INFO] | | | | +- org.eclipse.jetty:jetty-security:jar:9.4.42.v20210604:compile
[INFO] | | | | \- org.eclipse.jetty:jetty-util-ajax:jar:9.4.42.v20210604:compile
[INFO] | | | +- javax.servlet.jsp:jsp-api:jar:2.1:runtime
[INFO] | | | +- commons-beanutils:commons-beanutils:jar:1.9.3:compile
[INFO] | | | +- org.apache.commons:commons-configuration2:jar:2.1.1:compile
[INFO] | | | +- com.google.re2j:re2j:jar:1.1:compile
[INFO] | | | +- org.apache.hadoop:hadoop-auth:jar:3.2.0:compile
[INFO] | | | | \- com.nimbusds:nimbus-jose-jwt:jar:9.10:compile
[INFO] | | | | \- com.github.stephenc.jcip:jcip-annotations:jar:1.0-1:compile
[INFO] | | | +- org.apache.curator:curator-client:jar:2.12.0:compile
[INFO] | | | +- org.apache.htrace:htrace-core4:jar:4.1.0-incubating:compile
[INFO] | | | +- org.apache.kerby:kerb-simplekdc:jar:1.0.1:compile
[INFO] | | | | +- org.apache.kerby:kerb-client:jar:1.0.1:compile
[INFO] | | | | | +- org.apache.kerby:kerby-config:jar:1.0.1:compile
[INFO] | | | | | +- org.apache.kerby:kerb-core:jar:1.0.1:compile
[INFO] | | | | | | \- org.apache.kerby:kerby-pkix:jar:1.0.1:compile
[INFO] | | | | | | +- org.apache.kerby:kerby-asn1:jar:1.0.1:compile
[INFO] | | | | | | \- org.apache.kerby:kerby-util:jar:1.0.1:compile
[INFO] | | | | | +- org.apache.kerby:kerb-common:jar:1.0.1:compile
[INFO] | | | | | | \- org.apache.kerby:kerb-crypto:jar:1.0.1:compile
[INFO] | | | | | +- org.apache.kerby:kerb-util:jar:1.0.1:compile
[INFO] | | | | | \- org.apache.kerby:token-provider:jar:1.0.1:compile
[INFO] | | | | \- org.apache.kerby:kerb-admin:jar:1.0.1:compile
[INFO] | | | | +- org.apache.kerby:kerb-server:jar:1.0.1:compile
[INFO] | | | | | \- org.apache.kerby:kerb-identity:jar:1.0.1:compile
[INFO] | | | | \- org.apache.kerby:kerby-xdr:jar:1.0.1:compile
[INFO] | | | +- org.codehaus.woodstox:stax2-api:jar:3.1.4:compile
[INFO] | | | +- com.fasterxml.woodstox:woodstox-core:jar:5.0.3:compile
[INFO] | | | \- dnsjava:dnsjava:jar:2.1.7:compile
[INFO] | | +- org.apache.hadoop:hadoop-hdfs-client:jar:3.2.0:compile
[INFO] | | | \- com.squareup.okhttp:okhttp:jar:2.7.5:compile
[INFO] | | | \- com.squareup.okio:okio:jar:1.6.0:compile
[INFO] | | +- org.apache.hadoop:hadoop-yarn-api:jar:3.2.0:compile
[INFO] | | | \- javax.xml.bind:jaxb-api:jar:2.3.1:compile
[INFO] | | | \- javax.activation:javax.activation-api:jar:1.2.0:compile
[INFO] | | +- org.apache.hadoop:hadoop-yarn-client:jar:3.2.0:compile
[INFO] | | +- org.apache.hadoop:hadoop-mapreduce-client-core:jar:3.2.0:compile
[INFO] | | | \- org.apache.hadoop:hadoop-yarn-common:jar:3.2.0:compile
[INFO] | | | +- javax.servlet:javax.servlet-api:jar:4.0.1:compile
[INFO] | | | +- org.eclipse.jetty:jetty-util:jar:9.4.42.v20210604:compile
[INFO] | | | +- com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.12.3:compile
[INFO] | | | \- com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:jar:2.12.3:compile
[INFO] | | | \- com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:jar:2.12.3:compile
[INFO] | | +- org.apache.hadoop:hadoop-mapreduce-client-jobclient:jar:3.2.0:compile
[INFO] | | | \- org.apache.hadoop:hadoop-mapreduce-client-common:jar:3.2.0:compile
[INFO] | | \- org.apache.hadoop:hadoop-annotations:jar:3.2.0:compile
[INFO] | +- org.apache.spark:spark-launcher_2.12:jar:3.1.0:compile
[INFO] | +- org.apache.spark:spark-kvstore_2.12:jar:3.1.0:compile
[INFO] | | \- org.fusesource.leveldbjni:leveldbjni-all:jar:1.8:compile
[INFO] | +- org.apache.spark:spark-network-common_2.12:jar:3.1.0:compile
[INFO] | +- org.apache.spark:spark-network-shuffle_2.12:jar:3.1.0:compile
[INFO] | +- org.apache.spark:spark-unsafe_2.12:jar:3.1.0:compile
[INFO] | +- javax.activation:activation:jar:1.1.1:compile
[INFO] | +- org.apache.curator:curator-recipes:jar:2.13.0:compile
[INFO] | | \- org.apache.curator:curator-framework:jar:2.13.0:compile
[INFO] | +- org.apache.zookeeper:zookeeper:jar:3.4.14:compile
[INFO] | | \- org.apache.yetus:audience-annotations:jar:0.5.0:compile
[INFO] | +- jakarta.servlet:jakarta.servlet-api:jar:4.0.4:compile
[INFO] | +- org.apache.commons:commons-math3:jar:3.4.1:compile
[INFO] | +- org.slf4j:jul-to-slf4j:jar:1.7.31:compile
[INFO] | +- org.slf4j:jcl-over-slf4j:jar:1.7.31:compile
[INFO] | +- com.ning:compress-lzf:jar:1.0.3:compile
[INFO] | +- org.xerial.snappy:snappy-java:jar:1.1.8.2:compile
[INFO] | +- org.lz4:lz4-java:jar:1.7.1:compile
[INFO] | +- com.github.luben:zstd-jni:jar:1.4.8-1:compile
[INFO] | +- org.roaringbitmap:RoaringBitmap:jar:0.9.0:compile
[INFO] | | \- org.roaringbitmap:shims:jar:0.9.0:runtime
[INFO] | +- commons-net:commons-net:jar:3.1:compile
[INFO] | +- org.scala-lang.modules:scala-xml_2.12:jar:1.2.0:compile
[INFO] | +- org.scala-lang:scala-library:jar:2.12.10:compile
[INFO] | +- org.scala-lang:scala-reflect:jar:2.12.10:compile
[INFO] | +- org.json4s:json4s-jackson_2.12:jar:3.7.0-M5:compile
[INFO] | | \- org.json4s:json4s-core_2.12:jar:3.7.0-M5:compile
[INFO] | | +- org.json4s:json4s-ast_2.12:jar:3.7.0-M5:compile
[INFO] | | \- org.json4s:json4s-scalap_2.12:jar:3.7.0-M5:compile
[INFO] | +- org.glassfish.jersey.core:jersey-client:jar:2.33:compile
[INFO] | | +- jakarta.ws.rs:jakarta.ws.rs-api:jar:2.1.6:compile
[INFO] | | \- org.glassfish.hk2.external:jakarta.inject:jar:2.6.1:compile
[INFO] | +- org.glassfish.jersey.core:jersey-common:jar:2.33:compile
[INFO] | | \- org.glassfish.hk2:osgi-resource-locator:jar:1.0.3:compile
[INFO] | +- org.glassfish.jersey.core:jersey-server:jar:2.33:compile
[INFO] | | \- jakarta.validation:jakarta.validation-api:jar:2.0.2:compile
[INFO] | +- org.glassfish.jersey.containers:jersey-container-servlet:jar:2.33:compile
[INFO] | +- org.glassfish.jersey.containers:jersey-container-servlet-core:jar:2.33:compile
[INFO] | +- org.glassfish.jersey.inject:jersey-hk2:jar:2.33:compile
[INFO] | | \- org.glassfish.hk2:hk2-locator:jar:2.6.1:compile
[INFO] | | +- org.glassfish.hk2.external:aopalliance-repackaged:jar:2.6.1:compile
[INFO] | | +- org.glassfish.hk2:hk2-api:jar:2.6.1:compile
[INFO] | | \- org.glassfish.hk2:hk2-utils:jar:2.6.1:compile
[INFO] | +- io.netty:netty-all:jar:4.1.65.Final:compile
[INFO] | +- com.clearspring.analytics:stream:jar:2.9.6:compile
[INFO] | +- io.dropwizard.metrics:metrics-core:jar:4.1.24:compile
[INFO] | +- io.dropwizard.metrics:metrics-jvm:jar:4.1.24:compile
[INFO] | +- io.dropwizard.metrics:metrics-json:jar:4.1.24:compile
[INFO] | +- io.dropwizard.metrics:metrics-graphite:jar:4.1.24:compile
[INFO] | +- io.dropwizard.metrics:metrics-jmx:jar:4.1.24:compile
[INFO] | +- com.fasterxml.jackson.module:jackson-module-scala_2.12:jar:2.12.3:compile
[INFO] | +- org.apache.ivy:ivy:jar:2.4.0:compile
[INFO] | +- oro:oro:jar:2.0.8:compile
[INFO] | +- net.razorvine:pyrolite:jar:4.30:compile
[INFO] | +- net.sf.py4j:py4j:jar:0.10.9:compile
[INFO] | +- org.apache.spark:spark-tags_2.12:jar:3.1.0:compile
[INFO] | +- org.apache.commons:commons-crypto:jar:1.1.0:compile
[INFO] | \- org.spark-project.spark:unused:jar:1.0.0:compile
[INFO] +- org.apache.spark:spark-streaming_2.12:jar:3.1.0:compile
[INFO] +- org.apache.spark:spark-streaming-kafka-0-10_2.12:jar:3.1.0:compile
[INFO] | +- org.apache.spark:spark-token-provider-kafka-0-10_2.12:jar:3.1.0:compile
[INFO] | \- org.apache.kafka:kafka-clients:jar:2.7.1:compile
[INFO] +- org.apache.spark:spark-avro_2.12:jar:3.1.0:compile
[INFO] +- org.apache.spark:spark-sql-kafka-0-10_2.12:jar:3.1.0:compile
[INFO] | \- org.apache.commons:commons-pool2:jar:2.9.0:compile
[INFO] +- org.codehaus.janino:janino:jar:3.0.8:compile
[INFO] +- org.codehaus.janino:commons-compiler:jar:3.0.8:compile
[INFO] +- org.apache.spark:spark-sql_2.12:jar:3.1.0:compile
[INFO] | +- com.univocity:univocity-parsers:jar:2.9.0:compile
[INFO] | +- org.apache.spark:spark-sketch_2.12:jar:3.1.0:compile
[INFO] | +- org.apache.spark:spark-catalyst_2.12:jar:3.1.0:compile
[INFO] | | +- org.scala-lang.modules:scala-parser-combinators_2.12:jar:1.1.2:compile
[INFO] | | +- org.antlr:antlr4-runtime:jar:4.8-1:compile
[INFO] | | +- org.apache.arrow:arrow-vector:jar:2.0.0:compile
[INFO] | | | +- org.apache.arrow:arrow-format:jar:2.0.0:compile
[INFO] | | | +- org.apache.arrow:arrow-memory-core:jar:2.0.0:compile
[INFO] | | | \- com.google.flatbuffers:flatbuffers-java:jar:1.9.0:compile
[INFO] | | \- org.apache.arrow:arrow-memory-netty:jar:2.0.0:compile
[INFO] | +- org.apache.orc:orc-core:jar:1.5.12:compile
[INFO] | | +- org.apache.orc:orc-shims:jar:1.5.12:compile
[INFO] | | +- commons-lang:commons-lang:jar:2.6:compile
[INFO] | | +- io.airlift:aircompressor:jar:0.10:compile
[INFO] | | \- org.threeten:threeten-extra:jar:1.5.0:compile
[INFO] | +- org.apache.orc:orc-mapreduce:jar:1.5.12:compile
[INFO] | +- org.apache.hive:hive-storage-api:jar:2.7.2:compile
[INFO] | +- org.apache.parquet:parquet-column:jar:1.10.1:compile
[INFO] | | +- org.apache.parquet:parquet-common:jar:1.10.1:compile
[INFO] | | \- org.apache.parquet:parquet-encoding:jar:1.10.1:compile
[INFO] | \- org.apache.parquet:parquet-hadoop:jar:1.10.1:compile
[INFO] | +- org.apache.parquet:parquet-format:jar:2.4.0:compile
[INFO] | \- org.apache.parquet:parquet-jackson:jar:1.10.1:compile
[INFO] +- org.springframework.kafka:spring-kafka:jar:2.8.2:compile
[INFO] +- com.google.cloud:google-cloud-storage:jar:2.1.9:compile
[INFO] | \- com.google.apis:google-api-services-storage:jar:v1-rev20210918-1.32.1:compile
[INFO] \- za.co.absa:abris_2.12:jar:6.0.0:compile
[INFO] +- io.confluent:kafka-avro-serializer:jar:6.2.1:compile
[INFO] | +- io.confluent:kafka-schema-serializer:jar:6.2.1:compile
[INFO] | \- io.confluent:common-utils:jar:6.2.1:compile
[INFO] +- io.confluent:kafka-schema-registry-client:jar:6.2.1:compile
[INFO] | +- io.swagger:swagger-annotations:jar:1.6.2:compile
[INFO] | \- io.swagger:swagger-core:jar:1.6.2:compile
[INFO] | +- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.12.3:compile
[INFO] | \- io.swagger:swagger-models:jar:1.6.2:compile
[INFO] \- za.co.absa.commons:commons_2.12:jar:1.0.0:compile
My Spark Integration with Spring boot is causing the issue, i am not able to dependency which is causing it
application.logs.0.lck is created for avoiding having corrupt data, you could have more than two logger instances trying to write the same log file and the result of it might not be the desired one.
You could try this to get a simple format of the log files:
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
Or:
java.util.logging.ConsoleHandler.formatter = org.springframework.boot.logging.java.SimpleFormatter
Acording to this answer: https://stackoverflow.com/a/51236918/16651073
tomcat falls back to default logging if it can resolve the location
Can you try to save the properties without the spaces.
Like this:
logging.file.name=application.logs
I am trying to run Quarkus application in native mode. It works fine when run on jvm, but it crashes just after the start when run natively. Already tried different versions of io.grpc.* libraries, but with no luck.
I am using Quarkus 2.0.1.Final, with graalvm-ce-java11-21.1.0
2021-07-14 11:11:19,224 INFO [io.quarkus] (main) Installed features: [cdi, oidc-client, oidc-client-filter, rest-client, rest-client-jackson, resteasy-jackson, smallrye-context-propagation, smallrye-health]
2021-07-14 11:11:19,226 ERROR [io.qua.run.Application] (main) Failed to start application (with profile prod): io.grpc.ManagedChannelProvider$ProviderNotFoundException: No functional channel service provider found. Try adding a dependency on the grpc-okhttp, grpc-netty, or grpc-netty-shaded artifact
at io.grpc.ManagedChannelProvider.provider(ManagedChannelProvider.java:43)
at io.grpc.ManagedChannelBuilder.forAddress(ManagedChannelBuilder.java:39)
at com.aaa.bbb.eventbus.EventBusFactory.createManagedChannel(EventBusFactory.java:42)
at com.aaa.bbb.eventbus.EventBusFactory_ProducerMethod_createManagedChannel_149b127e61d711c80a2cb8180e6db
The failing part in the code is Producer for ManagedChannel which is defined as follows:
#Produces
public ManagedChannel createManagedChannel(final Config config)
{
var environment = config.getEventBusEnvironment();
return ManagedChannelBuilder
.forAddress(environment.getServer(), environment.getPort())
.useTransportSecurity()
.build();
}
Here is a dependency tree I have for my project:
NFO] --- maven-dependency-plugin:2.8:tree (default-cli) # msp-bbb-events-consumer-router ---
[INFO] com.aaa:msp-bbb-events-consumer-router:jar:0.0.9-SNAPSHOT
[INFO] +- io.quarkus:quarkus-arc:jar:2.0.1.Final:compile
[INFO] | +- io.quarkus.arc:arc:jar:2.0.1.Final:compile
[INFO] | | +- jakarta.enterprise:jakarta.enterprise.cdi-api:jar:2.0.2:compile
[INFO] | | | \- jakarta.el:jakarta.el-api:jar:3.0.3:compile
[INFO] | | +- jakarta.annotation:jakarta.annotation-api:jar:1.3.5:compile
[INFO] | | +- jakarta.transaction:jakarta.transaction-api:jar:1.3.3:compile
[INFO] | | \- org.jboss.logging:jboss-logging:jar:3.4.2.Final:compile
[INFO] | +- io.quarkus:quarkus-core:jar:2.0.1.Final:compile
[INFO] | | +- jakarta.inject:jakarta.inject-api:jar:1.0:compile
[INFO] | | +- io.quarkus:quarkus-ide-launcher:jar:2.0.1.Final:compile
[INFO] | | +- io.quarkus:quarkus-development-mode-spi:jar:2.0.1.Final:compile
[INFO] | | +- io.smallrye.config:smallrye-config:jar:2.3.0:compile
[INFO] | | | \- io.smallrye.config:smallrye-config-core:jar:2.3.0:compile
[INFO] | | | +- org.eclipse.microprofile.config:microprofile-config-api:jar:2.0:compile
[INFO] | | | +- io.smallrye.common:smallrye-common-expression:jar:1.6.0:compile
[INFO] | | | | \- io.smallrye.common:smallrye-common-function:jar:1.6.0:compile
[INFO] | | | +- io.smallrye.common:smallrye-common-constraint:jar:1.6.0:compile
[INFO] | | | +- io.smallrye.common:smallrye-common-classloader:jar:1.6.0:compile
[INFO] | | | \- io.smallrye.config:smallrye-config-common:jar:2.3.0:compile
[INFO] | | +- org.jboss.logmanager:jboss-logmanager-embedded:jar:1.0.9:compile
[INFO] | | +- org.jboss.logging:jboss-logging-annotations:jar:2.2.1.Final:compile
[INFO] | | +- org.jboss.threads:jboss-threads:jar:3.4.0.Final:compile
[INFO] | | +- org.jboss.slf4j:slf4j-jboss-logmanager:jar:1.1.0.Final:compile
[INFO] | | +- org.graalvm.sdk:graal-sdk:jar:21.1.0:compile
[INFO] | | +- org.wildfly.common:wildfly-common:jar:1.5.4.Final-format-001:compile
[INFO] | | \- io.quarkus:quarkus-bootstrap-runner:jar:2.0.1.Final:compile
[INFO] | \- org.eclipse.microprofile.context-propagation:microprofile-context-propagation-api:jar:1.2:compile
[INFO] +- io.quarkus:quarkus-resteasy:jar:2.0.1.Final:compile
[INFO] | +- io.quarkus:quarkus-vertx-http:jar:2.0.1.Final:compile
[INFO] | | +- io.quarkus:quarkus-security-runtime-spi:jar:2.0.1.Final:compile
[INFO] | | +- io.quarkus:quarkus-vertx-http-dev-console-runtime-spi:jar:2.0.1.Final:compile
[INFO] | | +- io.quarkus.security:quarkus-security:jar:1.1.4.Final:compile
[INFO] | | +- io.quarkus:quarkus-vertx-core:jar:2.0.1.Final:compile
[INFO] | | | +- io.quarkus:quarkus-netty:jar:2.0.1.Final:compile
[INFO] | | | | +- io.netty:netty-codec:jar:4.1.65.Final:compile
[INFO] | | | | +- io.netty:netty-codec-http:jar:4.1.65.Final:compile
[INFO] | | | | +- io.netty:netty-codec-http2:jar:4.1.65.Final:compile
[INFO] | | | | \- io.netty:netty-handler:jar:4.1.65.Final:compile
[INFO] | | | +- io.netty:netty-codec-haproxy:jar:4.1.65.Final:compile
[INFO] | | | | +- io.netty:netty-buffer:jar:4.1.65.Final:compile
[INFO] | | | | \- io.netty:netty-transport:jar:4.1.65.Final:compile
[INFO] | | | \- io.vertx:vertx-core:jar:4.1.0:compile
[INFO] | | | +- io.netty:netty-common:jar:4.1.65.Final:compile
[INFO] | | | +- io.netty:netty-handler-proxy:jar:4.1.65.Final:compile
[INFO] | | | | \- io.netty:netty-codec-socks:jar:4.1.65.Final:compile
[INFO] | | | +- io.netty:netty-resolver:jar:4.1.65.Final:compile
[INFO] | | | \- io.netty:netty-resolver-dns:jar:4.1.65.Final:compile
[INFO] | | | \- io.netty:netty-codec-dns:jar:4.1.65.Final:compile
[INFO] | | \- io.vertx:vertx-web:jar:4.1.0:compile
[INFO] | | +- io.vertx:vertx-web-common:jar:4.1.0:compile
[INFO] | | +- io.vertx:vertx-auth-common:jar:4.1.0:compile
[INFO] | | \- io.vertx:vertx-bridge-common:jar:4.1.0:compile
[INFO] | \- io.quarkus:quarkus-resteasy-server-common:jar:2.0.1.Final:compile
[INFO] | \- jakarta.validation:jakarta.validation-api:jar:2.0.2:compile
[INFO] +- io.quarkus:quarkus-resteasy-jackson:jar:2.0.1.Final:compile
[INFO] | +- io.quarkus:quarkus-jackson:jar:2.0.1.Final:compile
[INFO] | | +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.12.3:compile
[INFO] | | +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.12.3:compile
[INFO] | | \- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.12.3:compile
[INFO] | +- org.jboss.resteasy:resteasy-jackson2-provider:jar:4.6.1.Final:compile
[INFO] | | +- com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:jar:2.12.3:compile
[INFO] | | | +- com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:jar:2.12.3:compile
[INFO] | | | \- com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.12.3:compile
[INFO] | | \- com.github.java-json-tools:json-patch:jar:1.13:compile
[INFO] | | +- com.github.java-json-tools:msg-simple:jar:1.2:compile
[INFO] | | | \- com.github.java-json-tools:btf:jar:1.3:compile
[INFO] | | \- com.github.java-json-tools:jackson-coreutils:jar:2.0:compile
[INFO] | \- org.jboss.spec.javax.xml.bind:jboss-jaxb-api_2.3_spec:jar:2.0.0.Final:compile
[INFO] +- io.quarkus:quarkus-rest-client:jar:2.0.1.Final:compile
[INFO] | +- io.quarkus:quarkus-resteasy-common:jar:2.0.1.Final:compile
[INFO] | | +- org.jboss.resteasy:resteasy-core:jar:4.6.1.Final:compile
[INFO] | | | +- org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_2.1_spec:jar:2.0.1.Final:compile
[INFO] | | | +- org.jboss.resteasy:resteasy-core-spi:jar:4.6.1.Final:compile
[INFO] | | | +- org.reactivestreams:reactive-streams:jar:1.0.3:compile
[INFO] | | | \- com.ibm.async:asyncutil:jar:0.1.0:compile
[INFO] | | \- com.sun.activation:jakarta.activation:jar:1.2.1:compile
[INFO] | +- io.quarkus:quarkus-apache-httpclient:jar:2.0.1.Final:compile
[INFO] | +- org.jboss.resteasy:resteasy-client-microprofile:jar:4.6.1.Final:compile
[INFO] | | \- org.jboss.resteasy:resteasy-client-microprofile-base:jar:4.6.1.Final:compile
[INFO] | | +- org.jboss.resteasy:resteasy-client:jar:4.6.1.Final:compile
[INFO] | | | \- org.jboss.resteasy:resteasy-client-api:jar:4.6.1.Final:compile
[INFO] | | +- org.jboss.resteasy:resteasy-cdi:jar:4.6.1.Final:compile
[INFO] | | | \- org.jboss.weld:weld-api:jar:3.1.SP4:compile
[INFO] | | \- org.eclipse.microprofile.rest.client:microprofile-rest-client-api:jar:2.0:compile
[INFO] | +- jakarta.interceptor:jakarta.interceptor-api:jar:1.2.5:compile
[INFO] | +- org.apache.httpcomponents:httpasyncclient:jar:4.1.4:compile
[INFO] | | +- org.apache.httpcomponents:httpcore:jar:4.4.14:compile
[INFO] | | \- org.apache.httpcomponents:httpcore-nio:jar:4.4.14:compile
[INFO] | \- org.jboss.logging:commons-logging-jboss-logging:jar:1.0.0.Final:compile
[INFO] +- io.quarkus:quarkus-rest-client-jackson:jar:2.0.1.Final:compile
[INFO] +- io.quarkus:quarkus-oidc-client:jar:2.0.1.Final:compile
[INFO] | \- io.quarkus:quarkus-oidc-common:jar:2.0.1.Final:compile
[INFO] | +- io.smallrye.reactive:smallrye-mutiny-vertx-web-client:jar:2.7.0:compile
[INFO] | | +- io.vertx:vertx-web-client:jar:4.1.0:compile
[INFO] | | +- io.smallrye.reactive:smallrye-mutiny-vertx-core:jar:2.7.0:compile
[INFO] | | | +- io.smallrye.reactive:smallrye-mutiny-vertx-runtime:jar:2.7.0:compile
[INFO] | | | \- io.smallrye.reactive:vertx-mutiny-generator:jar:2.7.0:compile
[INFO] | | | \- io.vertx:vertx-codegen:jar:4.1.0:compile
[INFO] | | +- io.smallrye.reactive:smallrye-mutiny-vertx-auth-common:jar:2.7.0:compile
[INFO] | | \- io.smallrye.reactive:smallrye-mutiny-vertx-web-common:jar:2.7.0:compile
[INFO] | \- io.quarkus:quarkus-smallrye-jwt-build:jar:2.0.1.Final:compile
[INFO] | \- io.smallrye:smallrye-jwt-build:jar:3.2.0:compile
[INFO] | +- org.eclipse.microprofile.jwt:microprofile-jwt-auth-api:jar:1.2:compile
[INFO] | +- org.bitbucket.b_c:jose4j:jar:0.7.7:compile
[INFO] | \- io.smallrye:smallrye-jwt-common:jar:3.2.0:compile
[INFO] +- io.quarkus:quarkus-oidc-client-filter:jar:2.0.1.Final:compile
[INFO] +- io.quarkus:quarkus-smallrye-health:jar:2.0.1.Final:compile
[INFO] | +- io.smallrye:smallrye-health:jar:3.0.2:compile
[INFO] | | +- org.eclipse.microprofile.health:microprofile-health-api:jar:3.0:compile
[INFO] | | \- io.smallrye:smallrye-health-api:jar:3.0.2:compile
[INFO] | | \- io.smallrye.common:smallrye-common-annotation:jar:1.6.0:compile
[INFO] | +- io.smallrye:smallrye-health-provided-checks:jar:3.0.2:compile
[INFO] | \- io.quarkus:quarkus-jsonp:jar:2.0.1.Final:compile
[INFO] | \- org.glassfish:jakarta.json:jar:1.1.6:compile
[INFO] +- io.quarkus:quarkus-junit5:jar:2.0.1.Final:test
[INFO] | +- io.quarkus:quarkus-bootstrap-core:jar:2.0.1.Final:test
[INFO] | | +- io.quarkus:quarkus-bootstrap-app-model:jar:2.0.1.Final:test
[INFO] | | +- io.quarkus:quarkus-bootstrap-maven-resolver:jar:2.0.1.Final:test
[INFO] | | | +- org.apache.maven:maven-embedder:jar:3.8.1:test
[INFO] | | | | +- org.apache.maven:maven-settings:jar:3.8.1:test
[INFO] | | | | +- org.apache.maven:maven-core:jar:3.8.1:test
[INFO] | | | | | +- org.apache.maven:maven-artifact:jar:3.8.1:test
[INFO] | | | | | \- org.codehaus.plexus:plexus-component-annotations:jar:2.1.0:test
[INFO] | | | | +- org.apache.maven:maven-plugin-api:jar:3.8.1:test
[INFO] | | | | +- org.apache.maven:maven-model:jar:3.8.1:test
[INFO] | | | | +- org.apache.maven:maven-model-builder:jar:3.8.1:test
[INFO] | | | | +- org.apache.maven:maven-builder-support:jar:3.8.1:test
[INFO] | | | | +- org.apache.maven.resolver:maven-resolver-api:jar:1.6.2:test
[INFO] | | | | +- org.apache.maven.resolver:maven-resolver-util:jar:1.6.2:test
[INFO] | | | | +- org.apache.maven.shared:maven-shared-utils:jar:3.3.3:test
[INFO] | | | | +- com.google.inject:guice:jar:no_aop:4.2.1:test
[INFO] | | | | +- org.codehaus.plexus:plexus-utils:jar:3.2.1:test
[INFO] | | | | +- org.codehaus.plexus:plexus-classworlds:jar:2.6.0:test
[INFO] | | | | \- commons-cli:commons-cli:jar:1.4:test
[INFO] | | | +- org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.3.4:test
[INFO] | | | +- org.apache.maven:maven-settings-builder:jar:3.8.1:test
[INFO] | | | | +- org.codehaus.plexus:plexus-interpolation:jar:1.25:test
[INFO] | | | | \- org.sonatype.plexus:plexus-sec-dispatcher:jar:1.4:test
[INFO] | | | | \- org.sonatype.plexus:plexus-cipher:jar:1.4:test
[INFO] | | | +- org.apache.maven:maven-resolver-provider:jar:3.8.1:test
[INFO] | | | | +- org.apache.maven:maven-repository-metadata:jar:3.8.1:test
[INFO] | | | | +- org.apache.maven.resolver:maven-resolver-spi:jar:1.6.2:test
[INFO] | | | | \- org.apache.maven.resolver:maven-resolver-impl:jar:1.6.2:test
[INFO] | | | +- org.apache.maven.resolver:maven-resolver-connector-basic:jar:1.6.2:test
[INFO] | | | +- org.apache.maven.resolver:maven-resolver-transport-wagon:jar:1.6.2:test
[INFO] | | | +- org.apache.maven.wagon:wagon-http:jar:3.4.3:test
[INFO] | | | | +- org.apache.maven.wagon:wagon-http-shared:jar:3.4.3:test
[INFO] | | | | | \- org.jsoup:jsoup:jar:1.12.1:test
[INFO] | | | | \- org.apache.maven.wagon:wagon-provider-api:jar:3.4.3:test
[INFO] | | | \- org.apache.maven.wagon:wagon-file:jar:3.4.3:test
[INFO] | | +- io.quarkus:quarkus-bootstrap-gradle-resolver:jar:2.0.1.Final:test
[INFO] | | \- io.smallrye.common:smallrye-common-io:jar:1.6.0:compile
[INFO] | +- org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.3.4:test
[INFO] | +- io.quarkus:quarkus-test-common:jar:2.0.1.Final:test
[INFO] | | +- io.quarkus:quarkus-core-deployment:jar:2.0.1.Final:test
[INFO] | | | +- org.aesh:readline:jar:2.1:test
[INFO] | | | | \- org.fusesource.jansi:jansi:jar:1.18:test
[INFO] | | | +- io.quarkus.gizmo:gizmo:jar:1.0.9.Final:test
[INFO] | | | | \- org.ow2.asm:asm-util:jar:9.1:test
[INFO] | | | | +- org.ow2.asm:asm-tree:jar:9.1:test
[INFO] | | | | \- org.ow2.asm:asm-analysis:jar:9.1:test
[INFO] | | | +- io.quarkus:quarkus-class-change-agent:jar:2.0.1.Final:test
[INFO] | | | +- io.quarkus:quarkus-devtools-utilities:jar:2.0.1.Final:test
[INFO] | | | +- io.quarkus:quarkus-builder:jar:2.0.1.Final:test
[INFO] | | | \- org.junit.platform:junit-platform-launcher:jar:1.7.2:test
[INFO] | | +- io.quarkus:quarkus-jsonp-deployment:jar:2.0.1.Final:test
[INFO] | | \- org.jboss:jandex:jar:2.3.0.Final:test
[INFO] | +- org.junit.jupiter:junit-jupiter:jar:5.7.2:test
[INFO] | | +- org.junit.jupiter:junit-jupiter-params:jar:5.7.2:test
[INFO] | | \- org.junit.jupiter:junit-jupiter-engine:jar:5.7.2:test
[INFO] | | \- org.junit.platform:junit-platform-engine:jar:1.7.2:test
[INFO] | \- com.thoughtworks.xstream:xstream:jar:1.4.17:test
[INFO] | \- io.github.x-stream:mxparser:jar:1.2.1:test
[INFO] | \- xmlpull:xmlpull:jar:1.1.3.1:test
[INFO] +- io.quarkus:quarkus-junit5-mockito:jar:2.0.1.Final:test
[INFO] | +- io.quarkus:quarkus-arc-deployment:jar:2.0.1.Final:test
[INFO] | | +- io.quarkus:quarkus-vertx-http-dev-console-spi:jar:2.0.1.Final:test
[INFO] | | \- io.quarkus.arc:arc-processor:jar:2.0.1.Final:test
[INFO] | +- org.mockito:mockito-core:jar:3.10.0:test
[INFO] | | +- net.bytebuddy:byte-buddy:jar:1.11.0:test
[INFO] | | +- net.bytebuddy:byte-buddy-agent:jar:1.11.0:test
[INFO] | | \- org.objenesis:objenesis:jar:3.2:test
[INFO] | \- io.quarkus:quarkus-mutiny:jar:2.0.1.Final:compile
[INFO] | +- io.smallrye.reactive:mutiny:jar:0.17.0:compile
[INFO] | +- io.quarkus:quarkus-smallrye-context-propagation:jar:2.0.1.Final:compile
[INFO] | | \- io.smallrye:smallrye-context-propagation:jar:1.2.0:compile
[INFO] | | +- io.smallrye:smallrye-context-propagation-api:jar:1.2.0:compile
[INFO] | | \- io.smallrye:smallrye-context-propagation-storage:jar:1.2.0:compile
[INFO] | \- io.smallrye.reactive:mutiny-smallrye-context-propagation:jar:0.17.0:compile
[INFO] +- org.mockito:mockito-junit-jupiter:jar:3.11.2:test
[INFO] | \- org.junit.jupiter:junit-jupiter-api:jar:5.7.2:test
[INFO] | +- org.apiguardian:apiguardian-api:jar:1.1.0:test
[INFO] | +- org.opentest4j:opentest4j:jar:1.2.0:test
[INFO] | \- org.junit.platform:junit-platform-commons:jar:1.7.2:test
[INFO] +- io.rest-assured:rest-assured:jar:4.4.0:test
[INFO] | +- org.codehaus.groovy:groovy:jar:3.0.8:test
[INFO] | +- org.codehaus.groovy:groovy-xml:jar:3.0.8:test
[INFO] | +- org.apache.httpcomponents:httpclient:jar:4.5.13:compile
[INFO] | | \- commons-codec:commons-codec:jar:1.15:compile
[INFO] | +- org.apache.httpcomponents:httpmime:jar:4.5.13:test
[INFO] | +- org.hamcrest:hamcrest:jar:2.1:test
[INFO] | +- org.ccil.cowan.tagsoup:tagsoup:jar:1.2.1:test
[INFO] | +- io.rest-assured:json-path:jar:4.4.0:test
[INFO] | | +- org.codehaus.groovy:groovy-json:jar:3.0.8:test
[INFO] | | \- io.rest-assured:rest-assured-common:jar:4.4.0:test
[INFO] | \- io.rest-assured:xml-path:jar:4.4.0:test
[INFO] | +- jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.3:test
[INFO] | | \- jakarta.activation:jakarta.activation-api:jar:1.2.1:compile
[INFO] | \- com.sun.xml.bind:jaxb-impl:jar:2.3.3:test
[INFO] +- io.quarkus:quarkus-test-security:jar:2.0.1.Final:test
[INFO] | \- io.quarkus:quarkus-security:jar:2.0.1.Final:test
[INFO] +- com.github.tomakehurst:wiremock-jre8:jar:2.28.0:test
[INFO] | +- org.eclipse.jetty:jetty-server:jar:9.4.42.v20210604:test
[INFO] | | +- javax.servlet:javax.servlet-api:jar:3.1.0:test
[INFO] | | +- org.eclipse.jetty:jetty-http:jar:9.4.42.v20210604:test
[INFO] | | \- org.eclipse.jetty:jetty-io:jar:9.4.42.v20210604:test
[INFO] | +- org.eclipse.jetty:jetty-servlet:jar:9.4.42.v20210604:test
[INFO] | | +- org.eclipse.jetty:jetty-security:jar:9.4.42.v20210604:test
[INFO] | | \- org.eclipse.jetty:jetty-util-ajax:jar:9.4.42.v20210604:test
[INFO] | +- org.eclipse.jetty:jetty-servlets:jar:9.4.42.v20210604:test
[INFO] | | +- org.eclipse.jetty:jetty-continuation:jar:9.4.42.v20210604:test
[INFO] | | \- org.eclipse.jetty:jetty-util:jar:9.4.42.v20210604:test
[INFO] | +- org.eclipse.jetty:jetty-webapp:jar:9.4.42.v20210604:test
[INFO] | | \- org.eclipse.jetty:jetty-xml:jar:9.4.42.v20210604:test
[INFO] | +- org.eclipse.jetty:jetty-proxy:jar:9.4.42.v20210604:test
[INFO] | | \- org.eclipse.jetty:jetty-client:jar:9.4.42.v20210604:test
[INFO] | +- org.eclipse.jetty.http2:http2-server:jar:9.4.42.v20210604:test
[INFO] | | \- org.eclipse.jetty.http2:http2-common:jar:9.4.42.v20210604:test
[INFO] | | \- org.eclipse.jetty.http2:http2-hpack:jar:9.4.42.v20210604:test
[INFO] | +- org.eclipse.jetty:jetty-alpn-server:jar:9.4.42.v20210604:test
[INFO] | +- org.eclipse.jetty:jetty-alpn-conscrypt-server:jar:9.4.42.v20210604:test
[INFO] | +- org.eclipse.jetty:jetty-alpn-conscrypt-client:jar:9.4.42.v20210604:test
[INFO] | | \- org.eclipse.jetty:jetty-alpn-client:jar:9.4.42.v20210604:test
[INFO] | +- org.conscrypt:conscrypt-openjdk-uber:jar:2.5.1:test
[INFO] | +- com.google.guava:guava:jar:30.1.1-jre:compile
[INFO] | | +- com.google.guava:failureaccess:jar:1.0.1:compile
[INFO] | | +- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile
[INFO] | | +- org.checkerframework:checker-qual:jar:2.5.2:compile
[INFO] | | \- com.google.j2objc:j2objc-annotations:jar:1.3:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-core:jar:2.12.3:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.12.3:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.12.3:compile
[INFO] | +- org.xmlunit:xmlunit-core:jar:2.8.2:test
[INFO] | +- org.xmlunit:xmlunit-legacy:jar:2.8.2:test
[INFO] | +- org.xmlunit:xmlunit-placeholders:jar:2.8.2:test
[INFO] | +- net.javacrumbs.json-unit:json-unit-core:jar:2.25.0:test
[INFO] | | \- org.hamcrest:hamcrest-core:jar:2.2:test
[INFO] | +- com.jayway.jsonpath:json-path:jar:2.4.0:test
[INFO] | +- net.minidev:json-smart:jar:2.3:test
[INFO] | | \- net.minidev:accessors-smart:jar:1.2:test
[INFO] | +- org.ow2.asm:asm:jar:9.1:test
[INFO] | +- org.slf4j:slf4j-api:jar:1.7.30:compile
[INFO] | +- net.sf.jopt-simple:jopt-simple:jar:5.0.4:test
[INFO] | +- org.apache.commons:commons-lang3:jar:3.12.0:test
[INFO] | +- com.github.jknack:handlebars:jar:4.2.0:test
[INFO] | +- com.github.jknack:handlebars-helpers:jar:4.2.0:test
[INFO] | +- commons-fileupload:commons-fileupload:jar:1.4:test
[INFO] | \- commons-io:commons-io:jar:2.8.0:compile
[INFO] +- io.quarkus:quarkus-container-image-docker:jar:2.0.1.Final:compile
[INFO] | \- io.quarkus:quarkus-container-image:jar:2.0.1.Final:compile
[INFO] +- com.ccc.davinci:eventbus-protocol:jar:v0.421.0:compile
[INFO] | \- javax.annotation:javax.annotation-api:jar:1.3.2:compile
[INFO] +- com.ccc.cerberus:cerberus-grpc-java:jar:v0.13.0:compile
[INFO] | +- com.google.oauth-client:google-oauth-client:jar:1.30.2:compile
[INFO] | | \- com.google.http-client:google-http-client:jar:1.38.0:compile
[INFO] | | +- io.opencensus:opencensus-api:jar:0.28.3:compile
[INFO] | | \- io.opencensus:opencensus-contrib-http-util:jar:0.24.0:compile
[INFO] | +- com.google.http-client:google-http-client-jackson2:jar:1.38.0:compile
[INFO] | \- io.grpc:grpc-core:jar:1.35.0:compile
[INFO] | +- com.google.android:annotations:jar:4.1.1.4:runtime
[INFO] | \- org.codehaus.mojo:animal-sniffer-annotations:jar:1.18:runtime
[INFO] +- org.apache.kafka:kafka-clients:jar:1.1.0:compile
[INFO] | +- org.lz4:lz4-java:jar:1.6.0:compile
[INFO] | \- org.xerial.snappy:snappy-java:jar:1.1.7.1:compile
[INFO] +- msp.event.schemas:ccc-protobuf-java:jar:0.64.47:compile
[INFO] +- com.google.protobuf:protobuf-java:jar:3.14.0:compile
[INFO] +- com.google.protobuf:protobuf-java-util:jar:3.14.0:compile
[INFO] | +- com.google.errorprone:error_prone_annotations:jar:2.2.0:compile
[INFO] | \- com.google.code.gson:gson:jar:2.8.6:compile
[INFO] +- io.grpc:grpc-netty-shaded:jar:1.39.0:compile
[INFO] | \- io.perfmark:perfmark-api:jar:0.23.0:runtime
[INFO] +- io.grpc:grpc-protobuf:jar:1.39.0:compile
[INFO] | +- io.grpc:grpc-api:jar:1.35.0:compile
[INFO] | | \- io.grpc:grpc-context:jar:1.35.0:compile
[INFO] | +- com.google.code.findbugs:jsr305:jar:3.0.2:compile
[INFO] | +- com.google.api.grpc:proto-google-common-protos:jar:2.0.1:compile
[INFO] | \- io.grpc:grpc-protobuf-lite:jar:1.35.0:compile
[INFO] \- io.grpc:grpc-stub:jar:1.39.0:compile
To use gRPC with Quarkus (especially in the native mode), please add io.quarkus:quarkus-grpc dependency to your project instead of adding gRPC dependencies directly.
See https://github.com/quarkusio/quarkus-quickstarts/tree/main/grpc-plain-text-quickstart and https://github.com/quarkusio/quarkus-quickstarts/tree/main/grpc-tls-quickstart for example gRPC projects with Quarkus
You need add a dependency io.grpc:grpc-netty:<version>, or io.grpc:grpc-netty-shaded:<version> as mentioned in the error message.
At this moment I'm refactoring an app to use java's modular system and
I'm stuck with an awkward situation while using org.apache.activemq:artemis-jms-client:jar:2.16.0:compile. I'm getting an error
Package 'javax.jms' is declared in module with an invalid name ('geronimo.jms.2.0.spec')
Is there any way to bypass this error while using modules?
NOTE: I'm using JAVA 11; Maven; IntelliJ IDEA 2020.3.1 (Community Edition)
mvn dependency:tree
[INFO] +- org.springframework.boot:spring-boot-starter:jar:2.4.0:compile
[INFO] | +- org.springframework.boot:spring-boot:jar:2.4.0:compile
[INFO] | | \- org.springframework:spring-context:jar:5.3.1:compile
[INFO] | +- org.springframework.boot:spring-boot-autoconfigure:jar:2.4.0:compile
[INFO] | +- jakarta.annotation:jakarta.annotation-api:jar:1.3.5:compile
[INFO] | +- org.springframework:spring-core:jar:5.3.1:compile
[INFO] | | \- org.springframework:spring-jcl:jar:5.3.1:compile
[INFO] | \- org.yaml:snakeyaml:jar:1.27:compile
[INFO] +- org.springframework.boot:spring-boot-starter-web:jar:2.4.0:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-json:jar:2.4.0:compile
[INFO] | | +- com.fasterxml.jackson.core:jackson-databind:jar:2.11.3:compile
[INFO] | | | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.11.3:compile
[INFO] | | | \- com.fasterxml.jackson.core:jackson-core:jar:2.11.3:compile
[INFO] | | +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.11.3:compile
[INFO] | | +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.11.3:compile
[INFO] | | \- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.11.3:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-tomcat:jar:2.4.0:compile
[INFO] | | +- org.apache.tomcat.embed:tomcat-embed-core:jar:9.0.39:compile
[INFO] | | +- org.glassfish:jakarta.el:jar:3.0.3:compile
[INFO] | | \- org.apache.tomcat.embed:tomcat-embed-websocket:jar:9.0.39:compile
[INFO] | +- org.springframework:spring-web:jar:5.3.1:compile
[INFO] | \- org.springframework:spring-webmvc:jar:5.3.1:compile
[INFO] | +- org.springframework:spring-aop:jar:5.3.1:compile
[INFO] | \- org.springframework:spring-expression:jar:5.3.1:compile
[INFO] +- jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.3:compile
[INFO] | \- jakarta.activation:jakarta.activation-api:jar:1.2.2:compile
[INFO] +- com.sun.xml.bind:jaxb-impl:jar:2.3.3:runtime
[INFO] | \- com.sun.activation:jakarta.activation:jar:1.2.2:compile
[INFO] +- jakarta.xml.ws:jakarta.xml.ws-api:jar:2.3.3:compile
[INFO] | +- jakarta.xml.soap:jakarta.xml.soap-api:jar:1.4.2:compile
[INFO] | \- jakarta.jws:jakarta.jws-api:jar:2.1.0:compile
[INFO] +- com.sun.xml.ws:jaxws-rt:jar:2.3.3:compile
[INFO] | +- com.sun.xml.ws:policy:jar:2.7.10:compile
[INFO] | +- org.glassfish.ha:ha-api:jar:3.1.12:compile
[INFO] | +- org.glassfish.external:management-api:jar:3.2.2:compile
[INFO] | +- org.glassfish.gmbal:gmbal:jar:4.0.1:compile
[INFO] | +- org.glassfish.pfl:pfl-tf:jar:4.1.0:compile
[INFO] | +- org.glassfish.pfl:pfl-basic:jar:4.1.0:compile
[INFO] | +- org.jvnet.staxex:stax-ex:jar:1.8.3:compile
[INFO] | +- com.sun.xml.stream.buffer:streambuffer:jar:1.5.9:compile
[INFO] | +- org.jvnet.mimepull:mimepull:jar:1.9.13:compile
[INFO] | +- com.sun.xml.fastinfoset:FastInfoset:jar:1.2.18:compile
[INFO] | +- com.sun.xml.messaging.saaj:saaj-impl:jar:1.5.2:compile
[INFO] | +- com.fasterxml.woodstox:woodstox-core:jar:5.1.0:compile
[INFO] | \- org.codehaus.woodstox:stax2-api:jar:4.1:compile
[INFO] +- org.springframework.boot:spring-boot-starter-artemis:jar:2.4.0:compile
[INFO] | +- jakarta.jms:jakarta.jms-api:jar:2.0.3:compile
[INFO] | +- jakarta.json:jakarta.json-api:jar:1.1.6:compile
[INFO] | \- org.springframework:spring-jms:jar:5.3.1:compile
[INFO] | +- org.springframework:spring-messaging:jar:5.3.1:compile
[INFO] | \- org.springframework:spring-tx:jar:5.3.1:compile
[INFO] +- org.springframework.boot:spring-boot-starter-test:jar:2.4.0:test
[INFO] | +- org.springframework.boot:spring-boot-test:jar:2.4.0:test
[INFO] | +- org.springframework.boot:spring-boot-test-autoconfigure:jar:2.4.0:test
[INFO] | +- com.jayway.jsonpath:json-path:jar:2.4.0:test
[INFO] | | \- net.minidev:json-smart:jar:2.3:test
[INFO] | | \- net.minidev:accessors-smart:jar:1.2:test
[INFO] | +- org.assertj:assertj-core:jar:3.18.1:test
[INFO] | +- org.hamcrest:hamcrest:jar:2.2:test
[INFO] | +- org.junit.jupiter:junit-jupiter:jar:5.7.0:test
[INFO] | | +- org.junit.jupiter:junit-jupiter-api:jar:5.7.0:test
[INFO] | | | +- org.apiguardian:apiguardian-api:jar:1.1.0:test
[INFO] | | | +- org.opentest4j:opentest4j:jar:1.2.0:test
[INFO] | | | \- org.junit.platform:junit-platform-commons:jar:1.7.0:test
[INFO] | | +- org.junit.jupiter:junit-jupiter-params:jar:5.7.0:test
[INFO] | | \- org.junit.jupiter:junit-jupiter-engine:jar:5.7.0:test
[INFO] | | \- org.junit.platform:junit-platform-engine:jar:1.7.0:test
[INFO] | +- org.mockito:mockito-core:jar:3.6.0:test
[INFO] | | +- net.bytebuddy:byte-buddy:jar:1.10.18:test
[INFO] | | +- net.bytebuddy:byte-buddy-agent:jar:1.10.18:test
[INFO] | | \- org.objenesis:objenesis:jar:3.1:test
[INFO] | +- org.mockito:mockito-junit-jupiter:jar:3.6.0:test
[INFO] | +- org.skyscreamer:jsonassert:jar:1.5.0:test
[INFO] | | \- com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1:test
[INFO] | +- org.springframework:spring-test:jar:5.3.1:test
[INFO] | \- org.xmlunit:xmlunit-core:jar:2.7.0:test
[INFO] +- org.apache.cxf:cxf-rt-features-logging:jar:3.3.1:compile
[INFO] | +- org.apache.cxf:cxf-core:jar:3.3.1:compile
[INFO] | | +- org.glassfish.jaxb:jaxb-runtime:jar:2.3.3:compile
[INFO] | | | +- org.glassfish.jaxb:txw2:jar:2.3.3:compile
[INFO] | | | \- com.sun.istack:istack-commons-runtime:jar:3.0.11:compile
[INFO] | | +- org.apache.ws.xmlschema:xmlschema-core:jar:2.2.4:compile
[INFO] | | \- org.glassfish.jaxb:jaxb-xjc:jar:2.3.3:compile
[INFO] | | +- org.glassfish.jaxb:xsom:jar:2.3.3:compile
[INFO] | | | \- com.sun.xml.bind.external:relaxng-datatype:jar:2.3.3-b02:compile
[INFO] | | +- org.glassfish.jaxb:codemodel:jar:2.3.3:compile
[INFO] | | +- com.sun.xml.bind.external:rngom:jar:2.3.3:compile
[INFO] | | +- com.sun.xml.dtd-parser:dtd-parser:jar:1.4.3:compile
[INFO] | | \- com.sun.istack:istack-commons-tools:jar:3.0.11:compile
[INFO] | +- org.slf4j:slf4j-api:jar:1.7.30:compile
[INFO] | +- javax.annotation:javax.annotation-api:jar:1.3.2:compile
[INFO] | +- javax.xml.ws:jaxws-api:jar:2.3.1:compile
[INFO] | | \- javax.xml.soap:javax.xml.soap-api:jar:1.4.0:compile
[INFO] | +- com.sun.activation:javax.activation:jar:1.2.0:compile
[INFO] | +- org.apache.geronimo.specs:geronimo-ws-metadata_2.0_spec:jar:1.1.3:compile
[INFO] | +- org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1.1:compile
[INFO] | \- org.jboss.spec.javax.rmi:jboss-rmi-api_1.0_spec:jar:1.0.6.Final:compile
[INFO] +- com.mytest:tu:jar:0.0.1-SNAPSHOT:compile
[INFO] | \- org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:jar:2.0.0.CR1:compile
[INFO] +- org.apache.cxf:cxf-spring-boot-starter-jaxws:jar:3.4.2:compile
[INFO] | +- org.apache.cxf:cxf-spring-boot-autoconfigure:jar:3.4.2:compile
[INFO] | +- org.apache.cxf:cxf-rt-transports-http:jar:3.4.2:compile
[INFO] | +- org.apache.cxf:cxf-rt-frontend-jaxws:jar:3.4.2:compile
[INFO] | | +- xml-resolver:xml-resolver:jar:1.2:compile
[INFO] | | +- org.ow2.asm:asm:jar:9.0:compile
[INFO] | | +- org.apache.cxf:cxf-rt-bindings-soap:jar:3.4.2:compile
[INFO] | | | +- org.apache.cxf:cxf-rt-wsdl:jar:3.4.2:compile
[INFO] | | | | \- wsdl4j:wsdl4j:jar:1.6.3:compile
[INFO] | | | \- org.apache.cxf:cxf-rt-databinding-jaxb:jar:3.4.2:compile
[INFO] | | +- org.apache.cxf:cxf-rt-bindings-xml:jar:3.4.2:compile
[INFO] | | +- org.apache.cxf:cxf-rt-frontend-simple:jar:3.4.2:compile
[INFO] | | \- org.apache.cxf:cxf-rt-ws-addr:jar:3.4.2:compile
[INFO] | | \- org.apache.cxf:cxf-rt-ws-policy:jar:3.4.2:compile
[INFO] | | \- org.apache.neethi:neethi:jar:3.1.1:compile
[INFO] | +- org.apache.cxf:cxf-rt-features-metrics:jar:3.4.2:compile
[INFO] | +- jakarta.validation:jakarta.validation-api:jar:2.0.2:compile
[INFO] | \- org.springframework.boot:spring-boot-starter-validation:jar:2.4.0:compile
[INFO] | \- org.hibernate.validator:hibernate-validator:jar:6.1.6.Final:compile
[INFO] | \- com.fasterxml:classmate:jar:1.5.1:compile
[INFO] +- org.apache.activemq:artemis-spring-integration:jar:2.16.0:compile
[INFO] | +- org.apache.activemq:artemis-server:jar:2.15.0:compile
[INFO] | | +- org.jboss.logging:jboss-logging:jar:3.4.1.Final:compile
[INFO] | | +- org.jboss.logmanager:jboss-logmanager:jar:2.1.10.Final:compile
[INFO] | | | \- org.wildfly.common:wildfly-common:jar:1.5.1.Final:compile
[INFO] | | +- org.apache.activemq:artemis-journal:jar:2.15.0:compile
[INFO] | | +- org.apache.activemq:artemis-jdbc-store:jar:2.15.0:compile
[INFO] | | +- org.apache.activemq:activemq-artemis-native:jar:1.0.2:compile
[INFO] | | +- org.jctools:jctools-core:jar:2.1.2:compile
[INFO] | | +- io.netty:netty-buffer:jar:4.1.54.Final:compile
[INFO] | | +- io.netty:netty-transport:jar:4.1.54.Final:compile
[INFO] | | | \- io.netty:netty-resolver:jar:4.1.54.Final:compile
[INFO] | | +- io.netty:netty-codec-http:jar:4.1.54.Final:compile
[INFO] | | +- io.netty:netty-common:jar:4.1.54.Final:compile
[INFO] | | +- io.netty:netty-handler:jar:4.1.54.Final:compile
[INFO] | | +- io.netty:netty-transport-native-epoll:jar:linux-x86_64:4.1.54.Final:compile
[INFO] | | | \- io.netty:netty-transport-native-unix-common:jar:4.1.54.Final:compile
[INFO] | | +- io.netty:netty-transport-native-kqueue:jar:osx-x86_64:4.1.54.Final:compile
[INFO] | | +- io.netty:netty-codec:jar:4.1.54.Final:compile
[INFO] | | +- commons-beanutils:commons-beanutils:jar:1.9.4:compile
[INFO] | | | \- commons-collections:commons-collections:jar:3.2.2:compile
[INFO] | | +- org.apache.commons:commons-configuration2:jar:2.7:compile
[INFO] | | | +- org.apache.commons:commons-lang3:jar:3.11:compile
[INFO] | | | \- org.apache.commons:commons-text:jar:1.8:compile
[INFO] | | +- io.micrometer:micrometer-core:jar:1.6.1:compile
[INFO] | | | +- org.hdrhistogram:HdrHistogram:jar:2.1.12:compile
[INFO] | | | \- org.latencyutils:LatencyUtils:jar:2.0.3:runtime
[INFO] | | \- commons-io:commons-io:jar:2.6:compile
[INFO] | +- org.apache.activemq:artemis-jms-server:jar:2.15.0:compile
[INFO] | | \- org.apache.activemq:artemis-service-extensions:jar:2.15.0:compile
[INFO] | \- org.springframework:spring-beans:jar:5.3.1:compile
[INFO] +- org.apache.activemq:artemis-jms-client:jar:2.16.0:compile
[INFO] | +- org.apache.activemq:artemis-core-client:jar:2.15.0:compile
[INFO] | | +- org.jgroups:jgroups:jar:3.6.13.Final:compile
[INFO] | | +- org.apache.johnzon:johnzon-core:jar:1.2.8:compile
[INFO] | | +- io.netty:netty-handler-proxy:jar:4.1.54.Final:compile
[INFO] | | \- io.netty:netty-codec-socks:jar:4.1.54.Final:compile
[INFO] | +- org.apache.activemq:artemis-commons:jar:2.15.0:compile
[INFO] | +- org.apache.activemq:artemis-selector:jar:2.15.0:compile
[INFO] | \- org.apache.geronimo.specs:geronimo-jms_2.0_spec:jar:1.0-alpha-2:compile
[INFO] +- org.apache.cxf.xjc-utils:cxf-xjc-runtime:jar:3.3.1:compile
[INFO] +- org.apache.logging.log4j:log4j-api:jar:2.13.3:compile
[INFO] +- org.apache.logging.log4j:log4j-core:jar:2.13.3:compile
[INFO] \- org.apache.logging.log4j:log4j-slf4j-impl:jar:2.13.3:provided
In your dependency declaration for org.apache.activemq:artemis-jms-client you can exclude org.apache.geronimo.specs:geronimo-jms_2.0_spec, e.g.:
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>artemis-jms-client</artifactId>
<version>2.16.0</version>
<exclusions>
<exclusion>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jms_2.0_spec</artifactId>
</exclusion>
</exclusions>
</dependency>
Then explicitly include another JMS API, e.g.:
<dependency>
<groupId>jakarta.jms</groupId>
<artifactId>jakarta.jms-api</artifactId>
<version>2.0.3</version>
</dependency>
I'm currently working on a Spring boot Backend, it's my task to update all dependencies and make sure it'll run in Java 11.
I encountered an exception and found out that importing Spring data commons with maven solves the missing pageableCustomizer() method.
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-commons</artifactId>
<version>2.1.10.RELEASE</version>
</dependency>
Latter is the dependency I added to maven.
After adding that, java tells me the following:
***************************
APPLICATION FAILED TO START
***************************
Description:
An attempt was made to call a method that does not exist. The attempt was made from the following location:
org.springframework.data.jpa.repository.config.JpaRepositoryConfigExtension.postProcess(JpaRepositoryConfigExtension.java:120)
The following method did not exist:
org.springframework.data.repository.config.RepositoryConfigurationSource.getAttribute(Ljava/lang/String;)Ljava/lang/String;
The method's class, org.springframework.data.repository.config.RepositoryConfigurationSource, is available from the following locations:
jar:file:path_to_project/target/name_of_the_jar.jar!/BOOT-INF/lib/spring-data-commons-2.1.10.RELEASE.jar!/org/springframework/data/repository/config/RepositoryConfigurationSource.class
It was loaded from the following location:
jar:file:/path_to_project/target/name_of_the_jar.jar!/BOOT-INF/lib/spring-data-commons-2.1.10.RELEASE.jar!/
Action:
Correct the classpath of your application so that it contains a single, compatible version of org.springframework.data.repository.config.RepositoryConfigurationSource
I've found out that data JPA,
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
<version>2.1.7.RELEASE</version>
</dependency>
Is dependent on an older version of data commons
+ org.springframework.boot:spring-boot-starter-data-jpa:2.1.7.RELEASE
+ org.springframework.data:spring-data-jpa:1.8.2.RELEASE
+ org.springframework.data:spring-data-commons:1.10.2.RELEASE
Which seems to cause the problem.
I already tried to just use one of them and spent the whole day searching for a solution.
I also tried to use the dependencyManagement offered by Spring:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring-boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
That pulled the same versions of all the dependencies. (I, of course, removed the version tag in the dependency)
EDIT
The dependency:tree requested.
[INFO] Application:jar:0.0.3
[INFO] +- com.h2database:h2:jar:1.4.199:compile
[INFO] +- org.springframework.boot:spring-boot-starter-data-jpa:jar:2.1.7.RELEASE:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-aop:jar:2.1.7.RELEASE:compile
[INFO] | | \- org.aspectj:aspectjweaver:jar:1.9.4:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-jdbc:jar:2.1.7.RELEASE:compile
[INFO] | | \- com.zaxxer:HikariCP:jar:3.2.0:compile
[INFO] | +- javax.transaction:javax.transaction-api:jar:1.3:compile
[INFO] | +- javax.xml.bind:jaxb-api:jar:2.3.1:compile
[INFO] | | \- javax.activation:javax.activation-api:jar:1.2.0:compile
[INFO] | +- org.hibernate:hibernate-core:jar:5.3.10.Final:compile
[INFO] | | +- org.jboss.logging:jboss-logging:jar:3.3.2.Final:compile
[INFO] | | +- javax.persistence:javax.persistence-api:jar:2.2:compile
[INFO] | | +- org.javassist:javassist:jar:3.23.2-GA:compile
[INFO] | | +- net.bytebuddy:byte-buddy:jar:1.9.16:compile
[INFO] | | +- antlr:antlr:jar:2.7.7:compile
[INFO] | | +- org.jboss:jandex:jar:2.0.5.Final:compile
[INFO] | | +- com.fasterxml:classmate:jar:1.4.0:compile
[INFO] | | +- org.dom4j:dom4j:jar:2.1.1:compile
[INFO] | | \- org.hibernate.common:hibernate-commons-annotations:jar:5.0.4.Final:compile
[INFO] | +- org.springframework.data:spring-data-jpa:jar:1.8.2.RELEASE:compile
[INFO] | | +- org.springframework.data:spring-data-commons:jar:1.10.2.RELEASE:compile
[INFO] | | +- org.springframework:spring-beans:jar:5.1.9.RELEASE:compile
[INFO] | | +- org.springframework:spring-core:jar:5.1.9.RELEASE:compile
[INFO] | | | \- org.springframework:spring-jcl:jar:5.1.9.RELEASE:compile
[INFO] | | \- org.slf4j:slf4j-api:jar:1.7.25:compile
[INFO] | \- org.springframework:spring-aspects:jar:5.1.9.RELEASE:compile
[INFO] +- org.springframework.boot:spring-boot-starter-security:jar:2.1.7.RELEASE:compile
[INFO] | +- org.springframework.boot:spring-boot-starter:jar:2.1.7.RELEASE:compile
[INFO] | | +- org.springframework.boot:spring-boot:jar:2.1.7.RELEASE:compile
[INFO] | | +- org.springframework.boot:spring-boot-starter-logging:jar:2.1.7.RELEASE:compile
[INFO] | | | +- ch.qos.logback:logback-classic:jar:1.2.3:compile
[INFO] | | | | \- ch.qos.logback:logback-core:jar:1.2.3:compile
[INFO] | | | +- org.apache.logging.log4j:log4j-to-slf4j:jar:2.11.2:compile
[INFO] | | | | \- org.apache.logging.log4j:log4j-api:jar:2.11.2:compile
[INFO] | | | \- org.slf4j:jul-to-slf4j:jar:1.7.26:compile
[INFO] | | +- javax.annotation:javax.annotation-api:jar:1.3.2:compile
[INFO] | | \- org.yaml:snakeyaml:jar:1.23:runtime
[INFO] | +- org.springframework:spring-aop:jar:5.1.9.RELEASE:compile
[INFO] | +- org.springframework.security:spring-security-config:jar:5.1.6.RELEASE:compile
[INFO] | | \- org.springframework.security:spring-security-core:jar:5.1.6.RELEASE:compile
[INFO] | \- org.springframework.security:spring-security-web:jar:5.1.6.RELEASE:compile
[INFO] | +- org.springframework:spring-expression:jar:5.1.9.RELEASE:compile
[INFO] | \- org.springframework:spring-web:jar:5.1.9.RELEASE:compile
[INFO] +- org.projectlombok:lombok:jar:1.18.6:compile
[INFO] +- org.springframework.cloud:spring-cloud-starter-netflix-eureka-client:jar:2.1.2.RELEASE:compile
[INFO] | +- org.springframework.cloud:spring-cloud-starter:jar:2.1.0.RELEASE:compile
[INFO] | | +- org.springframework.cloud:spring-cloud-context:jar:2.1.0.RELEASE:compile
[INFO] | | | \- org.springframework.security:spring-security-crypto:jar:5.1.6.RELEASE:compile
[INFO] | | +- org.springframework.cloud:spring-cloud-commons:jar:2.1.0.RELEASE:compile
[INFO] | | \- org.springframework.security:spring-security-rsa:jar:1.0.7.RELEASE:compile
[INFO] | | \- org.bouncycastle:bcpkix-jdk15on:jar:1.60:compile
[INFO] | | \- org.bouncycastle:bcprov-jdk15on:jar:1.60:compile
[INFO] | +- org.springframework.cloud:spring-cloud-netflix-hystrix:jar:2.1.0.RELEASE:compile
[INFO] | +- org.springframework.cloud:spring-cloud-netflix-eureka-client:jar:2.1.0.RELEASE:compile
[INFO] | +- com.netflix.eureka:eureka-client:jar:1.9.8:compile
[INFO] | | +- org.codehaus.jettison:jettison:jar:1.3.7:runtime
[INFO] | | | \- stax:stax-api:jar:1.0.1:runtime
[INFO] | | +- com.netflix.netflix-commons:netflix-eventbus:jar:0.3.0:runtime
[INFO] | | | +- com.netflix.netflix-commons:netflix-infix:jar:0.3.0:runtime
[INFO] | | | | +- commons-jxpath:commons-jxpath:jar:1.3:runtime
[INFO] | | | | \- org.antlr:antlr-runtime:jar:3.4:runtime
[INFO] | | | | \- org.antlr:stringtemplate:jar:3.2.1:runtime
[INFO] | | | \- org.apache.commons:commons-math:jar:2.2:runtime
[INFO] | | +- com.netflix.archaius:archaius-core:jar:0.7.6:compile
[INFO] | | +- com.netflix.servo:servo-core:jar:0.12.21:runtime
[INFO] | | +- com.sun.jersey:jersey-core:jar:1.19.1:runtime
[INFO] | | +- com.sun.jersey:jersey-client:jar:1.19.1:runtime
[INFO] | | +- com.sun.jersey.contribs:jersey-apache-client4:jar:1.19.1:runtime
[INFO] | | +- org.apache.httpcomponents:httpclient:jar:4.5.9:runtime
[INFO] | | | +- org.apache.httpcomponents:httpcore:jar:4.4.11:runtime
[INFO] | | | \- commons-codec:commons-codec:jar:1.11:runtime
[INFO] | | +- com.google.inject:guice:jar:4.1.0:runtime
[INFO] | | | +- javax.inject:javax.inject:jar:1:runtime
[INFO] | | | \- aopalliance:aopalliance:jar:1.0:runtime
[INFO] | | +- com.github.vlsi.compactmap:compactmap:jar:1.2.1:runtime
[INFO] | | | \- com.github.andrewoma.dexx:dexx-collections:jar:0.2:runtime
[INFO] | | \- com.fasterxml.jackson.core:jackson-core:jar:2.9.9:compile
[INFO] | +- com.netflix.eureka:eureka-core:jar:1.9.8:compile
[INFO] | | \- org.codehaus.woodstox:woodstox-core-asl:jar:4.4.1:runtime
[INFO] | | +- javax.xml.stream:stax-api:jar:1.0-2:runtime
[INFO] | | \- org.codehaus.woodstox:stax2-api:jar:3.1.4:runtime
[INFO] | +- org.springframework.cloud:spring-cloud-starter-netflix-archaius:jar:2.1.0.RELEASE:compile
[INFO] | | +- org.springframework.cloud:spring-cloud-netflix-ribbon:jar:2.1.0.RELEASE:compile
[INFO] | | +- org.springframework.cloud:spring-cloud-netflix-archaius:jar:2.1.0.RELEASE:compile
[INFO] | | \- commons-configuration:commons-configuration:jar:1.8:compile
[INFO] | | \- commons-lang:commons-lang:jar:2.6:compile
[INFO] | +- org.springframework.cloud:spring-cloud-starter-netflix-ribbon:jar:2.1.0.RELEASE:compile
[INFO] | | +- com.netflix.ribbon:ribbon:jar:2.3.0:compile
[INFO] | | | +- com.netflix.ribbon:ribbon-transport:jar:2.3.0:runtime
[INFO] | | | | +- io.reactivex:rxnetty-contexts:jar:0.4.9:runtime
[INFO] | | | | \- io.reactivex:rxnetty-servo:jar:0.4.9:runtime
[INFO] | | | +- com.netflix.hystrix:hystrix-core:jar:1.5.18:runtime
[INFO] | | | | \- org.hdrhistogram:HdrHistogram:jar:2.1.9:runtime
[INFO] | | | \- io.reactivex:rxnetty:jar:0.4.9:runtime
[INFO] | | +- com.netflix.ribbon:ribbon-core:jar:2.3.0:compile
[INFO] | | +- com.netflix.ribbon:ribbon-httpclient:jar:2.3.0:compile
[INFO] | | | +- commons-collections:commons-collections:jar:3.2.2:runtime
[INFO] | | | \- com.netflix.netflix-commons:netflix-commons-util:jar:0.3.0:runtime
[INFO] | | +- com.netflix.ribbon:ribbon-loadbalancer:jar:2.3.0:compile
[INFO] | | | \- com.netflix.netflix-commons:netflix-statistics:jar:0.1.1:runtime
[INFO] | | \- io.reactivex:rxjava:jar:1.3.8:compile
[INFO] | +- com.netflix.ribbon:ribbon-eureka:jar:2.3.0:compile
[INFO] | \- com.thoughtworks.xstream:xstream:jar:1.4.10:compile
[INFO] | +- xmlpull:xmlpull:jar:1.1.3.1:compile
[INFO] | \- xpp3:xpp3_min:jar:1.1.4c:compile
[INFO] +- org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter:jar:3.3.3:compile
[INFO] | +- org.camunda.bpm:camunda-engine-spring:jar:7.11.0:compile
[INFO] | | +- org.camunda.bpm:camunda-engine:jar:7.11.0:compile
[INFO] | | | +- org.camunda.bpm.model:camunda-bpmn-model:jar:7.11.0:compile
[INFO] | | | | \- org.camunda.bpm.model:camunda-xml-model:jar:7.11.0:compile
[INFO] | | | +- org.camunda.bpm.model:camunda-cmmn-model:jar:7.11.0:compile
[INFO] | | | +- org.camunda.bpm.dmn:camunda-engine-dmn:jar:7.11.0:compile
[INFO] | | | | +- org.camunda.commons:camunda-commons-utils:jar:1.7.1:compile
[INFO] | | | | +- org.camunda.bpm.model:camunda-dmn-model:jar:7.11.0:compile
[INFO] | | | | +- org.camunda.bpm.dmn:camunda-engine-feel-api:jar:7.11.0:compile
[INFO] | | | | \- org.camunda.bpm.dmn:camunda-engine-feel-juel:jar:7.11.0:compile
[INFO] | | | +- org.camunda.commons:camunda-commons-logging:jar:1.7.1:compile
[INFO] | | | +- org.camunda.commons:camunda-commons-typed-values:jar:1.7.1:compile
[INFO] | | | +- org.mybatis:mybatis:jar:3.4.4:compile
[INFO] | | | +- com.google.code.gson:gson:jar:2.8.5:compile
[INFO] | | | \- joda-time:joda-time:jar:2.10.3:compile
[INFO] | | \- commons-dbcp:commons-dbcp:jar:1.4:compile
[INFO] | | \- commons-pool:commons-pool:jar:1.6:compile
[INFO] | +- org.springframework:spring-context:jar:5.1.9.RELEASE:compile
[INFO] | +- org.springframework:spring-jdbc:jar:5.1.9.RELEASE:compile
[INFO] | +- org.springframework:spring-tx:jar:5.1.9.RELEASE:compile
[INFO] | +- org.springframework:spring-orm:jar:5.1.9.RELEASE:compile
[INFO] | +- org.springframework.boot:spring-boot-autoconfigure:jar:2.1.7.RELEASE:compile
[INFO] | \- com.fasterxml.uuid:java-uuid-generator:jar:3.1.2:compile
[INFO] +- swagger_spring_Selfmade:jar:0.0.2-20181112140901_9_e91acd7:compile
[INFO] | +- io.springfox:springfox-swagger2:jar:2.8.0:compile
[INFO] | | +- io.swagger:swagger-annotations:jar:1.5.14:compile
[INFO] | | +- io.swagger:swagger-models:jar:1.5.14:compile
[INFO] | | +- io.springfox:springfox-spi:jar:2.8.0:compile
[INFO] | | | \- io.springfox:springfox-core:jar:2.8.0:compile
[INFO] | | +- io.springfox:springfox-schema:jar:2.8.0:compile
[INFO] | | +- io.springfox:springfox-swagger-common:jar:2.8.0:compile
[INFO] | | +- io.springfox:springfox-spring-web:jar:2.8.0:compile
[INFO] | | | \- org.reflections:reflections:jar:0.9.11:compile
[INFO] | | +- org.springframework.plugin:spring-plugin-core:jar:1.2.0.RELEASE:compile
[INFO] | | +- org.springframework.plugin:spring-plugin-metadata:jar:1.2.0.RELEASE:compile
[INFO] | | \- org.mapstruct:mapstruct:jar:1.2.0.Final:compile
[INFO] | \- io.springfox:springfox-swagger-ui:jar:2.8.0:compile
[INFO] +- oidc_auth_filter_selfmade:jar:0.1.0-20181112140634_8_2e26773:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-web:jar:2.1.7.RELEASE:compile
[INFO] | | +- org.springframework.boot:spring-boot-starter-json:jar:2.1.7.RELEASE:compile
[INFO] | | | +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.9.9:compile
[INFO] | | | +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.9.9:compile
[INFO] | | | \- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.9.9:compile
[INFO] | | +- org.springframework.boot:spring-boot-starter-tomcat:jar:2.1.7.RELEASE:compile
[INFO] | | | +- org.apache.tomcat.embed:tomcat-embed-core:jar:9.0.22:compile
[INFO] | | | +- org.apache.tomcat.embed:tomcat-embed-el:jar:9.0.22:compile
[INFO] | | | \- org.apache.tomcat.embed:tomcat-embed-websocket:jar:9.0.22:compile
[INFO] | | +- org.hibernate.validator:hibernate-validator:jar:6.0.17.Final:compile
[INFO] | | | \- javax.validation:validation-api:jar:2.0.1.Final:compile
[INFO] | | \- org.springframework:spring-webmvc:jar:5.1.9.RELEASE:compile
[INFO] | +- com.google.guava:guava:jar:21.0:compile
[INFO] | \- com.nimbusds:oauth2-oidc-sdk:jar:5.64.3:compile
[INFO] | +- javax.mail:javax.mail-api:jar:1.6.2:compile
[INFO] | +- com.sun.mail:javax.mail:jar:1.6.2:compile
[INFO] | | \- javax.activation:activation:jar:1.1:compile
[INFO] | +- com.github.stephenc.jcip:jcip-annotations:jar:1.0-1:compile
[INFO] | +- net.minidev:json-smart:jar:2.3:compile (version selected from constraint [1.3.1,2.3])
[INFO] | | \- net.minidev:accessors-smart:jar:1.2:compile
[INFO] | | \- org.ow2.asm:asm:jar:5.0.4:compile
[INFO] | +- com.nimbusds:lang-tag:jar:1.4.4:compile (version selected from constraint [1.4.3,))
[INFO] | \- com.nimbusds:nimbus-jose-jwt:jar:7.7:compile (version selected from constraint [5.5,))
[INFO] +- org.springframework.boot:spring-boot-starter-quartz:jar:2.1.7.RELEASE:compile
[INFO] | +- org.springframework:spring-context-support:jar:5.1.9.RELEASE:compile
[INFO] | \- org.quartz-scheduler:quartz:jar:2.3.1:compile
[INFO] | \- com.mchange:mchange-commons-java:jar:0.2.15:compile
[INFO] +- com.google.code.findbugs:annotations:jar:3.0.1u2:provided
[INFO] | +- net.jcip:jcip-annotations:jar:1.0:provided
[INFO] | \- com.google.code.findbugs:jsr305:jar:3.0.1:provided
[INFO] +- camunda_persistence_selfmade:jar:0.0.3-20181204140427_54_6d6c73a:compile
[INFO] +- camunda_templates_modeller(Selfmade):jar:0.1.1-20181204132850_11_89ff2f5:compile
[INFO] +- org.glassfish.jaxb:jaxb-runtime:jar:2.3.2:compile
[INFO] | +- jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.2:compile
[INFO] | +- org.glassfish.jaxb:txw2:jar:2.3.1:compile
[INFO] | +- com.sun.istack:istack-commons-runtime:jar:3.0.8:compile
[INFO] | +- org.jvnet.staxex:stax-ex:jar:1.8.1:compile
[INFO] | +- com.sun.xml.fastinfoset:FastInfoset:jar:1.2.16:compile
[INFO] | \- jakarta.activation:jakarta.activation-api:jar:1.2.1:compile
[INFO] +- jaxrs_client(Selfmade):jar:0.1.0-20181112140855_9_da1fd9b:compile
[INFO] +- jaxrs_jersey_client(Selfmade):jar:0.1.0-20181112141745_76_84d9b84:compile
[INFO] +- org.apache.commons:commons-lang3:jar:3.5:compile
[INFO] +- commons-io:commons-io:jar:2.5:compile
[INFO] +- org.glassfish.jersey.core:jersey-common:jar:2.29:compile
[INFO] | +- jakarta.ws.rs:jakarta.ws.rs-api:jar:2.1.5:compile
[INFO] | +- jakarta.annotation:jakarta.annotation-api:jar:1.3.4:compile
[INFO] | +- org.glassfish.hk2.external:jakarta.inject:jar:2.5.0:compile
[INFO] | +- org.glassfish.hk2:osgi-resource-locator:jar:1.0.3:compile
[INFO] | \- com.sun.activation:jakarta.activation:jar:1.2.1:compile
[INFO] +- org.glassfish.jersey.core:jersey-client:jar:2.29:compile
[INFO] +- org.glassfish.jersey.inject:jersey-hk2:jar:2.29:compile
[INFO] | \- org.glassfish.hk2:hk2-locator:jar:2.5.0:compile
[INFO] | +- org.glassfish.hk2.external:aopalliance-repackaged:jar:2.5.0:compile
[INFO] | +- org.glassfish.hk2:hk2-api:jar:2.5.0:compile
[INFO] | \- org.glassfish.hk2:hk2-utils:jar:2.5.0:compile
[INFO] +- org.glassfish.jersey.media:jersey-media-json-jackson:jar:2.29:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.9.0:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.9.9:compile
[INFO] | \- com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.9.9:compile
[INFO] +- org.glassfish.jersey.media:jersey-media-multipart:jar:2.29:compile
[INFO] | \- org.jvnet.mimepull:mimepull:jar:1.9.11:compile
[INFO] \- org.glassfish.jersey.ext:jersey-entity-filtering:jar:2.29:compile
I started another approach:
Removed ALL dependencies and added only those necessary to build the project (unworking for now) this produced the same error message I before solved with spring data commons. This time I can't solve that:
java.lang.IllegalStateException: Error processing condition on org.springframework.boot.autoconfigure.data.web.SpringDataWebAutoConfiguration.pageableCustomizer
at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:60)
at org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:108)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForBeanMethod(ConfigurationClassBeanDefinitionReader.java:181)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:141)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:117)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:327)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:232)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:275)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:95)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:705)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:531)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:743)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:390)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:312)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1214)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1203)
at SpringApplication.main(WorkflowEngineSpringBootApplication.java:94)
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 org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:51)
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:52)
Caused by: java.lang.IllegalStateException: #ConditionalOnMissingBean did not specify a bean using type, name or annotation and the attempt to deduce the bean's type failed
at org.springframework.boot.autoconfigure.condition.OnBeanCondition$BeanSearchSpec.validate(OnBeanCondition.java:409)
at org.springframework.boot.autoconfigure.condition.OnBeanCondition$BeanSearchSpec.<init>(OnBeanCondition.java:400)
at org.springframework.boot.autoconfigure.condition.OnBeanCondition$BeanSearchSpec.<init>(OnBeanCondition.java:375)
at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getMatchOutcome(OnBeanCondition.java:144)
at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:47)
... 25 common frames omitted
Caused by: org.springframework.boot.autoconfigure.condition.OnBeanCondition$BeanTypeDeductionException: Failed to deduce bean type for org.springframework.boot.autoconfigure.data.web.SpringDataWebAutoConfiguration.pageableCustomizer
at org.springframework.boot.autoconfigure.condition.OnBeanCondition$BeanSearchSpec.addDeducedBeanTypeForBeanMethod(OnBeanCondition.java:449)
at org.springframework.boot.autoconfigure.condition.OnBeanCondition$BeanSearchSpec.addDeducedBeanType(OnBeanCondition.java:438)
at org.springframework.boot.autoconfigure.condition.OnBeanCondition$BeanSearchSpec.<init>(OnBeanCondition.java:394)
... 28 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.springframework.data.web.config.PageableHandlerMethodArgumentResolverCustomizer
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:93)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:398)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:275)
at org.springframework.boot.autoconfigure.condition.OnBeanCondition$BeanSearchSpec.getReturnType(OnBeanCondition.java:458)
at org.springframework.boot.autoconfigure.condition.OnBeanCondition$BeanSearchSpec.addDeducedBeanTypeForBeanMethod(OnBeanCondition.java:445)
... 30 common frames omitted
EDIT 2
https://pastebin.com/6ikPBSnF
My maven pom.
Problem could be the dependency for spring-data-releasetrain on the Fowler-SR2 release train version.
This release train is a few years old see the maven pom. You'll want to take a look as to why that is included in your pom.
I get the following error when starting up my app under Eclipse:
Exception in thread "main" java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V
at org.apache.commons.logging.impl.SLF4JLocationAwareLog.info(SLF4JLocationAwareLog.java:159)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:273)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:782)
at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:424)
at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:774)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1242)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494)
at com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload.doStart(JettyLauncher.java:541)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
at org.eclipse.jetty.server.handler.RequestLogHandler.doStart(RequestLogHandler.java:162)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
at org.eclipse.jetty.server.Server.doStart(Server.java:282)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:740)
at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:632)
at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1054)
at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:836)
at com.google.gwt.dev.DevMode.main(DevMode.java:413)
Ignored 39 units with compilation errors in first pass.
Here is the dependency tree generated by Maven:
[INFO] com.kn.mik.mobile:GandEMobile:war:0.0.1-SNAPSHOT
[INFO] +- com.kn.mik:GandE:jar:0.0.1-SNAPSHOT:compile
[INFO] | +- postgresql:postgresql:jar:9.1-901-1.jdbc4:compile
[INFO] | +- com.google.code.gson:gson:jar:2.3.1:compile
[INFO] | +- com.kn.knt:sconsole:jar:0.0.1-SNAPSHOT:compile
[INFO] | | +- com.kn.knt:baseuser:jar:0.0.1-SNAPSHOT:compile
[INFO] | | | \- org.jasypt:jasypt:jar:1.9.0:compile
[INFO] | | +- com.kn.knt:baseuser:jar:sources:0.0.1-SNAPSHOT:compile
[INFO] | | +- org.apache.velocity:velocity:jar:1.7:compile
[INFO] | | +- com.kn:integrity:jar:0.0.1-SNAPSHOT:compile
[INFO] | | +- com.kn:integrity:jar:sources:0.0.1-SNAPSHOT:compile
[INFO] | | +- com.kn.knt:kntcore:jar:0.0.1-SNAPSHOT:compile
[INFO] | | | +- javax.mail:mail:jar:1.4:compile
[INFO] | | | +- commons-lang:commons-lang:jar:2.3:compile
[INFO] | | | +- commons-collections:commons-collections:jar:3.2.1:compile
[INFO] | | | +- net.sf.dozer:dozer:jar:5.2.0:compile
[INFO] | | | | +- commons-logging:commons-logging:jar:1.1.1:compile
[INFO] | | | | \- commons-beanutils:commons-beanutils:jar:1.8.0:compile
[INFO] | | | +- joda-time:joda-time:jar:2.2:compile
[INFO] | | | +- joda-time:joda-time-hibernate:jar:1.3:compile
[INFO] | | | +- com.github.nmorel.gwtjackson:gwt-jackson:jar:0.10.0:compile
[INFO] | | | | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.6.1:compile
[INFO] | | | | +- com.fasterxml.jackson.core:jackson-annotations:jar:sources:2.6.1:compile
[INFO] | | | | \- com.squareup:javapoet:jar:1.0.0:compile
[INFO] | | | \- org.jadira.usertype:usertype.core:jar:3.1.0.CR1:compile
[INFO] | | | \- org.jadira.usertype:usertype.spi:jar:3.1.0.CR1:compile
[INFO] | | +- com.kn.knt:kntcore:jar:sources:0.0.1-SNAPSHOT:compile
[INFO] | | +- org.springframework.security:org.springframework.security.web:jar:3.0.3.RELEASE:compile
[INFO] | | | \- org.apache.commons:com.springsource.org.apache.commons.logging:jar:1.1.1:compile
[INFO] | | +- org.springframework.security:org.springframework.security.core:jar:3.0.3.RELEASE:compile
[INFO] | | | \- org.aopalliance:com.springsource.org.aopalliance:jar:1.0.0:compile
[INFO] | | +- org.springframework:org.springframework.jms:jar:3.2.3.RELEASE:compile
[INFO] | | | +- org.springframework:org.springframework.oxm:jar:3.2.3.RELEASE:compile
[INFO] | | | +- org.codehaus.jackson:com.springsource.org.codehaus.jackson.mapper:jar:1.4.2:compile
[INFO] | | | | \- org.codehaus.jackson:com.springsource.org.codehaus.jackson:jar:1.4.2:compile
[INFO] | | | \- com.fasterxml.jackson.core:com.springsource.com.fasterxml.jackson.core.jackson-core:jar:2.0.2:compile
[INFO] | | +- org.springframework:org.springframework.core:jar:3.2.3.RELEASE:compile
[INFO] | | +- org.springframework:org.springframework.web:jar:3.2.3.RELEASE:compile
[INFO] | | +- org.springframework:org.springframework.aspects:jar:3.2.3.RELEASE:compile
[INFO] | | +- org.springframework:org.springframework.beans:jar:3.2.3.RELEASE:compile
[INFO] | | +- org.springframework:org.springframework.transaction:jar:3.2.3.RELEASE:compile
[INFO] | | +- org.springframework:org.springframework.orm:jar:3.2.3.RELEASE:compile
[INFO] | | +- org.springframework:org.springframework.jdbc:jar:3.2.3.RELEASE:compile
[INFO] | | +- org.springframework:org.springframework.web.servlet:jar:3.2.3.RELEASE:compile
[INFO] | | +- org.springframework:org.springframework.context:jar:3.2.3.RELEASE:compile
[INFO] | | +- org.springframework:org.springframework.aop:jar:3.2.3.RELEASE:compile
[INFO] | | +- org.springframework:org.springframework.expression:jar:3.2.3.RELEASE:compile
[INFO] | | +- commons-fileupload:commons-fileupload:jar:1.2.2:compile
[INFO] | | +- org.hibernate:hibernate-entitymanager:jar:4.1.4.Final:compile
[INFO] | | | +- org.jboss.logging:jboss-logging:jar:3.1.0.GA:compile
[INFO] | | | +- org.hibernate:hibernate-core:jar:4.1.4.Final:compile
[INFO] | | | | \- antlr:antlr:jar:2.7.7:compile
[INFO] | | | +- org.jboss.spec.javax.transaction:jboss-transaction-api_1.1_spec:jar:1.0.0.Final:compile
[INFO] | | | +- dom4j:dom4j:jar:1.6.1:compile
[INFO] | | | +- org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.1.Final:compile
[INFO] | | | +- org.javassist:javassist:jar:3.15.0-GA:compile
[INFO] | | | \- org.hibernate.common:hibernate-commons-annotations:jar:4.0.1.Final:compile
[INFO] | | +- org.hibernate:hibernate-validator-annotation-processor:jar:4.1.0.Final:compile
[INFO] | | | \- org.hibernate:hibernate-validator:jar:4.1.0.Final:compile
[INFO] | | \- commons-net:commons-net:jar:2.2:compile
[INFO] | +- com.kn.knt:sconsole:jar:sources:0.0.1-SNAPSHOT:compile
[INFO] | +- com.kn.knt:audit:jar:0.0.1-SNAPSHOT:compile
[INFO] | \- commons-io:commons-io:jar:2.4:compile
[INFO] +- com.kn.mik:GandE:jar:sources:0.0.1-SNAPSHOT:provided
[INFO] +- javax.xml:jaxrpc-api:jar:1.1:compile
[INFO] | \- javax.xml.soap:saaj-api:jar:1.3:compile
[INFO] | \- javax.activation:activation:jar:1.1:compile
[INFO] +- com.google.gwt:gwt-servlet:jar:2.7.0:provided
[INFO] +- com.google.gwt:gwt-user:jar:2.7.0:provided
[INFO] | +- javax.validation:validation-api:jar:1.0.0.GA:compile
[INFO] | \- javax.validation:validation-api:jar:sources:1.0.0.GA:provided
[INFO] +- com.google.gwt:gwt-codeserver:jar:2.7.0:provided
[INFO] | \- com.google.gwt:gwt-dev:jar:2.7.0:provided
[INFO] | +- org.ow2.asm:asm:jar:5.0.3:provided
[INFO] | +- org.ow2.asm:asm-util:jar:5.0.3:provided
[INFO] | | \- org.ow2.asm:asm-tree:jar:5.0.3:provided
[INFO] | \- org.ow2.asm:asm-commons:jar:5.0.3:provided
[INFO] +- com.sksamuel.jqm4gwt:jqm4gwt-library:jar:1.5.0-SNAPSHOT:provided
[INFO] +- com.sksamuel.jqm4gwt:jqm4gwt-datebox:jar:1.5.0-SNAPSHOT:provided
[INFO] +- com.sksamuel.jqm4gwt:jqm4gwt-datatables:jar:1.5.0-SNAPSHOT:compile
[INFO] +- junit:junit:jar:4.11:test
[INFO] | \- org.hamcrest:hamcrest-core:jar:1.3:test
[INFO] +- org.slf4j:slf4j-api:jar:1.6.1:compile
[INFO] +- org.slf4j:slf4j-log4j12:jar:1.6.1:compile
[INFO] | \- log4j:log4j:jar:1.2.16:compile
[INFO] \- kn.sso:SSOIntegrationWebCommon:jar:1.14.90:compile
[INFO] +- org.springframework.security.extensions:spring-security-saml2-core:jar:1.0.1.RELEASE:compile
[INFO] | +- org.opensaml:opensaml:jar:2.6.1:compile
[INFO] | | +- org.opensaml:openws:jar:1.5.1:compile
[INFO] | | | +- org.opensaml:xmltooling:jar:1.4.1:compile
[INFO] | | | | +- org.bouncycastle:bcprov-jdk15:jar:1.46:compile
[INFO] | | | | \- ca.juliusdavies:not-yet-commons-ssl:jar:0.3.9:compile
[INFO] | | | +- commons-httpclient:commons-httpclient:jar:3.1:compile
[INFO] | | | \- org.apache.santuario:xmlsec:jar:1.5.6:compile
[INFO] | | +- commons-codec:commons-codec:jar:1.7:compile
[INFO] | | +- org.owasp.esapi:esapi:jar:2.0.1:compile
[INFO] | | +- xerces:xercesImpl:jar:2.10.0:runtime
[INFO] | | +- xalan:serializer:jar:2.7.1:runtime
[INFO] | | +- xml-resolver:xml-resolver:jar:1.2:runtime
[INFO] | | \- xalan:xalan:jar:2.7.1:runtime
[INFO] | +- org.springframework.security:spring-security-config:jar:3.2.9.RELEASE:compile
[INFO] | | +- aopalliance:aopalliance:jar:1.0:compile
[INFO] | | +- org.springframework:spring-aop:jar:3.2.13.RELEASE:compile
[INFO] | | +- org.springframework:spring-beans:jar:3.2.13.RELEASE:compile
[INFO] | | +- org.springframework:spring-context:jar:3.2.13.RELEASE:compile
[INFO] | | \- org.springframework:spring-core:jar:3.2.13.RELEASE:compile
[INFO] | +- org.springframework.security:spring-security-core:jar:3.1.2.RELEASE:compile
[INFO] | | \- org.springframework:spring-expression:jar:3.0.7.RELEASE:compile
[INFO] | +- org.springframework.security:spring-security-web:jar:3.2.9.RELEASE:compile
[INFO] | | \- org.springframework:spring-web:jar:3.2.13.RELEASE:compile
[INFO] | \- xml-apis:xml-apis:jar:1.4.01:runtime
[INFO] \- org.slf4j:jcl-over-slf4j:jar:1.6.1:runtime
Obviously I have a clash between the logging jars but I have tried to find out which one is causing the problem but without success. Any hints or pointers gratefully received.