Closed 502647092 closed 5 years ago
Thanks for the report, but "not work" and "can't start" don't tell us enough to diagnose the problem. I can see from the stack trace that's you're using DevTools. Does the problem also occur without DevTools being involved? If you'd like us to spend some time investigating the problem, please spend some time to provide a minimal sample that reproduces it. Something that we can unzip or git clone is ideal.
I have similar problem, when my project use devtools then can't start , remove devtools then ok . I try to make a tiny demo add spring detools + spring amqp starter + spring web starter , but demo is ok . So may be is my project too weird.
My project start exception is :
15:37:41.879 [restartedMain] ERROR o.s.boot.SpringApplication - Application run failed org.springframework.beans.factory.BeanInitializationException: Failed to initialize message listener container; nested exception is org.springframework.amqp.UncategorizedAmqpException: java.lang.IllegalArgumentException: non-public interface is not defined by the given loader
at org.springframework.amqp.rabbit.listener.RabbitListenerEndpointRegistry.createListenerContainer(RabbitListenerEndpointRegistry.java:189)
at org.springframework.amqp.rabbit.listener.RabbitListenerEndpointRegistry.registerListenerContainer(RabbitListenerEndpointRegistry.java:154)
at org.springframework.amqp.rabbit.listener.RabbitListenerEndpointRegistry.registerListenerContainer(RabbitListenerEndpointRegistry.java:128)
at org.springframework.amqp.rabbit.listener.RabbitListenerEndpointRegistrar.registerAllEndpoints(RabbitListenerEndpointRegistrar.java:140)
at org.springframework.amqp.rabbit.listener.RabbitListenerEndpointRegistrar.afterPropertiesSet(RabbitListenerEndpointRegistrar.java:133)
at org.springframework.amqp.rabbit.annotation.RabbitListenerAnnotationBeanPostProcessor.afterSingletonsInstantiated(RabbitListenerAnnotationBeanPostProcessor.java:257)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:863)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:863)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:316)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248)
at thelook.wms.App.main(App.java:28)
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.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
Caused by: org.springframework.amqp.UncategorizedAmqpException: java.lang.IllegalArgumentException: non-public interface is not defined by the given loader
at org.springframework.amqp.rabbit.support.RabbitExceptionTranslator.convertRabbitAccessException(RabbitExceptionTranslator.java:83)
at org.springframework.amqp.rabbit.connection.RabbitAccessor.convertRabbitAccessException(RabbitAccessor.java:116)
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.initialize(AbstractMessageListenerContainer.java:1179)
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.afterPropertiesSet(AbstractMessageListenerContainer.java:1109)
at org.springframework.amqp.rabbit.listener.RabbitListenerEndpointRegistry.createListenerContainer(RabbitListenerEndpointRegistry.java:186)
... 20 common frames omitted
Caused by: java.lang.IllegalArgumentException: non-public interface is not defined by the given loader
at java.base/java.lang.reflect.Proxy$ProxyBuilder.mapToModule(Proxy.java:798)
at java.base/java.lang.reflect.Proxy$ProxyBuilder.<init>(Proxy.java:630)
at java.base/java.lang.reflect.Proxy.lambda$getProxyConstructor$1(Proxy.java:426)
at java.base/jdk.internal.loader.AbstractClassLoaderValue$Memoizer.get(AbstractClassLoaderValue.java:329)
at java.base/jdk.internal.loader.AbstractClassLoaderValue.computeIfAbsent(AbstractClassLoaderValue.java:205)
at java.base/java.lang.reflect.Proxy.getProxyConstructor(Proxy.java:424)
at java.base/java.lang.reflect.Proxy.newProxyInstance(Proxy.java:1006)
at org.springframework.aop.framework.JdkDynamicAopProxy.getProxy(JdkDynamicAopProxy.java:123)
at org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.java:110)
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.initializeProxy(AbstractMessageListenerContainer.java:1135)
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.initialize(AbstractMessageListenerContainer.java:1161)
... 22 common frames omitted
@giant35 perhaps you could share your build? I suspect that your build is overriding certain versions so that incompatible libraries are on the classpath. We suspect that there isn't an issue in Spring Boot but can't say for sure without more details.
@snicoll My project is use maven , may be spring-cloud Finchley.SR2 override de version this is the pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>test</groupId>
<artifactId>proj1</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>war</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<spring-cloud-version>Finchley.SR2</spring-cloud-version>
</properties>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.2.RELEASE</version>
</parent>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud-version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>bootstrap</artifactId>
<version>3.3.7</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
</dependency>
<!-- Provided -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
<!-- <scope>provided</scope>-->
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-jasper</artifactId>
<!-- <scope>provided</scope>-->
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-test-autoconfigure</artifactId>
<scope>test</scope>
<type>jar</type>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<type>jar</type>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>3.17</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-taglibs</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-amqp</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-cache</artifactId>
</dependency>
<dependency>
<groupId>net.sf.ehcache</groupId>
<artifactId>ehcache</artifactId>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>fluent-hc</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>commons-java-jdk11</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.sun.mail</groupId>
<artifactId>javax.mail</artifactId>
</dependency>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-annotations</artifactId>
<version>1.5.16</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-ldap</artifactId>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>3.17</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-zipkin</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-sleuth</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-sleuth-zipkin</artifactId>
</dependency>
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-core</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-indexer</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-influx</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
</dependencies>
<build>
<finalName>proj1</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<useSystemClassLoader>false</useSystemClassLoader>
</configuration>
</plugin>
<plugin>
<groupId>pl.project13.maven</groupId>
<artifactId>git-commit-id-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>revision</goal>
</goals>
</execution>
</executions>
<configuration>
<dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
</configuration>
</plugin>
<!--增加swagger-plugin-->
<plugin>
<groupId>com.github.kongchen</groupId>
<artifactId>swagger-maven-plugin</artifactId>
<version>3.1.7</version><!--(貌似别的版本不行,耗了挺长时间的) -->
<configuration>
<apiSources>
<apiSource>
<springmvc>true</springmvc>
<locations>
<location>com.test.rest</location>
</locations>
<schemes>
<scheme>http</scheme>
<scheme>https</scheme>
</schemes>
<basePath>http://test.com</basePath>
<info>
<title>test API</title>
<version>v1</version>
<contact>
<email>TTT@test.com</email>
<name>TTT</name>
</contact>
</info>
<swaggerDirectory>${basedir}/docs/</swaggerDirectory>
</apiSource>
</apiSources>
</configuration>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
mvn dependency:tree show this :
[INFO] ----------------------------< test.proj1 >-----------------------------
[INFO] Building proj1 1.0-SNAPSHOT
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:3.1.1:tree (default-cli) @ proj1 ---
[INFO] test:proj1:war:1.0-SNAPSHOT
[INFO] +- org.springframework.boot:spring-boot-starter-web:jar:2.1.2.RELEASE:compile
[INFO] | +- org.springframework.boot:spring-boot-starter:jar:2.1.2.RELEASE:compile
[INFO] | | +- org.springframework.boot:spring-boot-starter-logging:jar:2.1.2.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.1:compile
[INFO] | | | | \- org.apache.logging.log4j:log4j-api:jar:2.11.1:compile
[INFO] | | | \- org.slf4j:jul-to-slf4j:jar:1.7.25:compile
[INFO] | | \- org.yaml:snakeyaml:jar:1.23:runtime
[INFO] | +- org.springframework.boot:spring-boot-starter-json:jar:2.1.2.RELEASE:compile
[INFO] | | +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.9.8:compile
[INFO] | | +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.9.8:compile
[INFO] | | \- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.9.8:compile
[INFO] | +- org.hibernate.validator:hibernate-validator:jar:6.0.14.Final:compile
[INFO] | | +- javax.validation:validation-api:jar:2.0.1.Final:compile
[INFO] | | +- org.jboss.logging:jboss-logging:jar:3.3.2.Final:compile
[INFO] | | \- com.fasterxml:classmate:jar:1.4.0:compile
[INFO] | +- org.springframework:spring-web:jar:5.1.4.RELEASE:compile
[INFO] | \- org.springframework:spring-webmvc:jar:5.1.4.RELEASE:compile
[INFO] +- org.springframework.boot:spring-boot-starter-data-jpa:jar:2.1.2.RELEASE:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-aop:jar:2.1.2.RELEASE:compile
[INFO] | | \- org.aspectj:aspectjweaver:jar:1.9.2:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-jdbc:jar:2.1.2.RELEASE:compile
[INFO] | | +- com.zaxxer:HikariCP:jar:3.2.0:compile
[INFO] | | \- org.springframework:spring-jdbc:jar:5.1.4.RELEASE: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.7.Final:compile
[INFO] | | +- javax.persistence:javax.persistence-api:jar:2.2:compile
[INFO] | | +- org.javassist:javassist:jar:3.23.1-GA:compile
[INFO] | | +- net.bytebuddy:byte-buddy:jar:1.9.7:compile
[INFO] | | +- antlr:antlr:jar:2.7.7:compile
[INFO] | | +- org.jboss:jandex:jar:2.0.5.Final: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:2.1.4.RELEASE:compile
[INFO] | | +- org.springframework.data:spring-data-commons:jar:2.1.4.RELEASE:compile
[INFO] | | +- org.springframework:spring-orm:jar:5.1.4.RELEASE:compile
[INFO] | | \- org.springframework:spring-tx:jar:5.1.4.RELEASE:compile
[INFO] | \- org.springframework:spring-aspects:jar:5.1.4.RELEASE:compile
[INFO] +- org.webjars:bootstrap:jar:3.3.7:compile
[INFO] | \- org.webjars:jquery:jar:1.11.1:compile
[INFO] +- org.slf4j:slf4j-api:jar:1.7.25:compile
[INFO] +- mysql:mysql-connector-java:jar:8.0.13:compile
[INFO] +- org.springframework.boot:spring-boot-devtools:jar:2.1.2.RELEASE:compile (optional)
[INFO] | +- org.springframework.boot:spring-boot:jar:2.1.2.RELEASE:compile
[INFO] | \- org.springframework.boot:spring-boot-autoconfigure:jar:2.1.2.RELEASE:compile
[INFO] +- javax.servlet:jstl:jar:1.2:compile
[INFO] +- org.springframework.boot:spring-boot-starter-tomcat:jar:2.1.2.RELEASE:compile
[INFO] | +- javax.annotation:javax.annotation-api:jar:1.3.2:compile
[INFO] | +- org.apache.tomcat.embed:tomcat-embed-core:jar:9.0.14:compile
[INFO] | +- org.apache.tomcat.embed:tomcat-embed-el:jar:9.0.14:compile
[INFO] | \- org.apache.tomcat.embed:tomcat-embed-websocket:jar:9.0.14:compile
[INFO] +- org.apache.tomcat.embed:tomcat-embed-jasper:jar:9.0.14:compile
[INFO] | \- org.eclipse.jdt:ecj:jar:3.15.0:compile
[INFO] +- org.apache.commons:commons-lang3:jar:3.8.1:compile
[INFO] +- junit:junit:jar:4.12:test
[INFO] +- org.hamcrest:hamcrest-core:jar:1.3:test
[INFO] +- org.springframework.boot:spring-boot-test-autoconfigure:jar:2.1.2.RELEASE:test
[INFO] | \- org.springframework.boot:spring-boot-test:jar:2.1.2.RELEASE:test
[INFO] +- com.h2database:h2:jar:1.4.197:test
[INFO] +- org.springframework.boot:spring-boot-starter-test:jar:2.1.2.RELEASE:test
[INFO] | +- com.jayway.jsonpath:json-path:jar:2.4.0:compile
[INFO] | | \- net.minidev:json-smart:jar:2.3:compile
[INFO] | | \- net.minidev:accessors-smart:jar:1.2:compile
[INFO] | | \- org.ow2.asm:asm:jar:5.0.4:compile
[INFO] | +- org.assertj:assertj-core:jar:3.11.1:test
[INFO] | +- org.mockito:mockito-core:jar:2.23.4:test
[INFO] | | +- net.bytebuddy:byte-buddy-agent:jar:1.9.7:test
[INFO] | | \- org.objenesis:objenesis:jar:2.6:test
[INFO] | +- org.hamcrest:hamcrest-library:jar:1.3: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-core:jar:5.1.4.RELEASE:compile
[INFO] | | \- org.springframework:spring-jcl:jar:5.1.4.RELEASE:compile
[INFO] | +- org.springframework:spring-test:jar:5.1.4.RELEASE:test
[INFO] | \- org.xmlunit:xmlunit-core:jar:2.6.2:test
[INFO] +- com.fasterxml.jackson.core:jackson-databind:jar:2.9.8:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.9.0:compile
[INFO] | \- com.fasterxml.jackson.core:jackson-core:jar:2.9.8:compile
[INFO] +- javax.servlet:javax.servlet-api:jar:4.0.1:compile
[INFO] +- org.apache.poi:poi:jar:3.17:compile
[INFO] | +- commons-codec:commons-codec:jar:1.11:compile
[INFO] | \- org.apache.commons:commons-collections4:jar:4.1:compile
[INFO] +- org.springframework.boot:spring-boot-starter-security:jar:2.1.2.RELEASE:compile
[INFO] | +- org.springframework:spring-aop:jar:5.1.4.RELEASE:compile
[INFO] | \- org.springframework.security:spring-security-config:jar:5.1.3.RELEASE:compile
[INFO] +- org.springframework.security:spring-security-web:jar:5.1.3.RELEASE:compile
[INFO] | +- org.springframework.security:spring-security-core:jar:5.1.3.RELEASE:compile
[INFO] | +- org.springframework:spring-beans:jar:5.1.4.RELEASE:compile
[INFO] | +- org.springframework:spring-context:jar:5.1.4.RELEASE:compile
[INFO] | \- org.springframework:spring-expression:jar:5.1.4.RELEASE:compile
[INFO] +- org.springframework.security:spring-security-taglibs:jar:5.1.3.RELEASE:compile
[INFO] | \- org.springframework.security:spring-security-acl:jar:5.1.3.RELEASE:compile
[INFO] +- org.springframework.boot:spring-boot-starter-amqp:jar:2.1.2.RELEASE:compile
[INFO] | +- org.springframework:spring-messaging:jar:5.1.4.RELEASE:compile
[INFO] | \- org.springframework.amqp:spring-rabbit:jar:2.1.3.RELEASE:compile
[INFO] | +- org.springframework.amqp:spring-amqp:jar:2.1.3.RELEASE:compile
[INFO] | | \- org.springframework.retry:spring-retry:jar:1.2.3.RELEASE:compile
[INFO] | \- com.rabbitmq:amqp-client:jar:5.4.3:compile
[INFO] +- org.springframework.boot:spring-boot-starter-cache:jar:2.1.2.RELEASE:compile
[INFO] | \- org.springframework:spring-context-support:jar:5.1.4.RELEASE:compile
[INFO] +- net.sf.ehcache:ehcache:jar:2.10.6:compile
[INFO] +- org.apache.httpcomponents:fluent-hc:jar:4.5.6:compile
[INFO] | +- org.apache.httpcomponents:httpclient:jar:4.5.6:compile
[INFO] | | \- org.apache.httpcomponents:httpcore:jar:4.4.10:compile
[INFO] | \- commons-logging:commons-logging:jar:1.2:compile
[INFO] +- thelook:commons-java-jdk11:jar:1.0-SNAPSHOT:compile
[INFO] | +- com.qiniu:qiniu-java-sdk:jar:7.2.11:compile
[INFO] | | +- com.squareup.okhttp3:okhttp:jar:3.8.1:compile
[INFO] | | | \- com.squareup.okio:okio:jar:1.13.0:compile
[INFO] | | +- com.google.code.gson:gson:jar:2.8.5:compile
[INFO] | | \- com.qiniu:happy-dns-java:jar:0.1.6:compile
[INFO] | +- com.fasterxml.jackson.dataformat:jackson-dataformat-xml:jar:2.9.8:compile
[INFO] | | +- com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.9.8:compile
[INFO] | | +- org.codehaus.woodstox:stax2-api:jar:3.1.4:compile
[INFO] | | \- com.fasterxml.woodstox:woodstox-core:jar:5.0.3:compile
[INFO] | +- commons-io:commons-io:jar:2.6:compile
[INFO] | +- dom4j:dom4j:jar:1.6.1:compile
[INFO] | | \- xml-apis:xml-apis:jar:1.4.01:compile
[INFO] | +- jaxen:jaxen:jar:1.1.6:compile
[INFO] | +- com.sun.xml.bind:jaxb-impl:jar:2.3.0:compile
[INFO] | \- com.sun.xml.bind:jaxb-core:jar:2.3.0:compile
[INFO] +- com.sun.mail:javax.mail:jar:1.6.2:compile
[INFO] | \- javax.activation:activation:jar:1.1:compile
[INFO] +- io.swagger:swagger-annotations:jar:1.5.16:compile
[INFO] +- org.springframework.boot:spring-boot-starter-data-ldap:jar:2.1.2.RELEASE:compile
[INFO] | \- org.springframework.data:spring-data-ldap:jar:2.1.4.RELEASE:compile
[INFO] | \- org.springframework.ldap:spring-ldap-core:jar:2.3.2.RELEASE:compile
[INFO] +- org.apache.poi:poi-ooxml:jar:3.17:compile
[INFO] | +- org.apache.poi:poi-ooxml-schemas:jar:3.17:compile
[INFO] | | \- org.apache.xmlbeans:xmlbeans:jar:2.6.0:compile
[INFO] | | \- stax:stax-api:jar:1.0.1:compile
[INFO] | \- com.github.virtuald:curvesapi:jar:1.04:compile
[INFO] +- org.springframework.cloud:spring-cloud-starter-zipkin:jar:2.0.2.RELEASE:compile
[INFO] +- org.springframework.cloud:spring-cloud-starter-openfeign:jar:2.0.2.RELEASE:compile
[INFO] | +- org.springframework.cloud:spring-cloud-starter:jar:2.0.2.RELEASE:compile
[INFO] | | +- org.springframework.cloud:spring-cloud-context:jar:2.0.2.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-openfeign-core:jar:2.0.2.RELEASE:compile
[INFO] | | +- org.springframework.cloud:spring-cloud-netflix-ribbon:jar:2.0.2.RELEASE:compile
[INFO] | | | \- org.springframework.cloud:spring-cloud-netflix-archaius:jar:2.0.2.RELEASE:compile
[INFO] | | \- io.github.openfeign.form:feign-form-spring:jar:3.3.0:compile
[INFO] | | +- io.github.openfeign.form:feign-form:jar:3.3.0:compile
[INFO] | | | \- com.google.code.findbugs:annotations:jar:3.0.1:compile
[INFO] | | | \- net.jcip:jcip-annotations:jar:1.0:compile
[INFO] | | \- commons-fileupload:commons-fileupload:jar:1.3.3:compile
[INFO] | +- org.springframework.cloud:spring-cloud-commons:jar:2.0.2.RELEASE:compile
[INFO] | | \- org.springframework.security:spring-security-crypto:jar:5.1.3.RELEASE:compile
[INFO] | +- io.github.openfeign:feign-core:jar:9.7.0:compile
[INFO] | +- io.github.openfeign:feign-slf4j:jar:9.7.0:compile
[INFO] | +- io.github.openfeign:feign-hystrix:jar:9.7.0:compile
[INFO] | | +- com.netflix.archaius:archaius-core:jar:0.7.6:compile
[INFO] | | | +- com.google.code.findbugs:jsr305:jar:3.0.1:compile
[INFO] | | | +- commons-configuration:commons-configuration:jar:1.8:runtime
[INFO] | | | | \- commons-lang:commons-lang:jar:2.6:runtime
[INFO] | | | \- com.google.guava:guava:jar:16.0:runtime
[INFO] | | \- com.netflix.hystrix:hystrix-core:jar:1.5.12:compile
[INFO] | | \- io.reactivex:rxjava:jar:1.3.8:compile
[INFO] | \- io.github.openfeign:feign-java8:jar:9.7.0:compile
[INFO] +- org.springframework.cloud:spring-cloud-starter-sleuth:jar:2.0.2.RELEASE:compile
[INFO] | \- org.springframework.cloud:spring-cloud-sleuth-core:jar:2.0.2.RELEASE:compile
[INFO] | +- org.aspectj:aspectjrt:jar:1.9.2:compile
[INFO] | +- io.zipkin.brave:brave:jar:5.4.3:compile
[INFO] | +- io.zipkin.brave:brave-context-log4j2:jar:5.4.3:compile
[INFO] | +- io.zipkin.brave:brave-instrumentation-spring-web:jar:5.4.3:compile
[INFO] | | \- io.zipkin.brave:brave-instrumentation-http:jar:5.4.3:compile
[INFO] | +- io.zipkin.brave:brave-instrumentation-spring-rabbit:jar:5.4.3:compile
[INFO] | +- io.zipkin.brave:brave-instrumentation-kafka-clients:jar:5.4.3:compile
[INFO] | +- io.zipkin.brave:brave-instrumentation-httpclient:jar:5.4.3:compile
[INFO] | +- io.zipkin.brave:brave-instrumentation-httpasyncclient:jar:5.4.3:compile
[INFO] | \- io.zipkin.brave:brave-instrumentation-spring-webmvc:jar:5.4.3:compile
[INFO] | \- io.zipkin.brave:brave-instrumentation-servlet:jar:5.4.3:compile
[INFO] +- org.springframework.cloud:spring-cloud-sleuth-zipkin:jar:2.0.2.RELEASE:compile
[INFO] | +- io.zipkin.zipkin2:zipkin:jar:2.11.7:compile
[INFO] | +- io.zipkin.reporter2:zipkin-reporter:jar:2.7.10:compile
[INFO] | +- io.zipkin.reporter2:zipkin-sender-kafka11:jar:2.7.10:compile
[INFO] | \- io.zipkin.reporter2:zipkin-sender-amqp-client:jar:2.7.10:compile
[INFO] +- org.flywaydb:flyway-core:jar:5.2.4:compile
[INFO] +- org.springframework:spring-context-indexer:jar:5.1.4.RELEASE:compile (optional)
[INFO] +- io.micrometer:micrometer-registry-influx:jar:1.1.2:compile
[INFO] | \- io.micrometer:micrometer-core:jar:1.1.2:compile
[INFO] | +- org.hdrhistogram:HdrHistogram:jar:2.1.9:compile
[INFO] | \- org.latencyutils:LatencyUtils:jar:2.0.3:compile
[INFO] \- org.springframework.boot:spring-boot-starter-actuator:jar:2.1.2.RELEASE:compile
[INFO] \- org.springframework.boot:spring-boot-actuator-autoconfigure:jar:2.1.2.RELEASE:compile
[INFO] \- org.springframework.boot:spring-boot-actuator:jar:2.1.2.RELEASE:compile
[INFO] ------------------------------------------------------------------------
@wilkinsona test-rabbitmq-service.zip start log
"C:\Program Files\Java\jdk1.8.0_192\bin\java.exe" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:56830,suspend=y,server=n -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=56829 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=localhost -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -javaagent:C:\ProgramData\IDEA\captureAgent\debugger-agent.jar=file:/C:/Users/jiang/AppData/Local/Temp/capture47970.props -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Java\jdk1.8.0_192\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_192\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_192\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_192\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_192\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_192\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_192\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_192\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_192\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_192\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_192\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_192\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_192\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_192\jre\lib\ext\zipfs.jar;C:\Program Files\Java\jdk1.8.0_192\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_192\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_192\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_192\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_192\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_192\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_192\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_192\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_192\jre\lib\rt.jar;E:\JavaWorkSpace\sixi-micro-services-2\sixi-micro-service-test\test-rabbitmq-service\target\classes;E:\MavenRepository\org\springframework\boot\spring-boot-starter-actuator\2.1.2.RELEASE\spring-boot-starter-actuator-2.1.2.RELEASE.jar;E:\MavenRepository\org\springframework\boot\spring-boot-starter\2.1.2.RELEASE\spring-boot-starter-2.1.2.RELEASE.jar;E:\MavenRepository\org\springframework\boot\spring-boot-starter-logging\2.1.2.RELEASE\spring-boot-starter-logging-2.1.2.RELEASE.jar;E:\MavenRepository\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;E:\MavenRepository\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;E:\MavenRepository\org\apache\logging\log4j\log4j-to-slf4j\2.11.1\log4j-to-slf4j-2.11.1.jar;E:\MavenRepository\org\apache\logging\log4j\log4j-api\2.11.1\log4j-api-2.11.1.jar;E:\MavenRepository\org\slf4j\jul-to-slf4j\1.7.25\jul-to-slf4j-1.7.25.jar;E:\MavenRepository\javax\annotation\javax.annotation-api\1.3.2\javax.annotation-api-1.3.2.jar;E:\MavenRepository\org\yaml\snakeyaml\1.23\snakeyaml-1.23.jar;E:\MavenRepository\org\springframework\boot\spring-boot-actuator-autoconfigure\2.1.2.RELEASE\spring-boot-actuator-autoconfigure-2.1.2.RELEASE.jar;E:\MavenRepository\org\springframework\boot\spring-boot-actuator\2.1.2.RELEASE\spring-boot-actuator-2.1.2.RELEASE.jar;E:\MavenRepository\com\fasterxml\jackson\core\jackson-databind\2.9.8\jackson-databind-2.9.8.jar;E:\MavenRepository\org\springframework\spring-context\5.1.4.RELEASE\spring-context-5.1.4.RELEASE.jar;E:\MavenRepository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.9.8\jackson-datatype-jsr310-2.9.8.jar;E:\MavenRepository\io\micrometer\micrometer-core\1.1.2\micrometer-core-1.1.2.jar;E:\MavenRepository\org\hdrhistogram\HdrHistogram\2.1.9\HdrHistogram-2.1.9.jar;E:\MavenRepository\org\latencyutils\LatencyUtils\2.0.3\LatencyUtils-2.0.3.jar;E:\MavenRepository\org\springframework\cloud\spring-cloud-starter-stream-rabbit\2.1.0.RC2\spring-cloud-starter-stream-rabbit-2.1.0.RC2.jar;E:\MavenRepository\org\springframework\cloud\spring-cloud-stream-binder-rabbit\2.1.0.RC2\spring-cloud-stream-binder-rabbit-2.1.0.RC2.jar;E:\MavenRepository\org\springframework\cloud\spring-cloud-stream-binder-rabbit-core\2.1.0.RC2\spring-cloud-stream-binder-rabbit-core-2.1.0.RC2.jar;E:\MavenRepository\org\apache\httpcomponents\httpclient\4.5.6\httpclient-4.5.6.jar;E:\MavenRepository\org\apache\httpcomponents\httpcore\4.4.10\httpcore-4.4.10.jar;E:\MavenRepository\com\rabbitmq\http-client\2.1.0.RELEASE\http-client-2.1.0.RELEASE.jar;E:\MavenRepository\org\springframework\cloud\spring-cloud-stream\2.1.0.RC2\spring-cloud-stream-2.1.0.RC2.jar;E:\MavenRepository\org\springframework\boot\spring-boot-starter-validation\2.1.2.RELEASE\spring-boot-starter-validation-2.1.2.RELEASE.jar;E:\MavenRepository\org\springframework\spring-tuple\1.0.0.RELEASE\spring-tuple-1.0.0.RELEASE.jar;E:\MavenRepository\com\esotericsoftware\kryo-shaded\3.0.3\kryo-shaded-3.0.3.jar;E:\MavenRepository\com\esotericsoftware\minlog\1.3.0\minlog-1.3.0.jar;E:\MavenRepository\org\springframework\integration\spring-integration-tuple\1.0.0.RELEASE\spring-integration-tuple-1.0.0.RELEASE.jar;E:\MavenRepository\org\springframework\retry\spring-retry\1.2.3.RELEASE\spring-retry-1.2.3.RELEASE.jar;E:\MavenRepository\org\springframework\cloud\spring-cloud-function-context\2.0.0.RC2\spring-cloud-function-context-2.0.0.RC2.jar;E:\MavenRepository\org\springframework\cloud\spring-cloud-function-core\2.0.0.RC2\spring-cloud-function-core-2.0.0.RC2.jar;E:\MavenRepository\org\springframework\integration\spring-integration-amqp\5.1.2.RELEASE\spring-integration-amqp-5.1.2.RELEASE.jar;E:\MavenRepository\org\springframework\integration\spring-integration-core\5.1.2.RELEASE\spring-integration-core-5.1.2.RELEASE.jar;E:\MavenRepository\io\projectreactor\reactor-core\3.2.5.RELEASE\reactor-core-3.2.5.RELEASE.jar;E:\MavenRepository\org\springframework\integration\spring-integration-jmx\5.1.2.RELEASE\spring-integration-jmx-5.1.2.RELEASE.jar;E:\MavenRepository\org\springframework\cloud\spring-cloud-starter-netflix-hystrix\2.1.0.M3\spring-cloud-starter-netflix-hystrix-2.1.0.M3.jar;E:\MavenRepository\org\springframework\cloud\spring-cloud-starter\2.1.0.M2\spring-cloud-starter-2.1.0.M2.jar;E:\MavenRepository\org\springframework\cloud\spring-cloud-context\2.1.0.M2\spring-cloud-context-2.1.0.M2.jar;E:\MavenRepository\org\springframework\security\spring-security-crypto\5.1.3.RELEASE\spring-security-crypto-5.1.3.RELEASE.jar;E:\MavenRepository\org\springframework\cloud\spring-cloud-commons\2.1.0.M2\spring-cloud-commons-2.1.0.M2.jar;E:\MavenRepository\org\springframework\security\spring-security-rsa\1.0.7.RELEASE\spring-security-rsa-1.0.7.RELEASE.jar;E:\MavenRepository\org\bouncycastle\bcpkix-jdk15on\1.60\bcpkix-jdk15on-1.60.jar;E:\MavenRepository\org\bouncycastle\bcprov-jdk15on\1.60\bcprov-jdk15on-1.60.jar;E:\MavenRepository\org\springframework\cloud\spring-cloud-netflix-hystrix\2.1.0.M3\spring-cloud-netflix-hystrix-2.1.0.M3.jar;E:\MavenRepository\org\springframework\cloud\spring-cloud-netflix-ribbon\2.1.0.M3\spring-cloud-netflix-ribbon-2.1.0.M3.jar;E:\MavenRepository\org\springframework\cloud\spring-cloud-netflix-archaius\2.1.0.M3\spring-cloud-netflix-archaius-2.1.0.M3.jar;E:\MavenRepository\org\springframework\cloud\spring-cloud-starter-netflix-archaius\2.1.0.M3\spring-cloud-starter-netflix-archaius-2.1.0.M3.jar;E:\MavenRepository\com\netflix\archaius\archaius-core\0.7.6\archaius-core-0.7.6.jar;E:\MavenRepository\com\google\code\findbugs\jsr305\3.0.1\jsr305-3.0.1.jar;E:\MavenRepository\commons-configuration\commons-configuration\1.8\commons-configuration-1.8.jar;E:\MavenRepository\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;E:\MavenRepository\com\netflix\hystrix\hystrix-core\1.5.12\hystrix-core-1.5.12.jar;E:\MavenRepository\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar;E:\MavenRepository\io\reactivex\rxjava\1.3.8\rxjava-1.3.8.jar;E:\MavenRepository\com\netflix\hystrix\hystrix-serialization\1.5.12\hystrix-serialization-1.5.12.jar;E:\MavenRepository\com\fasterxml\jackson\module\jackson-module-afterburner\2.9.8\jackson-module-afterburner-2.9.8.jar;E:\MavenRepository\com\fasterxml\jackson\core\jackson-core\2.9.8\jackson-core-2.9.8.jar;E:\MavenRepository\com\fasterxml\jackson\core\jackson-annotations\2.9.0\jackson-annotations-2.9.0.jar;E:\MavenRepository\com\netflix\hystrix\hystrix-metrics-event-stream\1.5.12\hystrix-metrics-event-stream-1.5.12.jar;E:\MavenRepository\com\netflix\hystrix\hystrix-javanica\1.5.12\hystrix-javanica-1.5.12.jar;E:\MavenRepository\org\apache\commons\commons-lang3\3.8.1\commons-lang3-3.8.1.jar;E:\MavenRepository\org\ow2\asm\asm\5.0.4\asm-5.0.4.jar;E:\MavenRepository\org\aspectj\aspectjweaver\1.9.2\aspectjweaver-1.9.2.jar;E:\MavenRepository\com\google\guava\guava\15.0\guava-15.0.jar;E:\MavenRepository\io\reactivex\rxjava-reactive-streams\1.2.1\rxjava-reactive-streams-1.2.1.jar;E:\MavenRepository\org\reactivestreams\reactive-streams\1.0.2\reactive-streams-1.0.2.jar;E:\MavenRepository\org\springframework\cloud\spring-cloud-starter-bus-amqp\2.1.0.M2\spring-cloud-starter-bus-amqp-2.1.0.M2.jar;E:\MavenRepository\org\springframework\cloud\spring-cloud-bus\2.1.0.M2\spring-cloud-bus-2.1.0.M2.jar;E:\MavenRepository\com\squareup\okhttp3\okhttp\3.10.0\okhttp-3.10.0.jar;E:\MavenRepository\com\squareup\okio\okio\1.14.0\okio-1.14.0.jar;E:\MavenRepository\org\objenesis\objenesis\2.6\objenesis-2.6.jar;E:\MavenRepository\org\springframework\spring-core\5.1.4.RELEASE\spring-core-5.1.4.RELEASE.jar;E:\MavenRepository\org\springframework\spring-jcl\5.1.4.RELEASE\spring-jcl-5.1.4.RELEASE.jar;E:\MavenRepository\org\springframework\boot\spring-boot-starter-web\2.1.2.RELEASE\spring-boot-starter-web-2.1.2.RELEASE.jar;E:\MavenRepository\org\springframework\boot\spring-boot-starter-json\2.1.2.RELEASE\spring-boot-starter-json-2.1.2.RELEASE.jar;E:\MavenRepository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.9.8\jackson-datatype-jdk8-2.9.8.jar;E:\MavenRepository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.9.8\jackson-module-parameter-names-2.9.8.jar;E:\MavenRepository\org\springframework\boot\spring-boot-starter-tomcat\2.1.2.RELEASE\spring-boot-starter-tomcat-2.1.2.RELEASE.jar;E:\MavenRepository\org\apache\tomcat\embed\tomcat-embed-core\9.0.14\tomcat-embed-core-9.0.14.jar;E:\MavenRepository\org\apache\tomcat\embed\tomcat-embed-el\9.0.14\tomcat-embed-el-9.0.14.jar;E:\MavenRepository\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.14\tomcat-embed-websocket-9.0.14.jar;E:\MavenRepository\org\hibernate\validator\hibernate-validator\6.0.14.Final\hibernate-validator-6.0.14.Final.jar;E:\MavenRepository\javax\validation\validation-api\2.0.1.Final\validation-api-2.0.1.Final.jar;E:\MavenRepository\org\jboss\logging\jboss-logging\3.3.2.Final\jboss-logging-3.3.2.Final.jar;E:\MavenRepository\com\fasterxml\classmate\1.4.0\classmate-1.4.0.jar;E:\MavenRepository\org\springframework\spring-web\5.1.4.RELEASE\spring-web-5.1.4.RELEASE.jar;E:\MavenRepository\org\springframework\spring-beans\5.1.4.RELEASE\spring-beans-5.1.4.RELEASE.jar;E:\MavenRepository\org\springframework\spring-webmvc\5.1.4.RELEASE\spring-webmvc-5.1.4.RELEASE.jar;E:\MavenRepository\org\springframework\spring-aop\5.1.4.RELEASE\spring-aop-5.1.4.RELEASE.jar;E:\MavenRepository\org\springframework\spring-expression\5.1.4.RELEASE\spring-expression-5.1.4.RELEASE.jar;E:\MavenRepository\org\springframework\cloud\spring-cloud-starter-oauth2\2.1.0.M1\spring-cloud-starter-oauth2-2.1.0.M1.jar;E:\MavenRepository\org\springframework\cloud\spring-cloud-starter-security\2.1.0.M1\spring-cloud-starter-security-2.1.0.M1.jar;E:\MavenRepository\org\springframework\cloud\spring-cloud-security\2.1.0.M1\spring-cloud-security-2.1.0.M1.jar;E:\MavenRepository\org\springframework\boot\spring-boot-starter-security\2.1.2.RELEASE\spring-boot-starter-security-2.1.2.RELEASE.jar;E:\MavenRepository\org\springframework\security\oauth\boot\spring-security-oauth2-autoconfigure\2.1.0.M4\spring-security-oauth2-autoconfigure-2.1.0.M4.jar;E:\MavenRepository\org\springframework\security\oauth\spring-security-oauth2\2.3.3.RELEASE\spring-security-oauth2-2.3.3.RELEASE.jar;E:\MavenRepository\org\springframework\security\spring-security-core\5.1.3.RELEASE\spring-security-core-5.1.3.RELEASE.jar;E:\MavenRepository\org\springframework\security\spring-security-config\5.1.3.RELEASE\spring-security-config-5.1.3.RELEASE.jar;E:\MavenRepository\org\springframework\security\spring-security-web\5.1.3.RELEASE\spring-security-web-5.1.3.RELEASE.jar;E:\MavenRepository\commons-codec\commons-codec\1.11\commons-codec-1.11.jar;E:\MavenRepository\org\codehaus\jackson\jackson-mapper-asl\1.9.13\jackson-mapper-asl-1.9.13.jar;E:\MavenRepository\org\codehaus\jackson\jackson-core-asl\1.9.13\jackson-core-asl-1.9.13.jar;E:\MavenRepository\org\springframework\security\spring-security-jwt\1.0.9.RELEASE\spring-security-jwt-1.0.9.RELEASE.jar;E:\MavenRepository\org\springframework\cloud\spring-cloud-starter-sleuth\2.1.0.M2\spring-cloud-starter-sleuth-2.1.0.M2.jar;E:\MavenRepository\org\springframework\boot\spring-boot-starter-aop\2.1.2.RELEASE\spring-boot-starter-aop-2.1.2.RELEASE.jar;E:\MavenRepository\org\springframework\cloud\spring-cloud-sleuth-core\2.1.0.M2\spring-cloud-sleuth-core-2.1.0.M2.jar;E:\MavenRepository\org\aspectj\aspectjrt\1.9.2\aspectjrt-1.9.2.jar;E:\MavenRepository\io\zipkin\brave\brave\5.4.4\brave-5.4.4.jar;E:\MavenRepository\io\zipkin\zipkin2\zipkin\2.11.7\zipkin-2.11.7.jar;E:\MavenRepository\io\zipkin\reporter2\zipkin-reporter\2.7.10\zipkin-reporter-2.7.10.jar;E:\MavenRepository\io\zipkin\brave\brave-context-log4j2\5.4.4\brave-context-log4j2-5.4.4.jar;E:\MavenRepository\io\zipkin\brave\brave-instrumentation-spring-web\5.4.4\brave-instrumentation-spring-web-5.4.4.jar;E:\MavenRepository\io\zipkin\brave\brave-instrumentation-http\5.4.4\brave-instrumentation-http-5.4.4.jar;E:\MavenRepository\io\zipkin\brave\brave-instrumentation-spring-rabbit\5.4.4\brave-instrumentation-spring-rabbit-5.4.4.jar;E:\MavenRepository\io\zipkin\brave\brave-instrumentation-kafka-clients\5.4.4\brave-instrumentation-kafka-clients-5.4.4.jar;E:\MavenRepository\io\zipkin\brave\brave-instrumentation-httpclient\5.4.4\brave-instrumentation-httpclient-5.4.4.jar;E:\MavenRepository\io\zipkin\brave\brave-instrumentation-httpasyncclient\5.4.4\brave-instrumentation-httpasyncclient-5.4.4.jar;E:\MavenRepository\io\zipkin\brave\brave-instrumentation-spring-webmvc\5.4.4\brave-instrumentation-spring-webmvc-5.4.4.jar;E:\MavenRepository\io\zipkin\brave\brave-instrumentation-servlet\5.4.4\brave-instrumentation-servlet-5.4.4.jar;E:\MavenRepository\io\zipkin\brave\brave-instrumentation-jms\5.4.4\brave-instrumentation-jms-5.4.4.jar;E:\MavenRepository\org\springframework\boot\spring-boot-starter-amqp\2.1.2.RELEASE\spring-boot-starter-amqp-2.1.2.RELEASE.jar;E:\MavenRepository\org\springframework\spring-messaging\5.1.4.RELEASE\spring-messaging-5.1.4.RELEASE.jar;E:\MavenRepository\org\springframework\amqp\spring-rabbit\2.1.3.RELEASE\spring-rabbit-2.1.3.RELEASE.jar;E:\MavenRepository\org\springframework\amqp\spring-amqp\2.1.3.RELEASE\spring-amqp-2.1.3.RELEASE.jar;E:\MavenRepository\com\rabbitmq\amqp-client\5.4.3\amqp-client-5.4.3.jar;E:\MavenRepository\org\springframework\spring-tx\5.1.4.RELEASE\spring-tx-5.1.4.RELEASE.jar;E:\MavenRepository\org\springframework\boot\spring-boot-configuration-processor\2.1.2.RELEASE\spring-boot-configuration-processor-2.1.2.RELEASE.jar;E:\MavenRepository\org\springframework\boot\spring-boot-devtools\2.1.2.RELEASE\spring-boot-devtools-2.1.2.RELEASE.jar;E:\MavenRepository\org\springframework\boot\spring-boot\2.1.2.RELEASE\spring-boot-2.1.2.RELEASE.jar;E:\MavenRepository\org\springframework\boot\spring-boot-autoconfigure\2.1.2.RELEASE\spring-boot-autoconfigure-2.1.2.RELEASE.jar;C:\Program Files\Jetbrains\ideaIU-2018.2\lib\idea_rt.jar" com.sixi.test.rabbitmqservice.TestRabbitMQServiceApplication
Connected to the target VM, address: '127.0.0.1:56830', transport: 'socket'
2019-01-16 09:50:18.441 INFO [-,,,] 2396 --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
2019-01-16 09:50:18.675 INFO [-,,,] 2396 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'configurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$4ac4d994] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.1.2.RELEASE)
2019-01-16 09:50:19.034 INFO [-,,,] 2396 --- [ restartedMain] c.s.t.r.TestRabbitMQServiceApplication : No active profile set, falling back to default profiles: default
2019-01-16 09:50:20.284 WARN [-,,,] 2396 --- [ restartedMain] o.s.boot.actuate.endpoint.EndpointId : Endpoint ID 'bus-env' contains invalid characters, please migrate to a valid format.
2019-01-16 09:50:21.066 INFO [-,,,] 2396 --- [ restartedMain] o.s.cloud.context.scope.GenericScope : BeanFactory id=5f315592-0b6f-3243-a356-818799343b23
2019-01-16 09:50:21.081 INFO [-,,,] 2396 --- [ restartedMain] faultConfiguringBeanFactoryPostProcessor : No bean named 'errorChannel' has been explicitly defined. Therefore, a default PublishSubscribeChannel will be created.
2019-01-16 09:50:21.081 INFO [-,,,] 2396 --- [ restartedMain] faultConfiguringBeanFactoryPostProcessor : No bean named 'taskScheduler' has been explicitly defined. Therefore, a default ThreadPoolTaskScheduler will be created.
2019-01-16 09:50:21.097 INFO [-,,,] 2396 --- [ restartedMain] faultConfiguringBeanFactoryPostProcessor : No bean named 'integrationHeaderChannelRegistry' has been explicitly defined. Therefore, a default DefaultHeaderChannelRegistry will be created.
2019-01-16 09:50:21.175 INFO [-,,,] 2396 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.amqp.rabbit.annotation.RabbitBootstrapConfiguration' of type [org.springframework.amqp.rabbit.annotation.RabbitBootstrapConfiguration$$EnhancerBySpringCGLIB$$f51694c5] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-01-16 09:50:21.456 INFO [-,,,] 2396 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$2eaad697] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-01-16 09:50:21.488 INFO [-,,,] 2396 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'integrationDisposableAutoCreatedBeans' of type [org.springframework.integration.config.annotation.Disposables] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-01-16 09:50:21.534 INFO [-,,,] 2396 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.integration.config.IntegrationManagementConfiguration' of type [org.springframework.integration.config.IntegrationManagementConfiguration$$EnhancerBySpringCGLIB$$999c91c6] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-01-16 09:50:21.566 INFO [-,,,] 2396 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.integration.IntegrationAutoConfiguration$IntegrationJmxConfiguration' of type [org.springframework.boot.autoconfigure.integration.IntegrationAutoConfiguration$IntegrationJmxConfiguration$$EnhancerBySpringCGLIB$$752e9ce6] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-01-16 09:50:21.581 INFO [-,,,] 2396 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.jmx.JmxAutoConfiguration' of type [org.springframework.boot.autoconfigure.jmx.JmxAutoConfiguration$$EnhancerBySpringCGLIB$$ae1645b3] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-01-16 09:50:21.581 INFO [-,,,] 2396 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'mbeanServer' of type [com.sun.jmx.mbeanserver.JmxMBeanServer] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-01-16 09:50:21.628 INFO [-,,,] 2396 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$4ac4d994] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-01-16 09:50:21.644 INFO [-,,,] 2396 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.sleuth.instrument.web.client.TraceWebClientAutoConfiguration$TraceOAuthConfiguration' of type [org.springframework.cloud.sleuth.instrument.web.client.TraceWebClientAutoConfiguration$TraceOAuthConfiguration$$EnhancerBySpringCGLIB$$73a768f6] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-01-16 09:50:22.566 INFO [-,,,] 2396 --- [ restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
2019-01-16 09:50:22.597 INFO [-,,,] 2396 --- [ restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2019-01-16 09:50:22.597 INFO [-,,,] 2396 --- [ restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.14]
2019-01-16 09:50:22.613 INFO [-,,,] 2396 --- [ restartedMain] o.a.catalina.core.AprLifecycleListener : The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [C:\Program Files\Java\jdk1.8.0_192\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Boxstarter;D:\Maven\bin;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.8.0_181\bin;C:\Program Files (x86)\Yarn\bin\;C:\ProgramData\chocolatey\bin;C:\Users\jiang\go\bin;C:\Program Files\Microsoft VS Code\bin;C:\Program Files\nodejs\;C:\Program Files\Git\cmd;C:\MinGW\bin;E:\Seafile\工作空间\GoWorkSpace\bin;C:\Go\\bin;;C:\Users\jiang\AppData\Local\Microsoft\WindowsApps;C:\Users\jiang\AppData\Local\Yarn\bin;C:\Program Files\Microsoft VS Code\bin;C:\Users\jiang\go\bin;C:\Users\jiang\AppData\Roaming\npm;.]
2019-01-16 09:50:22.753 INFO [-,,,] 2396 --- [ restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2019-01-16 09:50:22.753 INFO [-,,,] 2396 --- [ restartedMain] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 3703 ms
2019-01-16 09:50:23.019 WARN [-,,,] 2396 --- [ restartedMain] c.n.c.sources.URLConfigurationSource : No URLs will be polled as dynamic configuration sources.
2019-01-16 09:50:23.019 INFO [-,,,] 2396 --- [ restartedMain] c.n.c.sources.URLConfigurationSource : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
2019-01-16 09:50:23.034 INFO [-,,,] 2396 --- [ restartedMain] c.netflix.config.DynamicPropertyFactory : DynamicPropertyFactory is initialized with configuration sources: com.netflix.config.ConcurrentCompositeConfiguration@40dd435d
2019-01-16 09:50:23.894 WARN [-,,,] 2396 --- [ restartedMain] o.s.boot.actuate.endpoint.EndpointId : Endpoint ID 'bus-refresh' contains invalid characters, please migrate to a valid format.
2019-01-16 09:50:24.238 INFO [-,,,] 2396 --- [ restartedMain] o.s.s.c.ThreadPoolTaskScheduler : Initializing ExecutorService 'taskScheduler'
2019-01-16 09:50:24.831 WARN [-,,,] 2396 --- [ restartedMain] o.s.c.n.a.ArchaiusAutoConfiguration : No spring.application.name found, defaulting to 'application'
2019-01-16 09:50:24.847 WARN [-,,,] 2396 --- [ restartedMain] c.n.c.sources.URLConfigurationSource : No URLs will be polled as dynamic configuration sources.
2019-01-16 09:50:24.847 INFO [-,,,] 2396 --- [ restartedMain] c.n.c.sources.URLConfigurationSource : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
2019-01-16 09:50:25.238 INFO [-,,,] 2396 --- [ restartedMain] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
2019-01-16 09:50:26.284 INFO [-,,,] 2396 --- [ restartedMain] .s.s.UserDetailsServiceAutoConfiguration :
Using generated security password: f147bc0d-0e3f-46b5-af6e-c0e0c9e21fbc
2019-01-16 09:50:26.456 INFO [-,,,] 2396 --- [ restartedMain] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@12337c3f, org.springframework.security.web.context.SecurityContextPersistenceFilter@7d2ebef6, org.springframework.security.web.header.HeaderWriterFilter@20608b9f, org.springframework.security.web.csrf.CsrfFilter@62323bb0, org.springframework.security.web.authentication.logout.LogoutFilter@172c3e08, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@6d46696e, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@eec2c51, org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@513214f8, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@20859f02, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@bbec1e4, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@23e6fe17, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@a0432a0, org.springframework.security.web.session.SessionManagementFilter@589c5a57, org.springframework.security.web.access.ExceptionTranslationFilter@fbe48cb, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@26efb7de]
2019-01-16 09:50:26.566 INFO [-,,,] 2396 --- [ restartedMain] o.s.b.a.e.web.EndpointLinksResolver : Exposing 24 endpoint(s) beneath base path '/actuator'
2019-01-16 09:50:26.753 INFO [-,,,] 2396 --- [ restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729
2019-01-16 09:50:27.378 INFO [-,,,] 2396 --- [ restartedMain] ConditionEvaluationReportLoggingListener :
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2019-01-16 09:50:27.378 ERROR [-,,,] 2396 --- [ restartedMain] o.s.boot.SpringApplication : Application run failed
java.lang.IllegalAccessError: class org.springframework.amqp.rabbit.listener.$Proxy160 cannot access its superinterface org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer$ContainerDelegate
at java.lang.reflect.Proxy.defineClass0(Native Method) ~[na:1.8.0_192]
at java.lang.reflect.Proxy.access$300(Proxy.java:228) ~[na:1.8.0_192]
at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:642) ~[na:1.8.0_192]
at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:557) ~[na:1.8.0_192]
at java.lang.reflect.WeakCache$Factory.get(WeakCache.java:230) ~[na:1.8.0_192]
at java.lang.reflect.WeakCache.get(WeakCache.java:127) ~[na:1.8.0_192]
at java.lang.reflect.Proxy.getProxyClass0(Proxy.java:419) ~[na:1.8.0_192]
at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:719) ~[na:1.8.0_192]
at org.springframework.aop.framework.JdkDynamicAopProxy.getProxy(JdkDynamicAopProxy.java:123) ~[spring-aop-5.1.4.RELEASE.jar:5.1.4.RELEASE]
at org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.java:110) ~[spring-aop-5.1.4.RELEASE.jar:5.1.4.RELEASE]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.initializeProxy(AbstractMessageListenerContainer.java:1135) ~[spring-rabbit-2.1.3.RELEASE.jar:2.1.3.RELEASE]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.initialize(AbstractMessageListenerContainer.java:1161) ~[spring-rabbit-2.1.3.RELEASE.jar:2.1.3.RELEASE]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.afterPropertiesSet(AbstractMessageListenerContainer.java:1109) ~[spring-rabbit-2.1.3.RELEASE.jar:2.1.3.RELEASE]
at org.springframework.amqp.rabbit.listener.RabbitListenerEndpointRegistry.createListenerContainer(RabbitListenerEndpointRegistry.java:186) ~[spring-rabbit-2.1.3.RELEASE.jar:2.1.3.RELEASE]
at org.springframework.amqp.rabbit.listener.RabbitListenerEndpointRegistry.registerListenerContainer(RabbitListenerEndpointRegistry.java:154) ~[spring-rabbit-2.1.3.RELEASE.jar:2.1.3.RELEASE]
at org.springframework.amqp.rabbit.listener.RabbitListenerEndpointRegistry.registerListenerContainer(RabbitListenerEndpointRegistry.java:128) ~[spring-rabbit-2.1.3.RELEASE.jar:2.1.3.RELEASE]
at org.springframework.amqp.rabbit.listener.RabbitListenerEndpointRegistrar.registerAllEndpoints(RabbitListenerEndpointRegistrar.java:140) ~[spring-rabbit-2.1.3.RELEASE.jar:2.1.3.RELEASE]
at org.springframework.amqp.rabbit.listener.RabbitListenerEndpointRegistrar.afterPropertiesSet(RabbitListenerEndpointRegistrar.java:133) ~[spring-rabbit-2.1.3.RELEASE.jar:2.1.3.RELEASE]
at org.springframework.amqp.rabbit.annotation.RabbitListenerAnnotationBeanPostProcessor.afterSingletonsInstantiated(RabbitListenerAnnotationBeanPostProcessor.java:257) ~[spring-rabbit-2.1.3.RELEASE.jar:2.1.3.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:863) ~[spring-beans-5.1.4.RELEASE.jar:5.1.4.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:863) ~[spring-context-5.1.4.RELEASE.jar:5.1.4.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546) ~[spring-context-5.1.4.RELEASE.jar:5.1.4.RELEASE]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142) ~[spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775) [spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) [spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:316) [spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260) [spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248) [spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE]
at com.sixi.test.rabbitmqservice.TestRabbitMQServiceApplication.main(TestRabbitMQServiceApplication.java:23) [classes/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_192]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_192]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_192]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_192]
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) [spring-boot-devtools-2.1.2.RELEASE.jar:2.1.2.RELEASE]
2019-01-16 09:50:27.394 INFO [-,,,] 2396 --- [ restartedMain] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor'
2019-01-16 09:50:27.394 INFO [-,,,] 2396 --- [ restartedMain] o.s.s.c.ThreadPoolTaskScheduler : Shutting down ExecutorService 'taskScheduler'
Disconnected from the target VM, address: '127.0.0.1:56830', transport: 'socket'
Process finished with exit code 1
@502647092 thank you for the sample. Please consider trimming down the dependencies of the sample in the future as doing so would have pointed to the proper issue tracker for this issue.
If you remove spring-cloud-starter-sleuth
this exception goes away. There is also some machinery involved with @EnableAspectJAutoProxy(proxyTargetClass = true, exposeProxy = true)
I don't believe this to be a Spring Boot issue so please report the sample against the spring-cloud-sleuth project
I was just looking at this too and I'm not sure that I agree. The problem only occurs with a combination of Sleuth and DevTools. If I remove DevTools the problem goes away. It may be that the fix needs to be made in Sleuth, but I think we need to investigate a bit more to be sure.
For the record, the minimal set of dependencies to reproduce the problem is the following:
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-sleuth</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-amqp</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional>
</dependency>
</dependencies>
Running into the same issue but have no Sleuth in my project. Created a project that reproduces the problem: https://github.com/baev/spring-amqp-issue
Thank you, @baev. That tells us that it's a general proxying problem rather than something specific to Sleuth.
same error,waiting for solution
Same issue after upgrading from Spring Boot 2.0.8 + Spring Cloud Finchley to Spring Boot 2.1.2 + Spring Cloud Greenwich.
Excluding spring-boot-devtools
from the dependencies solved it.
Sleuth is not used.
@SuperSpectre Thanks. @baev has already brought it to our attention the Sleuth does not have to be used for the problem to occur. We believe that it's a general proxying problem and any use of an advice chain on SimpleRabbitListenerContainerFactory
will trigger the problem. If your application does not fit that description, can you please provide some more details?
This appears to be a regression in Spring AMQP caused by this change. The problem can be reproduced without involving Spring Boot:
ClassLoader child = new URLClassLoader(new URL[0], AmqpProxyingBug.class.getClassLoader());
Thread.currentThread().setContextClassLoader(child);
SimpleRabbitListenerContainerFactory listenerContainerFactory = new SimpleRabbitListenerContainerFactory();
listenerContainerFactory.setAdviceChain((MethodInterceptor) MethodInvocation::proceed);
listenerContainerFactory.setConnectionFactory(new CachingConnectionFactory());
listenerContainerFactory.createListenerContainer().afterPropertiesSet();
In this case, the proxy is created using the child
class loader but it is attempting to create a proxy for the AbstractMessageListenerContainer$ContainerDelegate
interface which is visible to the parent class loader but is also private. This makes the interface inaccessible and an IllegalAccessError
is thrown.
I have opened https://github.com/spring-projects/spring-amqp/issues/897.
I was able to reproduce this error without spring-amqp
on the classpath for us it seems that JPA is the trigger. The difference being only removing devtools fixed it, no other dependency worked as far as I could test. Should I open a new issue and put together an example? Or continue here?
@devinsba That sounds like a different root cause. Could you please open a new issue with an example.
i upgrade spring-boot-starter-parent 2.1.0.RELEASE to 2.1.2.RELEASE application can't start