sofastack / sofa-boot

SOFABoot is a framework that enhances Spring Boot and fully compatible with it, provides readiness check, class isolation, etc.
https://www.sofastack.tech/sofa-boot/docs/Home
Apache License 2.0
4.97k stars 1.27k forks source link

com.alipay.sofa.runtime.spring.listener.SofaRuntimeApplicationListener 3.1.0版本中报如下误。 #297

Closed bxvs888 closed 5 years ago

bxvs888 commented 5 years ago

20181208220717.376 ERROR main SpringApplication - Application run failed java.lang.IllegalStateException: Could not register object [com.alipay.sofa.runtime.service.impl.BindingConverterFactoryImpl@124dac75] under bean name 'bindingConverterFactory': there is already object [com.alipay.sofa.runtime.service.impl.BindingConverterFactoryImpl@124dac75] bound at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.registerSingleton(DefaultSingletonBeanRegistry.java:120) at org.springframework.beans.factory.support.DefaultListableBeanFactory.registerSingleton(DefaultListableBeanFactory.java:1027) at com.alipay.sofa.runtime.spring.listener.SofaRuntimeApplicationListener.initApplicationContext(SofaRuntimeApplicationListener.java:74) at com.alipay.sofa.runtime.spring.listener.SofaRuntimeApplicationListener.onApplicationEvent(SofaRuntimeApplicationListener.java:114) at com.alipay.sofa.runtime.spring.listener.SofaRuntimeApplicationListener.onApplicationEvent(SofaRuntimeApplicationListener.java:60) at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:398) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:355) at org.springframework.cloud.context.restart.RestartListener.onApplicationEvent(RestartListener.java:68) at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:398) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:355) at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:882) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549) 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.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:139) at org.springframework.cloud.bootstrap.BootstrapApplicationListener.bootstrapServiceContext(BootstrapApplicationListener.java:197) at org.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:104) at org.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:70) at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:127) at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:75) at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:54) at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:347) at org.springframework.boot.SpringApplication.run(SpringApplication.java:306) at com.apsaras.platform.container.boot.PlatformJavaApplication.start(PlatformJavaApplication.java:40) at com.apsaras.platform.container.boot.PlatformJavaApplication.main(PlatformJavaApplication.java:52) at DatabaseMainTest.main(DatabaseMainTest.java:7) 20181208220717.378 DEBUG main AnnotationConfigApplicationContext - Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@ccf91df, started on Sat Dec 08 22:07:16 CST 2018 20181208220717.386 DEBUG main ClasspathLoggingApplicationListener - Application failed to start with classpath: [file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/charsets.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/deploy.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/ext/cldrdata.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/ext/dnsns.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/ext/jaccess.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/ext/jfxrt.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/ext/localedata.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/ext/nashorn.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/ext/sunec.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/ext/zipfs.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/javaws.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/jce.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/jfr.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/jfxswt.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/jsse.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/management-agent.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/plugin.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/resources.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/rt.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/lib/ant-javafx.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/lib/dt.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/lib/javafx-mx.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/lib/jconsole.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/lib/packager.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/lib/sa-jdi.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/lib/tools.jar, file:/app/UFM/platform/PLT/modules/app-modules/cmf-app/out/test/cmf-app-cmf-app/, file:/app/UFM/platform/PLT/modules/app-modules/cmf-app/out/production/cmf-app-cmf-app/, file:/app/UFM/platform/PLT/modules/app-modules/cmf-app/out/production/cmf-app-api/, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.apsaras.pas.core/Apsaras-pas-support/1.1.0-SNAPSHOT/84e5161285642f41e4e1a8e538cad43b8e0f4f9b/Apsaras-pas-support-1.1.0-SNAPSHOT.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.apsaras.pas.core/Apsaras-pas-core/1.1.0-SNAPSHOT/63f5f041e8dd8fa440fe8c140aad9c819c978353/Apsaras-pas-core-1.1.0-SNAPSHOT.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.apsaras.framework.base/Apsaras-base/1.3.1-SNAPSHOT/21b14d3337094aaf0a38e165dc417f0f27d5291a/Apsaras-base-1.3.1-SNAPSHOT.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.apsaras.framework.repository/Apsaras-repository-api/7.5.4-SNAPSHOT/7a4a5611797f508512b10d03b7416ffdb372bcca/Apsaras-repository-api-7.5.4-SNAPSHOT.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.apsaras.framework.amc/Apsaras-amc-core-ext/5.4.11-SNAPSHOT/dffc9f2a19a54fce3b5ae3f3de6eaf601ca1d6ad/Apsaras-amc-core-ext-5.4.11-SNAPSHOT.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.apsaras.framework.amc/Apsaras-amc-core/5.4.11-SNAPSHOT/a1542e0b31a39001e53ff8ff31ddef702410f80c/Apsaras-amc-core-5.4.11-SNAPSHOT.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.apsaras.framework.extras/Apsaras-extras-core/1.0.4-SNAPSHOT/f25b15651616739c6dba2fdedf6a05869ba3456a/Apsaras-extras-core-1.0.4-SNAPSHOT.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.apsaras.framework.extras/Apsaras-extras-decoder/1.0.4-SNAPSHOT/8e76bbee6b35da918bf82f31a78b5b748637d6f1/Apsaras-extras-decoder-1.0.4-SNAPSHOT.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.apsaras.framework.extras/Apsaras-extras-common/1.0.4-SNAPSHOT/4a6f72ec3ba85dded5b328c0c51f456aa565c9fa/Apsaras-extras-common-1.0.4-SNAPSHOT.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.apsaras.framework.extras/Apsaras-extras-api/1.0.4-SNAPSHOT/cfdd22f010c0d858ca180a34bba072f46f9cfc09/Apsaras-extras-api-1.0.4-SNAPSHOT.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.google.guava/guava/22.0/3564ef3803de51fb0530a8377ec6100b33b0d073/guava-22.0.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.apsaras.framework.amc/Apsaras-amc-utils/5.4.11-SNAPSHOT/622196dee6f8b1ccbbb9c1ae8c563680f265c0af/Apsaras-amc-utils-5.4.11-SNAPSHOT.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/ch.qos.logback/logback-classic/1.2.3/7c4f3c474fb2c041d8028740440937705ebb473a/logback-classic-1.2.3.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.jayway.jsonpath/json-path/2.0.0/26b8555596b3fb9652c1ffe193fa9123945b32cc/json-path-2.0.0.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.slf4j/slf4j-api/1.7.25/da76ca59f6a57ee3102f8f9bd9cee742973efa8a/slf4j-api-1.7.25.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/ch.qos.logback/logback-core/1.2.3/864344400c3d4d92dfeb0a305dc87d953677c03c/logback-core-1.2.3.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.google.code.findbugs/jsr305/1.3.9/40719ea6961c0cb6afaeb6a921eaa1f6afd4cfdf/jsr305-1.3.9.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.google.errorprone/error_prone_annotations/2.0.18/5f65affce1684999e2f4024983835efc3504012e/error_prone_annotations-2.0.18.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.google.j2objc/j2objc-annotations/1.1/976d8d30bebc251db406f2bdb3eb01962b5685b3/j2objc-annotations-1.1.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.codehaus.mojo/animal-sniffer-annotations/1.14/775b7e22fb10026eed3f86e8dc556dfafe35f2d5/animal-sniffer-annotations-1.14.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-annotations/2.9.7/4b838e5c4fc17ac02f3293e9a558bb781a51c46d/jackson-annotations-2.9.7.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.hibernate.validator/hibernate-validator/6.0.10.Final/4236051a8d209c00f85e70918d5e26d9f3e5201e/hibernate-validator-6.0.10.Final.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/javax.validation/validation-api/2.0.1.Final/cb855558e6271b1b32e716d24cb85c7f583ce09e/validation-api-2.0.1.Final.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/cglib/cglib-nodep/3.2.4/42c972dee25a436b32c6027e848287ff47ed6750/cglib-nodep-3.2.4.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.alibaba/multithread.context/1.2.1/e80f6d0fd8511bf818c98ac886a572eac844dd34/multithread.context-1.2.1.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/de.schlichtherle.truezip/truezip-driver-tar/7.7.10/9ff10971d3ea7827ec15c30fcf082f810e5d6214/truezip-driver-tar-7.7.10.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/de.schlichtherle.truezip/truezip-driver-zip/7.7.10/3a32db79c5bbc00fa1d68a6154e9631b63db3414/truezip-driver-zip-7.7.10.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/de.schlichtherle.truezip/truezip-file/7.7.10/7964479227f865b9fe0ee50062de108dd161b7bd/truezip-file-7.7.10.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/de.schlichtherle.truezip/truezip-kernel/7.7.10/a28219579e3fb3155e25e371e843b45dfa3be6cc/truezip-kernel-7.7.10.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/joda-time/joda-time/2.10.1/9ac3dbf89dbf2ee385185dd0cd3064fe789efee0/joda-time-2.10.1.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.javassist/javassist/3.24.0-GA/d7466fc2e3af7c023e95c510f06448ad29b225b3/javassist-3.24.0-GA.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.fasterxml.uuid/java-uuid-generator/3.1.5/8784df945176ab4e8e268fd24508cf882d3378de/java-uuid-generator-3.1.5.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.google.code.gson/gson/2.6.1/b9d63507329a7178e026fc334f87587ee5070ac5/gson-2.6.1.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.squareup.okhttp3/okhttp/3.12.0/b36f4a04584c0fb0d9af2d3401cdff8dacb1ea54/okhttp-3.12.0.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.alibaba/druid/1.1.11/4245bf6d4fa6f96dd929f7d87f6730f8bfa9da39/druid-1.1.11.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/commons-beanutils/commons-beanutils/1.9.2/7a87d845ad3a155297e8f67d9008f4c1e5656b71/commons-beanutils-1.9.2.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/commons-codec/commons-codec/1.10/4b95f4897fa13f2cd904aee711aeafc0c5295cd8/commons-codec-1.10.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/javax.inject/javax.inject/1/6975da39a7040257bd51d21a231b76c915872d38/javax.inject-1.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.apache.commons/commons-lang3/3.8.1/6505a72a097d9270f7a9e7bf42c4238283247755/commons-lang3-3.8.1.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.springframework/spring-context-support/5.1.3.RELEASE/8b99520030ab5f7eef5fa06a04294e6781d706c0/spring-context-support-5.1.3.RELEASE.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.springframework/spring-context/5.1.3.RELEASE/158929623ee0166fa930e88c3e2ca86a887088c0/spring-context-5.1.3.RELEASE.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.springframework/spring-aop/5.1.3.RELEASE/c6b69e5c73e17dd15b5a07d96ecfa2d2e7955705/spring-aop-5.1.3.RELEASE.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.springframework/spring-aspects/5.1.3.RELEASE/abee7b02e9c69f2339dd75409e6beb1bb0c7fe5e/spring-aspects-5.1.3.RELEASE.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.springframework/spring-jdbc/5.1.3.RELEASE/4bab0879114befbe41000d2e35dc7b311659b86c/spring-jdbc-5.1.3.RELEASE.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.springframework/spring-oxm/5.1.3.RELEASE/d8458d8a75db8e8803a54a4a68ecac8def133cf0/spring-oxm-5.1.3.RELEASE.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.springframework/spring-tx/5.1.3.RELEASE/ddce255764fe4211c1b189a55384037132b5afd2/spring-tx-5.1.3.RELEASE.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.springframework/spring-beans/5.1.3.RELEASE/9a15a7c84bd12516574bcaf87ffa38c1e65e8a2b/spring-beans-5.1.3.RELEASE.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.springframework/spring-expression/5.1.3.RELEASE/628a471a077ab80f7fd66a5f5e42e2d67e6a9607/spring-expression-5.1.3.RELEASE.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.springframework/spring-core/5.1.3.RELEASE/b1e5325d35bfb27e42d57e9295510cad54ed8fdf/spring-core-5.1.3.RELEASE.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.bouncycastle/bcpkix-jdk15on/1.59/9cef0aab8a4bb849a8476c058ce3ff302aba3fff/bcpkix-jdk15on-1.59.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.bouncycastle/bcprov-ext-jdk15on/1.59/18873ce1775b29e0f9357371993164e3efa47db8/bcprov-ext-jdk15on-1.59.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.apache.commons/commons-compress/1.9/cc18955ff1e36d5abd39a14bfe82b19154330a34/commons-compress-1.9.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.tukaani/xz/1.5/9c64274b7dbb65288237216e3fae7877fd3f2bee/xz-1.5.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/de.schlichtherle.truezip/truezip-swing/7.7.10/f386de4aa050e7f01e6eef97910bc9634494890d/truezip-swing-7.7.10.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.bouncycastle/bcprov-jdk15on/1.56/a153c6f9744a3e9dd6feab5e210e1c9861362ec7/bcprov-jdk15on-1.56.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.google.code.findbugs/annotations/3.0.0/e20984c024b3baf63d06cf481c65c242dcd541de/annotations-3.0.0.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/net.minidev/json-smart/2.1.1/922d12fb1f394e2b6999ae0f7936ab13f4dffb81/json-smart-2.1.1.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.jboss.logging/jboss-logging/3.3.2.Final/3789d00e859632e6c6206adc0c71625559e6e3b0/jboss-logging-3.3.2.Final.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.fasterxml/classmate/1.3.4/3d5f48f10bbe4eb7bd862f10c0583be2e0053c6/classmate-1.3.4.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.squareup.okio/okio/1.15.0/bc28b5a964c8f5721eb58ee3f3c47a9bcbf4f4d8/okio-1.15.0.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/commons-logging/commons-logging/1.1.1/5043bfebc3db072ed80fbd362e7caf00e885d8ae/commons-logging-1.1.1.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/commons-collections/commons-collections/3.2.1/761ea405b9b37ced573d2df0d1e3a4e0f9edc668/commons-collections-3.2.1.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.aspectj/aspectjweaver/1.8.0/57ff384193755a8f2666d59fd9c718cdbdd550f4/aspectjweaver-1.8.0.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.springframework/spring-jcl/5.1.3.RELEASE/d332735dbc9c3f48cac59fb832c5719eb62bbe4d/spring-jcl-5.1.3.RELEASE.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/net.minidev/asm/1.0.2/49f3068a4591b4aa6af553905ff2145685a21c2c/asm-1.0.2.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/asm/asm/3.3.1/1d5f20b4ea675e6fab6ab79f1cd60ec268ddc015/asm-3.3.1.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.google.code.findbugs/jsr305/3.0.2/25ea2e8b0c338a877313bd4672d3fe056ea78f0d/jsr305-3.0.2.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/de.schlichtherle.truezip/truezip-driver-file/7.7.10/7c85afecf13ca2426a5adcaf0bd147a268cc23d5/truezip-driver-file-7.7.10.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/junit/junit/4.12/2973d150c0dc1fefe998f834810d68f278ea58ec/junit-4.12.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.mockito/mockito-core/2.6.1/1b3ed264482f68ebc4c63be05c888b7e3527e17/mockito-core-2.6.1.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.easymock/easymockclassextension/3.0/c602819563bc600b97a673cc6105d88d6b98bfce/easymockclassextension-3.0.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.easymock/easymock/3.0/f28a4c31c330f95c9acbf1108cea19952b5c496f/easymock-3.0.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.hamcrest/hamcrest-all/1.3/63a21ebc981131004ad02e0434e799fd7f3a8d5a/hamcrest-all-1.3.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.objenesis/objenesis/1.2/bfcb0539a071a4c5a30690388903ac48c0667f2a/objenesis-1.2.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/net.bytebuddy/byte-buddy/1.9.5/38ceb06ae54ba0524d14a85fe84ed03aecef5078/byte-buddy-1.9.5.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/net.bytebuddy/byte-buddy-agent/1.6.2/36d9b5636b5499bb3a62713e080c50b2d4f188da/byte-buddy-agent-1.6.2.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.objenesis/objenesis/2.4/2916b6c96b50c5b3ec4452ed99401db745aabb27/objenesis-2.4.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.apsaras.framework.configuration/Apsaras-config-api/2.0.1-SNAPSHOT/27034d41b9a71b6d1227b17469304a6cdacaae0b/Apsaras-config-api-2.0.1-SNAPSHOT.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.apsaras.platform.component/cmf-database-service/1.0.3-SNAPSHOT/7fcdf856cd8e8b02d012cf8c1b23a311dcce541f/cmf-database-service-1.0.3-SNAPSHOT.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.apsaras.platform.component/cmf-registry-service/1.0.2-SNAPSHOT/4136dac50c2526348910dc6cfa2063dbb76c348a/cmf-registry-service-1.0.2-SNAPSHOT.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.apsaras.platform.component/cmf-configure-starter/1.1.1-SNAPSHOT/d543108df61712214ddf5519960aa5f8acbcc90a/cmf-configure-starter-1.1.1-SNAPSHOT.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.apsaras.platform.component/cmf-tmp-service/1.0.2-SNAPSHOT/abf05fe71fb1e2965545e905d492570067ff0a15/cmf-tmp-service-1.0.2-SNAPSHOT.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.apsaras.platform.component/cmf-tmp-api/1.0.2-SNAPSHOT/f8061a79f686dc1793629a8a1a255b9e2dea2d6b/cmf-tmp-api-1.0.2-SNAPSHOT.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.apsaras.framework.boot/Apsaras-bootstarp/3.0.4-SNAPSHOT/ad877e7f61cb51f4e527632d7f2756aa029c838b/Apsaras-bootstarp-3.0.4-SNAPSHOT.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.apsaras.framework.repository/Apsaras-repository-starter/7.5.4-SNAPSHOT/ff89b2b11dabb04fcef565db13e77e5772122dc9/Apsaras-repository-starter-7.5.4-SNAPSHOT.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.apsaras.framework.repository/Apsaras-repository-jdbc/7.5.4-SNAPSHOT/4b8624a50c947c5c12ea4d56ea7a6b2453230a7a/Apsaras-repository-jdbc-7.5.4-SNAPSHOT.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.apsaras.platform.component/cmf-database-api/1.0.3-SNAPSHOT/ca5a4d2913d350ca7f08dbb7e7a9408ce69d90dc/cmf-database-api-1.0.3-SNAPSHOT.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.apsaras.platform.component/cmf-registry-api/1.0.2-SNAPSHOT/c549322aede52ef108ef630234112d051cf2b3b9/cmf-registry-api-1.0.2-SNAPSHOT.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.apsaras.framework.registry/Apsaras-extension-registry-etcd/1.0.0-SNAPSHOT/379d405706dc94a859c53f3d7d798acedb189e16/Apsaras-extension-registry-etcd-1.0.0-SNAPSHOT.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.apsaras.framework.registry/Apsaras-sofa-boot-patch/1.0.0-SNAPSHOT/4919ea670575c4c2ff4defff232c923340d17dc3/Apsaras-sofa-boot-patch-1.0.0-SNAPSHOT.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.apsaras.framework.plugin/Apsaras-plugin-core/1.4.2-SNAPSHOT/d10904525b2ebb7be046925e7ebf5f59bde0e9fc/Apsaras-plugin-core-1.4.2-SNAPSHOT.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.apsaras.framework.disruptor/Apsaras-disruptor-core/1.0.0-SNAPSHOT/23b0e4ae6f8254a00b47b859454d21f3e9b858b1/Apsaras-disruptor-core-1.0.0-SNAPSHOT.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.apsaras.framework.registry/Apsaras-registry-etcd/1.0.1-SNAPSHOT/dc103aba5bffa5f0f6097aadad20245a0ea8876f/Apsaras-registry-etcd-1.0.1-SNAPSHOT.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.alipay.sofa/rpc-sofa-boot-starter/6.0.0/24c748f58461c0a8292da60878824ddd72b666e6/rpc-sofa-boot-starter-6.0.0.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.alipay.sofa/rpc-sofa-boot-core/6.0.0/80e3a36b74e4288face8e044ebf0491f71a0b3db/rpc-sofa-boot-core-6.0.0.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.apache.curator/curator-recipes/2.12.0/6903f92106c900a6bdf814067d257eaf0c4007c4/curator-recipes-2.12.0.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.apache.curator/curator-framework/2.12.0/fd8ffa050e7c7606dfe7dfb82d2944d8e5f1d0a3/curator-framework-2.12.0.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.apache.curator/curator-client/2.12.0/450fb6ec9fbd7f5e2c099be80e0473e4f06d994e/curator-client-2.12.0.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.apsaras.framework.amc/Apsaras-amc-loaders/5.4.11-SNAPSHOT/f18d4259ddf768c278f6da82aa805047851a5b8c/Apsaras-amc-loaders-5.4.11-SNAPSHOT.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.reflections/reflections/0.9.11/4c686033d918ec1727e329b7222fcb020152e32b/reflections-0.9.11.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.coreos/jetcd-core/0.0.2/93e14462fdc3e26856a9e1165bccb0e8ba183ed8/jetcd-core-0.0.2.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.coreos/jetcd-resolver/0.0.2/8b7c6fbcc1e64fe297935f5b5a39e4d1178523cc/jetcd-resolver-0.0.2.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.coreos/jetcd-common/0.0.2/fbd83bca6a8d5c4a9519086108388c9fcbbb9be7/jetcd-common-0.0.2.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/io.grpc/grpc-netty/1.9.1/d1f0923bef9ed8d287a9507b76f85625cab88a4f/grpc-netty-1.9.1.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/io.grpc/grpc-protobuf/1.9.1/9960c229e274cd3476ea5a32bc0ad6129cc10379/grpc-protobuf-1.9.1.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/io.grpc/grpc-stub/1.9.1/55b0ce4f52345873f40b61f3ec4c42e04b3d89e/grpc-stub-1.9.1.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/io.grpc/grpc-protobuf-lite/1.9.1/21a1b7c316e3d940c7d764c1afbb7a37cdc9381d/grpc-protobuf-lite-1.9.1.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/io.grpc/grpc-core/1.9.1/65ec247d6b59a0cca3bf22457b0278c868cab614/grpc-core-1.9.1.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.google.instrumentation/instrumentation-api/0.4.3/41614af3429573dc02645d541638929d877945a2/instrumentation-api-0.4.3.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.google.protobuf/protobuf-java-util/3.5.1/6e40a6a3f52455bd633aa2a0dba1a416e62b4575/protobuf-java-util-3.5.1.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/io.opencensus/opencensus-contrib-grpc-metrics/0.10.0/e47f918dc577b6316f57a884c500b13a98d3c11b/opencensus-contrib-grpc-metrics-0.10.0.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/io.opencensus/opencensus-api/0.10.0/46bcf07e0bd835022ccd531d99c3eb813382d4d8/opencensus-api-0.10.0.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-webflux/2.1.1.RELEASE/fdecdbd04f42f0df1c6d7199e1f9e6ec8a3b6b13/spring-boot-starter-webflux-2.1.1.RELEASE.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.alipay.sofa/runtime-sofa-boot-starter/3.1.0/1ace5605f713d1da95dc10e56256c7746e75dafa/runtime-sofa-boot-starter-3.1.0.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-actuator/2.1.1.RELEASE/65b5ee49303dc91c140760fa2baa06be5199387/spring-boot-starter-actuator-2.1.1.RELEASE.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-json/2.1.1.RELEASE/5fc133c1c1858020dd8df5192eaeea747c8b6e60/spring-boot-starter-json-2.1.1.RELEASE.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.alipay.sofa/infra-sofa-boot-starter/3.1.0/e23ea40e94cd8a6a03e233056df7d3296f616529/infra-sofa-boot-starter-3.1.0.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-validation/2.1.1.RELEASE/ab1d0476a8ccbf656983de7024ad2792b2cf9fb/spring-boot-starter-validation-2.1.1.RELEASE.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter/2.1.1.RELEASE/71df6742de72887214813ff03ae0b6ec4bbcf899/spring-boot-starter-2.1.1.RELEASE.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-logging/2.1.1.RELEASE/f0cba1cfbc46eb02a3af3555e1136ef3890a1bbf/spring-boot-starter-logging-2.1.1.RELEASE.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.alipay.sofa/sofa-rpc-all/5.4.8/971d1c595e588dbb0aba44eae7b19d542811ec6f/sofa-rpc-all-5.4.8.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.slf4j/jcl-over-slf4j/1.7.25/f8c32b13ff142a513eeb5b6330b1588dcb2c0461/jcl-over-slf4j-1.7.25.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.slf4j/log4j-over-slf4j/1.7.25/a87bb47468f47ee7aabbd54f93e133d4215769c3/log4j-over-slf4j-1.7.25.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.alibaba/druid-spring-boot-starter/1.1.10/f8f2f6c06a3ae43d19221e62e3579825d25a845c/druid-spring-boot-starter-1.1.10.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.synchronoss.cloud/nio-multipart-parser/1.1.0/c6c417fec6612584b1c34d4dd98c5a4e47e8c754/nio-multipart-parser-1.1.0.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.alipay.sofa/bolt/1.4.6/bb313c0be01b5bb2a6b7d5078ba3ba649abfa9b2/bolt-1.4.6.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.alipay.sofa.common/sofa-common-tools/1.0.14/826cbd035715290cb4b1022d805e1037a7654a77/sofa-common-tools-1.0.14.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.synchronoss.cloud/nio-stream-storage/1.1.3/986dba5f6e5eed20f0dba6ddc8e8a64a9ebdc2f3/nio-stream-storage-1.1.3.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.apache.zookeeper/zookeeper/3.4.12/cc9c95b358202be355af8abddeb6105f089b1a8c/zookeeper-3.4.12.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-to-slf4j/2.11.1/1097acadf76aa4dd721ec5807566003ae9d975de/log4j-to-slf4j-2.11.1.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.slf4j/jul-to-slf4j/1.7.25/af5364cd6679bfffb114f0dec8a157aaa283b76/jul-to-slf4j-1.7.25.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.ini4j/ini4j/0.5.4/4a3ee4146a90c619b20977d65951825f5675b560/ini4j-0.5.4.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/mysql/mysql-connector-java/6.0.6/1d19b184dbc596008cc71c83596f051c3ec4097f/mysql-connector-java-6.0.6.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.postgresql/postgresql/42.1.1/8a0b76d763f5382d6357c412eeb14970ba4405f3/postgresql-42.1.1.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.springframework.cloud/spring-cloud-context/2.0.1.RELEASE/a0d15068d4100c9a03c1e67f802c71007a933277/spring-cloud-context-2.0.1.RELEASE.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.springframework.cloud/spring-cloud-commons/2.0.1.RELEASE/302b01ad5b666d2314e6462804ddd7325acf6b75/spring-cloud-commons-2.0.1.RELEASE.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.fasterxml.jackson.dataformat/jackson-dataformat-xml/2.9.7/fdbe6c2867454dabeda629e3e24a4c1a227fed23/jackson-dataformat-xml-2.9.7.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/io.jsonwebtoken/jjwt/0.9.0/64e3ed8a5f0bc93ecea592a0b3280f995efbdfe9/jjwt-0.9.0.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.fasterxml.jackson.module/jackson-module-jaxb-annotations/2.9.7/2774b8e960697678ca87cf54abd59c736fcd1e83/jackson-module-jaxb-annotations-2.9.7.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-actuator-autoconfigure/2.1.1.RELEASE/b1dee8c53471db2b6af1a55c1d8db32b3811ea0d/spring-boot-actuator-autoconfigure-2.1.1.RELEASE.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.fasterxml.jackson.datatype/jackson-datatype-jdk8/2.9.7/98d8f190db07f97c64c0ea3af5792f718a6c2cc1/jackson-datatype-jdk8-2.9.7.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.fasterxml.jackson.datatype/jackson-datatype-jsr310/2.9.7/cbd919f1ce67533e07b98dd493247e8dbabc26b2/jackson-datatype-jsr310-2.9.7.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.fasterxml.jackson.module/jackson-module-parameter-names/2.9.7/f2bdd7696beffa2dbc5dc62cd24c3906a40ffcff/jackson-module-parameter-names-2.9.7.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-databind/2.9.7/e6faad47abd3179666e89068485a1b88a195ceb7/jackson-databind-2.9.7.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-core/2.9.7/4b7f0e0dc527fab032e9800ed231080fdc3ac015/jackson-core-2.9.7.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.yaml/snakeyaml/1.23/ec62d74fe50689c28c0ff5b35d3aebcaa8b5be68/snakeyaml-1.23.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.google.code.findbugs/jsr305/3.0.0/5871fb60dc68d67da54a663c3fd636a10a532948/jsr305-3.0.0.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.google.errorprone/error_prone_annotations/2.1.2/6dcc08f90f678ac33e5ef78c3c752b6f59e63e0c/error_prone_annotations-2.1.2.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-actuator/2.1.1.RELEASE/10fc3b2d5b65bb490c0bf96aa2c016c343cd89ac/spring-boot-actuator-2.1.1.RELEASE.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-autoconfigure/2.1.1.RELEASE/b8238b78cefe6d964f996599556af9ac8669a83d/spring-boot-autoconfigure-2.1.1.RELEASE.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.springframework.boot/spring-boot/2.1.1.RELEASE/35a3dd576bc3ad5832d0a7d7242b3b140095727b/spring-boot-2.1.1.RELEASE.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.alibaba/fastjson/1.2.54/dfc0337c9c49022caccb8aa928af13e751d3c43b/fastjson-1.2.54.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.jboss.resteasy/resteasy-multipart-provider/3.0.12.Final/6ade31140b3f9ae4c304bdd47c7ed6e9ef836156/resteasy-multipart-provider-3.0.12.Final.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.jboss.resteasy/resteasy-client/3.0.12.Final/2a102d54e29d4726e3c70e6524a0f6962d7ec82c/resteasy-client-3.0.12.Final.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.jboss.resteasy/resteasy-netty4/3.0.12.Final/e22c33e1eb0c520e72a3a0451a1a2c6d7e5512d6/resteasy-netty4-3.0.12.Final.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.jboss.resteasy/resteasy-jaxrs/3.0.12.Final/f52cf68d065a8e49ce64940d80673557385d0a22/resteasy-jaxrs-3.0.12.Final.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/commons-io/commons-io/1.4/a8762d07e76cfde2395257a5da47ba7c1dbd3dce/commons-io-1.4.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/commons-lang/commons-lang/2.4/16313e02a793435009f1e458fa4af5d879f6fb11/commons-lang-2.4.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-configuration-processor/2.1.1.RELEASE/1b4f9a8aab0bc68648caa0c42ad0806e30ef792c/spring-boot-configuration-processor-2.1.1.RELEASE.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.alibaba/dubbo/2.6.4/bdbbe8ebc6ad9de2aa7266aac375d1f607144820/dubbo-2.6.4.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.springframework/spring-webflux/5.1.3.RELEASE/26d987e3e763aeafdc57c250f78dcca187fd3b76/spring-webflux-5.1.3.RELEASE.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.springframework/spring-web/5.1.3.RELEASE/c875df33e6c5ac0df53e727a08d42b316e69918b/spring-web-5.1.3.RELEASE.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.apache.httpcomponents/httpclient/4.5.2/733db77aa8d9b2d68015189df76ab06304406e50/httpclient-4.5.2.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.thoughtworks.xstream/xstream/1.4.8/520d90f30f36a0d6ba2dc929d980831631ad6a92/xstream-1.4.8.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.mvel/mvel2/2.4.0.Final/f2d40ab749365aacb1f2d038e2e69fd34648350c/mvel2-2.4.0.Final.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.springframework.security/spring-security-crypto/5.1.2.RELEASE/545e71f7cbf9a4bf33dc88028f6cffdc4d69f974/spring-security-crypto-5.1.2.RELEASE.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-reactor-netty/2.1.1.RELEASE/cbf0180456adf467c1f07ef25ab6b7e22ec8a574/spring-boot-starter-reactor-netty-2.1.1.RELEASE.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.jboss.resteasy/resteasy-validator-provider-11/3.0.12.Final/c8b1d885fa992102c280259965480bdacc6c18fd/resteasy-validator-provider-11-3.0.12.Final.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.hibernate.validator/hibernate-validator/6.0.13.Final/af4232bf90ecd33c71147d67185dbb1cfe8f33df/hibernate-validator-6.0.13.Final.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.fasterxml.woodstox/woodstox-core/5.0.3/10aa199207fda142eff01cd61c69244877d71770/woodstox-core-5.0.3.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.codehaus.woodstox/stax2-api/3.1.3/7b6af25588e281dd7ffe3750ea121b28add8800e/stax2-api-3.1.3.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.alipay.sofa/hessian/3.3.3/468a69458854b7c2e6bf4f68194b20b20a97dacf/hessian-3.3.3.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.jboss.resteasy/resteasy-jackson-provider/3.0.7.Final/14f185b90997b063c4015c5ec509c238df290985/resteasy-jackson-provider-3.0.7.Final.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.jboss.resteasy/jaxrs-api/3.0.12.Final/882d5e86d3e536d9607a8e4b319d99c6af2050f3/jaxrs-api-3.0.12.Final.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.glassfish.web/javax.el/2.2.4/a50914ff519682e185bca4385b4313b8c8a81775/javax.el-2.2.4.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.101tec/zkclient/0.10/c54d4b5a5e89af75a80b6d5857400165ce5188d0/zkclient-0.10.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-el/9.0.13/5d8b3277df6197cb03233fe407f54012f7166c65/tomcat-embed-el-9.0.13.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/io.netty/netty-all/4.1.31.Final/5f4443a636f2ad9fffa5ace9ad76784cf8c8ba2d/netty-all-4.1.31.Final.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.alipay.sofa/tracer-core/2.1.1/4c008bf87c14c0a675824fdc9e25727cc5bfdb0/tracer-core-2.1.1.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.alipay.sofa.lookout/lookout-api/1.4.1/e92165a06123052270e135bd9cac068f951d26fa/lookout-api-1.4.1.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/io.micrometer/micrometer-core/1.1.1/5f8063266f548b710ce06a090586a625f3d682b9/micrometer-core-1.1.1.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.lmax/disruptor/3.4.2/e2543a63086b4189fbe418d05d56633bc1a815f7/disruptor-3.4.2.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.apache.commons/commons-collections4/4.1/a4cf4688fe1c7e3a63aa636cc96d013af537768e/commons-collections4-4.1.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/xmlpull/xmlpull/1.1.3.1/2b8e230d2ab644e4ecaa94db7cdedbc40c805dfa/xmlpull-1.1.3.1.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/xpp3/xpp3_min/1.1.4c/19d4e90b43059058f6e056f794f0ea4030d60b86/xpp3_min-1.1.4c.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/javax.annotation/javax.annotation-api/1.2/479c1e06db31c432330183f5cae684163f186146/javax.annotation-api-1.2.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/io.projectreactor.netty/reactor-netty/0.8.3.RELEASE/e052f0c4fc45d404e36d972f05ae7ec79606019a/reactor-netty-0.8.3.RELEASE.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.fasterxml/classmate/1.4.0/291658ac2ce2476256c7115943652c0accb5c857/classmate-1.4.0.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/io.projectreactor/reactor-core/3.2.3.RELEASE/3d354097dcea2b3d2e4eda188dbf45f8c4d93fad/reactor-core-3.2.3.RELEASE.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.jboss.spec.javax.annotation/jboss-annotations-api_1.1_spec/1.0.1.Final/8f9335f966885529d1254793182ff3df1c515eb8/jboss-annotations-api_1.1_spec-1.0.1.Final.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/javax.mail/mail/1.5.0-b01/c128515e42609622ce3f7dc0b431026d80bdb688/mail-1.5.0-b01.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/javax.activation/activation/1.1.1/485de3a253e23f645037828c07f1d7f1af40763a/activation-1.1.1.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/net.jcip/jcip-annotations/1.0/afba4942caaeaf46aab0b976afd57cc7c181467e/jcip-annotations-1.0.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.codehaus.jackson/jackson-jaxrs/1.9.5/81f50fa27e9c049aafd0d15ced64667addc3d5d1/jackson-jaxrs-1.9.5.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.codehaus.jackson/jackson-xc/1.9.5/1b5530ce6fdd2379c3f55db31028e28726457917/jackson-xc-1.9.5.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.codehaus.jackson/jackson-mapper-asl/1.9.5/a731291051b447bbf8da50f232688e34d3d1d53c/jackson-mapper-asl-1.9.5.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.codehaus.jackson/jackson-core-asl/1.9.5/af39988dc5ec30dba5f327791676d67501e79f93/jackson-core-asl-1.9.5.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.jboss.resteasy/resteasy-jaxb-provider/3.0.7.Final/32f31c7eb0cd3149095cfeae1ed367752f7ddf13/resteasy-jaxb-provider-3.0.7.Final.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.apache.james/apache-mime4j/0.6/945007627e8d12275d755081a9e609c018e1210d/apache-mime4j-0.6.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.jboss.netty/netty/3.2.5.Final/60f6ce4af55b0fcd54dd6522cbf588de0387e2f5/netty-3.2.5.Final.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/io.opentracing/opentracing-util/0.22.0/c2a1cfc0093860914f8fb76d352b4a29e933b468/opentracing-util-0.22.0.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/io.opentracing/opentracing-noop/0.22.0/4922ab3da740c9fb2e3fc6f217e2b8abbd3d6f91/opentracing-noop-0.22.0.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/io.opentracing/opentracing-mock/0.22.0/d77cac89d88dcf3a234fbe008ceed222c6d06799/opentracing-mock-0.22.0.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/io.opentracing/opentracing-api/0.22.0/9dbcfef1518671111326e9e7661c8f0d18b03ab5/opentracing-api-0.22.0.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.hdrhistogram/HdrHistogram/2.1.9/e4631ce165eb400edecfa32e03d3f1be53dee754/HdrHistogram-2.1.9.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.latencyutils/LatencyUtils/2.0.3/769c0b82cb2421c8256300e907298a9410a2a3d3/LatencyUtils-2.0.3.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/io.netty/netty-codec-http2/4.1.31.Final/77e485be972b0c0f3abad6fa83c4dd6561271f4/netty-codec-http2-4.1.31.Final.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/io.netty/netty-handler-proxy/4.1.31.Final/12d1c8c7bd4908f0961b69bac25a1f7559b8595d/netty-handler-proxy-4.1.31.Final.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/io.netty/netty-codec-http/4.1.31.Final/bf6321b3f10ea3aefc1970b30bb8928e833f236c/netty-codec-http-4.1.31.Final.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/io.netty/netty-handler/4.1.31.Final/7703c0696f2f34ec7c223c6a5750366a5f4dfb6f/netty-handler-4.1.31.Final.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/io.netty/netty-transport-native-epoll/4.1.31.Final/1ea86db282b5da5168c6e07a7d044a51472a8559/netty-transport-native-epoll-4.1.31.Final-linux-x86_64.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.reactivestreams/reactive-streams/1.0.2/323964c36556eb0e6209f65c1cef72b53b461ab8/reactive-streams-1.0.2.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/io.grpc/grpc-context/1.9.1/c3d8760b198f586490ab0d7e437b253d03087015/grpc-context-1.9.1.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.google.protobuf/protobuf-java/3.5.1/8c3492f7662fa1cbf8ca76a0f5eb1146f7725acd/protobuf-java-3.5.1.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.google.api.grpc/proto-google-common-protos/1.0.0/86f070507e28b930e50d218ee5b6788ef0dd05e6/proto-google-common-protos-1.0.0.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/log4j/log4j/1.2.17/5af35056b4d257e4b64b9e8069c0746e8b08629f/log4j-1.2.17.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/jline/jline/0.9.94/99a18e9a44834afdebc467294e1138364c207402/jline-0.9.94.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.apache.yetus/audience-annotations/0.5.0/55762d3191a8d6610ef46d11e8cb70c7667342a3/audience-annotations-0.5.0.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/io.netty/netty/3.10.6.Final/18ed04a0e502896552854926e908509db2987a00/netty-3.10.6.Final.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.apache.httpcomponents/httpcore/4.4.10/acc54d9b28bdffe4bbde89ed2e4a1e86b5285e2b/httpcore-4.4.10.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.sun.xml.bind/jaxb-impl/2.2.7/a29e53347934e694c9551981cecd242fad05022b/jaxb-impl-2.2.7.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-api/2.11.1/268f0fe4df3eefe052b57c87ec48517d64fb2a10/log4j-api-2.11.1.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/io.netty/netty-codec-socks/4.1.31.Final/94637f717b40b33e1671726c4b5429bae51d8da8/netty-codec-socks-4.1.31.Final.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/io.netty/netty-codec/4.1.31.Final/cfa60b136f5ea57787e910eee37e240bb45402a7/netty-codec-4.1.31.Final.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/io.netty/netty-transport-native-unix-common/4.1.31.Final/e40ee3483d09ce81b4b421f692cc8bbbcfe4020c/netty-transport-native-unix-common-4.1.31.Final.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/io.netty/netty-transport/4.1.31.Final/e3396bd65e9c76accac11c29dca035da1cc39cb1/netty-transport-4.1.31.Final.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/io.netty/netty-buffer/4.1.31.Final/e086523d6bb01fcab1d8dd370eecfcd606311b92/netty-buffer-4.1.31.Final.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/io.netty/netty-resolver/4.1.31.Final/8ea7a47400beedd5bb901b96a0730eea8b7b6f2a/netty-resolver-4.1.31.Final.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/io.netty/netty-common/4.1.31.Final/39ddfa47808c8393a343513571e404fef02f45f0/netty-common-4.1.31.Final.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.sun.xml.bind/jaxb-core/2.2.7/f327817188a7dce503ae3c667c5931077630b0a1/jaxb-core-2.2.7.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.sun.xml.fastinfoset/FastInfoset/1.2.12/e8c1c096162a146c2d84135c5036edf54c1b1d38/FastInfoset-1.2.12.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/javax.xml.bind/jaxb-api/2.3.1/8531ad5ac454cc2deb9d4d32c40c4d7451939b5d/jaxb-api-2.3.1.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/com.sun.istack/istack-commons-runtime/2.16/927eb6fbb003f40d536efd96e7cbcb7ea4c1c2d0/istack-commons-runtime-2.16.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/javax.xml.bind/jsr173_api/1.0/c79b8431c3104315c0aeaed7bf23d0ab0edbaa09/jsr173_api-1.0.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/javax.activation/javax.activation-api/1.2.0/85262acf3ca9816f9537ca47d5adeabaead7cb16/javax.activation-api-1.2.0.jar, file:/app/apsaras/repos/caches/modules-2/files-2.1/net.bytebuddy/byte-buddy-agent/1.9.5/4fe3cb3ef2837bc6ac5c01ec65b210eb38b94909/byte-buddy-agent-1.9.5.jar, file:/Applications/IntelliJ%20IDEA.app/Contents/lib/idea_rt.jar] 20181208220717.387 ERROR main SpringApplication - Application run failed java.lang.IllegalStateException: Could not register object [com.alipay.sofa.runtime.service.impl.BindingConverterFactoryImpl@124dac75] under bean name 'bindingConverterFactory': there is already object [com.alipay.sofa.runtime.service.impl.BindingConverterFactoryImpl@124dac75] bound at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.registerSingleton(DefaultSingletonBeanRegistry.java:120) at org.springframework.beans.factory.support.DefaultListableBeanFactory.registerSingleton(DefaultListableBeanFactory.java:1027) at com.alipay.sofa.runtime.spring.listener.SofaRuntimeApplicationListener.initApplicationContext(SofaRuntimeApplicationListener.java:74) at com.alipay.sofa.runtime.spring.listener.SofaRuntimeApplicationListener.onApplicationEvent(SofaRuntimeApplicationListener.java:114) at com.alipay.sofa.runtime.spring.listener.SofaRuntimeApplicationListener.onApplicationEvent(SofaRuntimeApplicationListener.java:60) at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:398) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:355) at org.springframework.cloud.context.restart.RestartListener.onApplicationEvent(RestartListener.java:68) at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:398) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:355) at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:882) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549) 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.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:139) at org.springframework.cloud.bootstrap.BootstrapApplicationListener.bootstrapServiceContext(BootstrapApplicationListener.java:197) at org.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:104) at org.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:70) at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:127) at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:75) at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:54) at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:347) at org.springframework.boot.SpringApplication.run(SpringApplication.java:306) at com.apsaras.platform.container.boot.PlatformJavaApplication.start(PlatformJavaApplication.java:40) at com.apsaras.platform.container.boot.PlatformJavaApplication.main(PlatformJavaApplication.java:52) at DatabaseMainTest.main(DatabaseMainTest.java:7) java.lang.IllegalStateException: Could not register object [com.alipay.sofa.runtime.service.impl.BindingConverterFactoryImpl@124dac75] under bean name 'bindingConverterFactory': there is already object [com.alipay.sofa.runtime.service.impl.BindingConverterFactoryImpl@124dac75] bound at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.registerSingleton(DefaultSingletonBeanRegistry.java:120) at org.springframework.beans.factory.support.DefaultListableBeanFactory.registerSingleton(DefaultListableBeanFactory.java:1027) at com.alipay.sofa.runtime.spring.listener.SofaRuntimeApplicationListener.initApplicationContext(SofaRuntimeApplicationListener.java:74) at com.alipay.sofa.runtime.spring.listener.SofaRuntimeApplicationListener.onApplicationEvent(SofaRuntimeApplicationListener.java:114) at com.alipay.sofa.runtime.spring.listener.SofaRuntimeApplicationListener.onApplicationEvent(SofaRuntimeApplicationListener.java:60) at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:398) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:355) at org.springframework.cloud.context.restart.RestartListener.onApplicationEvent(RestartListener.java:68) at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:398) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:355) at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:882) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549) 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.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:139) at org.springframework.cloud.bootstrap.BootstrapApplicationListener.bootstrapServiceContext(BootstrapApplicationListener.java:197) at org.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:104) at org.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:70) at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:127) at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:75) at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:54) at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:347) at org.springframework.boot.SpringApplication.run(SpringApplication.java:306) at com.apsaras.platform.container.boot.PlatformJavaApplication.start(PlatformJavaApplication.java:40) at com.apsaras.platform.container.boot.PlatformJavaApplication.main(PlatformJavaApplication.java:52) at DatabaseMainTest.main(DatabaseMainTest.java:7)

经排查,以下方法执行多次:

@Override
public void onApplicationEvent(ApplicationPreparedEvent event) {
    ConfigurableApplicationContext applicationContext = event.getApplicationContext();
    ConfigurableEnvironment environment = applicationContext.getEnvironment();
    if (isInitiated.compareAndSet(false, true)) {
        bindingConverterFactory = bindingConverterFactory();
        bindingAdapterFactory = bindingAdapterFactory();
        sofaRuntimeContext = sofaRuntimeContext(
            environment.getProperty(SofaBootInfraConstants.APP_NAME_KEY),
            bindingConverterFactory, bindingAdapterFactory);
    }
    initApplicationContext(applicationContext);
}

这个方法 initApplicationContext(applicationContext); 被多次执行。

bxvs888 commented 5 years ago
public static void initApplicationContext(ConfigurableApplicationContext applicationContext) {
    ConfigurableListableBeanFactory beanFactory = applicationContext.getBeanFactory();
    applicationContext.addBeanFactoryPostProcessor(new ServiceBeanFactoryPostProcessor(
        applicationContext, sofaRuntimeContext, bindingConverterFactory));
    beanFactory.registerSingleton(
        SofaRuntimeFrameworkConstants.BINDING_CONVERTER_FACTORY_BEAN_ID,
        bindingConverterFactory);
    beanFactory.registerSingleton(
        SofaRuntimeFrameworkConstants.BINDING_ADAPTER_FACTORY_BEAN_ID, bindingAdapterFactory);
    beanFactory.registerSingleton(SofaRuntimeFrameworkConstants.SOFA_RUNTIME_CONTEXT_BEAN_ID,
        sofaRuntimeContext);

    beanFactory.registerSingleton(
        ReferenceAnnotationBeanPostProcessor.class.getCanonicalName(),
        new ReferenceAnnotationBeanPostProcessor(applicationContext, sofaRuntimeContext,
            bindingAdapterFactory, bindingConverterFactory));
    beanFactory.registerSingleton(ClientFactoryBeanPostProcessor.class.getCanonicalName(),
        new ClientFactoryBeanPostProcessor(sofaRuntimeContext.getClientFactory()));
    beanFactory
        .registerSingleton(
            ApplicationShutdownCallbackPostProcessor.class.getCanonicalName(),
            new ApplicationShutdownCallbackPostProcessor(sofaRuntimeContext
                .getSofaRuntimeManager()));
    beanFactory.registerSingleton(SofaRuntimeContextAwareProcessor.class.getCanonicalName(),
        new SofaRuntimeContextAwareProcessor(sofaRuntimeContext));

    if (beanFactory instanceof AbstractAutowireCapableBeanFactory) {
        ((AbstractAutowireCapableBeanFactory) beanFactory)
            .setParameterNameDiscoverer(new SofaParameterNameDiscoverer(applicationContext
                .getEnvironment()));
    }
}

该方法没有判断是否是首次初始化时执行。

QilongZhang commented 5 years ago

感谢反馈, Spring Cloud 中的辅助重启类 org.springframework.cloud.context.restart.RestartListener 会对 ApplicationPreparedEvent 事件特殊处理,该事件的 Listener 会执行两次:

    @Override
    public void onApplicationEvent(ApplicationEvent input) {
        if (input instanceof ApplicationPreparedEvent) {
            this.event = (ApplicationPreparedEvent) input;
            if (this.context == null) {
                this.context = this.event.getApplicationContext();
            }
        }
        else if (input instanceof ContextRefreshedEvent) {
            if (this.context != null && input.getSource().equals(this.context)
                    && this.event != null) {
                this.context.publishEvent(this.event);
            }
        }
        else {
            if (this.context != null && input.getSource().equals(this.context)) {
                this.context = null;
                this.event = null;
            }
        }
    }

目前这个好像没有提供开关控制,下个版本中,我们会兼容该 Spring Cloud 兼容问题。