Springboot项目打包启动后报错org.springframework.beans.factory.UnsatisfiedDependencyException

2021/4/23 10:31:29

本文主要是介绍Springboot项目打包启动后报错org.springframework.beans.factory.UnsatisfiedDependencyException,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!


Springboot项目打包启动后报错org.springframework.beans.factory.UnsatisfiedDependencyException

    • 描述
    • Mac 电脑上idea启动日志
    • Mac 电脑上打包后命令启动日志


描述

项目pull下来后idea启动正常(macOS Big Sur),打包部署后启动一直失败,切换window10拉取项目启动正常,打包部署确正常启动。现在搞得部署项目得去window上打包部署,现在(mac)除了打包部署后启动失败 其它正常。
mvn clean install

Mac 电脑上idea启动日志

/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/bin/java -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:59933,suspend=y,server=n -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -javaagent:/Users/huanglefei/Library/Caches/IntelliJIdea2019.2/captureAgent/debugger-agent.jar -Dfile.encoding=UTF-8 -classpath "/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre/lib/ext/cldrdata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre/lib/ext/jaccess.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre/lib/ext/jfxrt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre/lib/ext/nashorn.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre/lib/ext/sunec.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre/lib/ext/zipfs.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre/lib/javaws.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre/lib/jfxswt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre/lib/management-agent.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre/lib/plugin.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/lib/ant-javafx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/lib/dt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/lib/javafx-mx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/lib/jconsole.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/lib/packager.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/lib/sa-jdi.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/lib/tools.jar:/Users/huanglefei/IT/company/zhice/git/wallet/trx-service/target/classes:/Users/huanglefei/IT/Java/maven/repository/com/sproutsocial/nsq-j/0.9.4/nsq-j-0.9.4.jar:/Users/huanglefei/IT/Java/maven/repository/org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30.jar:/Users/huanglefei/IT/Java/maven/repository/com/google/code/gson/gson/2.8.6/gson-2.8.6.jar:/Users/huanglefei/IT/Java/maven/repository/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.jar:/Users/huanglefei/IT/company/zhice/git/wallet/common/target/classes:/Users/huanglefei/IT/company/zhice/git/wallet/coin/target/classes:/Users/huanglefei/IT/Java/maven/repository/org/springframework/spring-beans/5.2.9.RELEASE/spring-beans-5.2.9.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/org/web3j/core/4.5.0/core-4.5.0.jar:/Users/huanglefei/IT/Java/maven/repository/org/web3j/abi/4.5.0/abi-4.5.0.jar:/Users/huanglefei/IT/Java/maven/repository/org/web3j/utils/4.5.0/utils-4.5.0.jar:/Users/huanglefei/IT/Java/maven/repository/org/web3j/crypto/4.5.0/crypto-4.5.0.jar:/Users/huanglefei/IT/Java/maven/repository/org/web3j/rlp/4.5.0/rlp-4.5.0.jar:/Users/huanglefei/IT/Java/maven/repository/org/web3j/tuples/4.5.0/tuples-4.5.0.jar:/Users/huanglefei/IT/Java/maven/repository/com/github/jnr/jnr-unixsocket/0.21/jnr-unixsocket-0.21.jar:/Users/huanglefei/IT/Java/maven/repository/com/github/jnr/jnr-ffi/2.1.9/jnr-ffi-2.1.9.jar:/Users/huanglefei/IT/Java/maven/repository/com/github/jnr/jffi/1.2.17/jffi-1.2.17.jar:/Users/huanglefei/IT/Java/maven/repository/com/github/jnr/jffi/1.2.16/jffi-1.2.16-native.jar:/Users/huanglefei/IT/Java/maven/repository/org/ow2/asm/asm-commons/5.0.3/asm-commons-5.0.3.jar:/Users/huanglefei/IT/Java/maven/repository/org/ow2/asm/asm-analysis/5.0.3/asm-analysis-5.0.3.jar:/Users/huanglefei/IT/Java/maven/repository/org/ow2/asm/asm-tree/5.0.3/asm-tree-5.0.3.jar:/Users/huanglefei/IT/Java/maven/repository/org/ow2/asm/asm-util/5.0.3/asm-util-5.0.3.jar:/Users/huanglefei/IT/Java/maven/repository/com/github/jnr/jnr-a64asm/1.0.0/jnr-a64asm-1.0.0.jar:/Users/huanglefei/IT/Java/maven/repository/com/github/jnr/jnr-x86asm/1.0.2/jnr-x86asm-1.0.2.jar:/Users/huanglefei/IT/Java/maven/repository/com/github/jnr/jnr-constants/0.9.11/jnr-constants-0.9.11.jar:/Users/huanglefei/IT/Java/maven/repository/com/github/jnr/jnr-enxio/0.19/jnr-enxio-0.19.jar:/Users/huanglefei/IT/Java/maven/repository/com/github/jnr/jnr-posix/3.0.47/jnr-posix-3.0.47.jar:/Users/huanglefei/IT/Java/maven/repository/com/squareup/okhttp3/okhttp/3.14.9/okhttp-3.14.9.jar:/Users/huanglefei/IT/Java/maven/repository/com/squareup/okio/okio/1.17.2/okio-1.17.2.jar:/Users/huanglefei/IT/Java/maven/repository/com/squareup/okhttp3/logging-interceptor/3.14.9/logging-interceptor-3.14.9.jar:/Users/huanglefei/IT/Java/maven/repository/io/reactivex/rxjava2/rxjava/2.2.19/rxjava-2.2.19.jar:/Users/huanglefei/IT/Java/maven/repository/org/java-websocket/Java-WebSocket/1.3.8/Java-WebSocket-1.3.8.jar:/Users/huanglefei/IT/Java/maven/repository/com/fasterxml/jackson/core/jackson-core/2.11.2/jackson-core-2.11.2.jar:/Users/huanglefei/IT/Java/maven/repository/com/fasterxml/jackson/core/jackson-databind/2.11.2/jackson-databind-2.11.2.jar:/Users/huanglefei/IT/Java/maven/repository/com/fasterxml/jackson/core/jackson-annotations/2.11.2/jackson-annotations-2.11.2.jar:/Users/huanglefei/IT/Java/maven/repository/com/fasterxml/jackson/module/jackson-module-jaxb-annotations/2.11.2/jackson-module-jaxb-annotations-2.11.2.jar:/Users/huanglefei/IT/Java/maven/repository/mysql/mysql-connector-java/8.0.21/mysql-connector-java-8.0.21.jar:/Users/huanglefei/IT/Java/maven/repository/org/mybatis/mybatis/3.5.1/mybatis-3.5.1.jar:/Users/huanglefei/IT/Java/maven/repository/tk/mybatis/mapper/4.1.5/mapper-4.1.5.jar:/Users/huanglefei/IT/Java/maven/repository/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar:/Users/huanglefei/IT/Java/maven/repository/commons-httpclient/commons-httpclient/3.0-rc4/commons-httpclient-3.0-rc4.jar:/Users/huanglefei/IT/Java/maven/repository/commons-codec/commons-codec/1.14/commons-codec-1.14.jar:/Users/huanglefei/IT/Java/maven/repository/org/apache/httpcomponents/httpclient/4.5.12/httpclient-4.5.12.jar:/Users/huanglefei/IT/Java/maven/repository/org/apache/httpcomponents/httpmime/4.5.12/httpmime-4.5.12.jar:/Users/huanglefei/IT/Java/maven/repository/org/apache/httpcomponents/httpcore/4.4.13/httpcore-4.4.13.jar:/Users/huanglefei/IT/Java/maven/repository/org/tron/wallet-1.0-SNAPSHOT/1.0/wallet-1.0-SNAPSHOT-1.0.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/boot/spring-boot-starter-web/2.3.4.RELEASE/spring-boot-starter-web-2.3.4.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/boot/spring-boot-starter/2.3.4.RELEASE/spring-boot-starter-2.3.4.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/boot/spring-boot/2.3.4.RELEASE/spring-boot-2.3.4.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/boot/spring-boot-autoconfigure/2.3.4.RELEASE/spring-boot-autoconfigure-2.3.4.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/jakarta/annotation/jakarta.annotation-api/1.3.5/jakarta.annotation-api-1.3.5.jar:/Users/huanglefei/IT/Java/maven/repository/org/yaml/snakeyaml/1.26/snakeyaml-1.26.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/boot/spring-boot-starter-json/2.3.4.RELEASE/spring-boot-starter-json-2.3.4.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.11.2/jackson-datatype-jdk8-2.11.2.jar:/Users/huanglefei/IT/Java/maven/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.11.2/jackson-datatype-jsr310-2.11.2.jar:/Users/huanglefei/IT/Java/maven/repository/com/fasterxml/jackson/module/jackson-module-parameter-names/2.11.2/jackson-module-parameter-names-2.11.2.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/boot/spring-boot-starter-tomcat/2.3.4.RELEASE/spring-boot-starter-tomcat-2.3.4.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/org/apache/tomcat/embed/tomcat-embed-core/9.0.38/tomcat-embed-core-9.0.38.jar:/Users/huanglefei/IT/Java/maven/repository/org/apache/tomcat/embed/tomcat-embed-websocket/9.0.38/tomcat-embed-websocket-9.0.38.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/spring-web/5.2.9.RELEASE/spring-web-5.2.9.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/spring-webmvc/5.2.9.RELEASE/spring-webmvc-5.2.9.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/spring-context/5.2.9.RELEASE/spring-context-5.2.9.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/spring-expression/5.2.9.RELEASE/spring-expression-5.2.9.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/boot/spring-boot-starter-log4j2/2.0.4.RELEASE/spring-boot-starter-log4j2-2.0.4.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/org/apache/logging/log4j/log4j-slf4j-impl/2.13.3/log4j-slf4j-impl-2.13.3.jar:/Users/huanglefei/IT/Java/maven/repository/org/apache/logging/log4j/log4j-api/2.13.3/log4j-api-2.13.3.jar:/Users/huanglefei/IT/Java/maven/repository/org/apache/logging/log4j/log4j-core/2.13.3/log4j-core-2.13.3.jar:/Users/huanglefei/IT/Java/maven/repository/org/apache/logging/log4j/log4j-jul/2.13.3/log4j-jul-2.13.3.jar:/Users/huanglefei/IT/Java/maven/repository/org/slf4j/jul-to-slf4j/1.7.30/jul-to-slf4j-1.7.30.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/boot/spring-boot-starter-validation/2.3.4.RELEASE/spring-boot-starter-validation-2.3.4.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/org/glassfish/jakarta.el/3.0.3/jakarta.el-3.0.3.jar:/Users/huanglefei/IT/Java/maven/repository/org/hibernate/validator/hibernate-validator/6.1.5.Final/hibernate-validator-6.1.5.Final.jar:/Users/huanglefei/IT/Java/maven/repository/jakarta/validation/jakarta.validation-api/2.0.2/jakarta.validation-api-2.0.2.jar:/Users/huanglefei/IT/Java/maven/repository/org/jboss/logging/jboss-logging/3.4.1.Final/jboss-logging-3.4.1.Final.jar:/Users/huanglefei/IT/Java/maven/repository/com/fasterxml/classmate/1.5.1/classmate-1.5.1.jar:/Users/huanglefei/IT/Java/maven/repository/org/apache/commons/commons-lang3/3.11/commons-lang3-3.11.jar:/Users/huanglefei/IT/Java/maven/repository/org/projectlombok/lombok/1.18.12/lombok-1.18.12.jar:/Users/huanglefei/IT/Java/maven/repository/org/mybatis/spring/boot/mybatis-spring-boot-starter/2.0.1/mybatis-spring-boot-starter-2.0.1.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/boot/spring-boot-starter-jdbc/2.3.4.RELEASE/spring-boot-starter-jdbc-2.3.4.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/com/zaxxer/HikariCP/3.4.5/HikariCP-3.4.5.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/spring-jdbc/5.2.9.RELEASE/spring-jdbc-5.2.9.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/org/mybatis/spring/boot/mybatis-spring-boot-autoconfigure/2.0.1/mybatis-spring-boot-autoconfigure-2.0.1.jar:/Users/huanglefei/IT/Java/maven/repository/org/mybatis/mybatis-spring/2.0.1/mybatis-spring-2.0.1.jar:/Users/huanglefei/IT/Java/maven/repository/com/alibaba/fastjson/1.2.58/fastjson-1.2.58.jar:/Users/huanglefei/IT/Java/maven/repository/org/ow2/asm/asm/5.0.4/asm-5.0.4.jar:/Users/huanglefei/IT/Java/maven/repository/jakarta/xml/bind/jakarta.xml.bind-api/2.3.3/jakarta.xml.bind-api-2.3.3.jar:/Users/huanglefei/IT/Java/maven/repository/jakarta/activation/jakarta.activation-api/1.2.2/jakarta.activation-api-1.2.2.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/spring-core/5.2.9.RELEASE/spring-core-5.2.9.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/spring-jcl/5.2.9.RELEASE/spring-jcl-5.2.9.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/commons-beanutils/commons-beanutils/1.9.3/commons-beanutils-1.9.3.jar:/Users/huanglefei/IT/Java/maven/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar:/Users/huanglefei/IT/Java/maven/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar:/Users/huanglefei/IT/Java/maven/repository/org/aspectj/aspectjrt/1.9.5/aspectjrt-1.9.5.jar:/Users/huanglefei/IT/Java/maven/repository/org/aspectj/aspectjweaver/1.9.5/aspectjweaver-1.9.5.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/boot/spring-boot-starter-data-redis/2.2.5.RELEASE/spring-boot-starter-data-redis-2.2.5.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/io/lettuce/lettuce-core/5.3.4.RELEASE/lettuce-core-5.3.4.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/io/netty/netty-common/4.1.52.Final/netty-common-4.1.52.Final.jar:/Users/huanglefei/IT/Java/maven/repository/io/netty/netty-handler/4.1.52.Final/netty-handler-4.1.52.Final.jar:/Users/huanglefei/IT/Java/maven/repository/io/netty/netty-resolver/4.1.52.Final/netty-resolver-4.1.52.Final.jar:/Users/huanglefei/IT/Java/maven/repository/io/netty/netty-buffer/4.1.52.Final/netty-buffer-4.1.52.Final.jar:/Users/huanglefei/IT/Java/maven/repository/io/netty/netty-codec/4.1.52.Final/netty-codec-4.1.52.Final.jar:/Users/huanglefei/IT/Java/maven/repository/io/netty/netty-transport/4.1.52.Final/netty-transport-4.1.52.Final.jar:/Users/huanglefei/IT/Java/maven/repository/io/projectreactor/reactor-core/3.3.10.RELEASE/reactor-core-3.3.10.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/org/reactivestreams/reactive-streams/1.0.3/reactive-streams-1.0.3.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/data/spring-data-redis/2.2.5.RELEASE/spring-data-redis-2.2.5.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/data/spring-data-keyvalue/2.3.4.RELEASE/spring-data-keyvalue-2.3.4.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/data/spring-data-commons/2.3.4.RELEASE/spring-data-commons-2.3.4.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/spring-tx/5.2.9.RELEASE/spring-tx-5.2.9.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/spring-oxm/5.2.9.RELEASE/spring-oxm-5.2.9.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/spring-aop/5.2.9.RELEASE/spring-aop-5.2.9.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/spring-context-support/5.2.9.RELEASE/spring-context-support-5.2.9.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/boot/spring-boot-starter-data-mongodb/2.3.4.RELEASE/spring-boot-starter-data-mongodb-2.3.4.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/org/mongodb/mongodb-driver-sync/4.0.5/mongodb-driver-sync-4.0.5.jar:/Users/huanglefei/IT/Java/maven/repository/org/mongodb/bson/4.0.5/bson-4.0.5.jar:/Users/huanglefei/IT/Java/maven/repository/org/mongodb/mongodb-driver-core/4.0.5/mongodb-driver-core-4.0.5.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/data/spring-data-mongodb/3.0.4.RELEASE/spring-data-mongodb-3.0.4.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/com/madgag/spongycastle/prov/1.58.0.0/prov-1.58.0.0.jar:/Users/huanglefei/IT/Java/maven/repository/com/madgag/spongycastle/core/1.58.0.0/core-1.58.0.0.jar:/Users/huanglefei/IT/Java/maven/repository/com/google/guava/guava/18.0/guava-18.0.jar:/Users/huanglefei/IT/Java/maven/repository/com/google/protobuf/protobuf-java/3.13.0/protobuf-java-3.13.0.jar:/Users/huanglefei/IT/Java/maven/repository/com/googlecode/protobuf-java-format/protobuf-java-format/1.2/protobuf-java-format-1.2.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/cloud/spring-cloud-starter-netflix-eureka-client/2.2.1.RELEASE/spring-cloud-starter-netflix-eureka-client-2.2.1.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/cloud/spring-cloud-starter/2.2.1.RELEASE/spring-cloud-starter-2.2.1.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/cloud/spring-cloud-context/2.2.1.RELEASE/spring-cloud-context-2.2.1.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/security/spring-security-rsa/1.0.9.RELEASE/spring-security-rsa-1.0.9.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/org/bouncycastle/bcpkix-jdk15on/1.64/bcpkix-jdk15on-1.64.jar:/Users/huanglefei/IT/Java/maven/repository/org/bouncycastle/bcprov-jdk15on/1.64/bcprov-jdk15on-1.64.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/cloud/spring-cloud-netflix-hystrix/2.2.1.RELEASE/spring-cloud-netflix-hystrix-2.2.1.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/boot/spring-boot-starter-aop/2.3.4.RELEASE/spring-boot-starter-aop-2.3.4.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/cloud/spring-cloud-netflix-eureka-client/2.2.1.RELEASE/spring-cloud-netflix-eureka-client-2.2.1.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/com/netflix/eureka/eureka-client/1.9.13/eureka-client-1.9.13.jar:/Users/huanglefei/IT/Java/maven/repository/org/codehaus/jettison/jettison/1.3.7/jettison-1.3.7.jar:/Users/huanglefei/IT/Java/maven/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar:/Users/huanglefei/IT/Java/maven/repository/com/netflix/netflix-commons/netflix-eventbus/0.3.0/netflix-eventbus-0.3.0.jar:/Users/huanglefei/IT/Java/maven/repository/com/netflix/netflix-commons/netflix-infix/0.3.0/netflix-infix-0.3.0.jar:/Users/huanglefei/IT/Java/maven/repository/commons-jxpath/commons-jxpath/1.3/commons-jxpath-1.3.jar:/Users/huanglefei/IT/Java/maven/repository/joda-time/joda-time/2.3/joda-time-2.3.jar:/Users/huanglefei/IT/Java/maven/repository/org/antlr/antlr-runtime/3.4/antlr-runtime-3.4.jar:/Users/huanglefei/IT/Java/maven/repository/org/antlr/stringtemplate/3.2.1/stringtemplate-3.2.1.jar:/Users/huanglefei/IT/Java/maven/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar:/Users/huanglefei/IT/Java/maven/repository/org/apache/commons/commons-math/2.2/commons-math-2.2.jar:/Users/huanglefei/IT/Java/maven/repository/com/netflix/archaius/archaius-core/0.7.6/archaius-core-0.7.6.jar:/Users/huanglefei/IT/Java/maven/repository/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1.jar:/Users/huanglefei/IT/Java/maven/repository/com/netflix/servo/servo-core/0.12.21/servo-core-0.12.21.jar:/Users/huanglefei/IT/Java/maven/repository/com/sun/jersey/jersey-core/1.19.1/jersey-core-1.19.1.jar:/Users/huanglefei/IT/Java/maven/repository/com/sun/jersey/jersey-client/1.19.1/jersey-client-1.19.1.jar:/Users/huanglefei/IT/Java/maven/repository/com/sun/jersey/contribs/jersey-apache-client4/1.19.1/jersey-apache-client4-1.19.1.jar:/Users/huanglefei/IT/Java/maven/repository/com/google/inject/guice/4.1.0/guice-4.1.0.jar:/Users/huanglefei/IT/Java/maven/repository/javax/inject/javax.inject/1/javax.inject-1.jar:/Users/huanglefei/IT/Java/maven/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/Users/huanglefei/IT/Java/maven/repository/com/netflix/eureka/eureka-core/1.9.13/eureka-core-1.9.13.jar:/Users/huanglefei/IT/Java/maven/repository/com/fasterxml/woodstox/woodstox-core/5.2.1/woodstox-core-5.2.1.jar:/Users/huanglefei/IT/Java/maven/repository/org/codehaus/woodstox/stax2-api/4.2/stax2-api-4.2.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/cloud/spring-cloud-starter-netflix-archaius/2.2.1.RELEASE/spring-cloud-starter-netflix-archaius-2.2.1.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/cloud/spring-cloud-netflix-ribbon/2.2.1.RELEASE/spring-cloud-netflix-ribbon-2.2.1.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/cloud/spring-cloud-netflix-archaius/2.2.1.RELEASE/spring-cloud-netflix-archaius-2.2.1.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/commons-configuration/commons-configuration/1.8/commons-configuration-1.8.jar:/Users/huanglefei/IT/Java/maven/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/cloud/spring-cloud-starter-netflix-ribbon/2.2.1.RELEASE/spring-cloud-starter-netflix-ribbon-2.2.1.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/com/netflix/ribbon/ribbon/2.3.0/ribbon-2.3.0.jar:/Users/huanglefei/IT/Java/maven/repository/com/netflix/ribbon/ribbon-transport/2.3.0/ribbon-transport-2.3.0.jar:/Users/huanglefei/IT/Java/maven/repository/io/reactivex/rxnetty-contexts/0.4.9/rxnetty-contexts-0.4.9.jar:/Users/huanglefei/IT/Java/maven/repository/io/reactivex/rxnetty-servo/0.4.9/rxnetty-servo-0.4.9.jar:/Users/huanglefei/IT/Java/maven/repository/io/reactivex/rxnetty/0.4.9/rxnetty-0.4.9.jar:/Users/huanglefei/IT/Java/maven/repository/com/netflix/ribbon/ribbon-core/2.3.0/ribbon-core-2.3.0.jar:/Users/huanglefei/IT/Java/maven/repository/com/netflix/ribbon/ribbon-httpclient/2.3.0/ribbon-httpclient-2.3.0.jar:/Users/huanglefei/IT/Java/maven/repository/com/netflix/netflix-commons/netflix-commons-util/0.3.0/netflix-commons-util-0.3.0.jar:/Users/huanglefei/IT/Java/maven/repository/com/netflix/ribbon/ribbon-loadbalancer/2.3.0/ribbon-loadbalancer-2.3.0.jar:/Users/huanglefei/IT/Java/maven/repository/com/netflix/netflix-commons/netflix-statistics/0.1.1/netflix-statistics-0.1.1.jar:/Users/huanglefei/IT/Java/maven/repository/io/reactivex/rxjava/1.3.8/rxjava-1.3.8.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/cloud/spring-cloud-starter-loadbalancer/2.2.1.RELEASE/spring-cloud-starter-loadbalancer-2.2.1.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/cloud/spring-cloud-loadbalancer/2.2.1.RELEASE/spring-cloud-loadbalancer-2.2.1.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/io/projectreactor/addons/reactor-extra/3.3.4.RELEASE/reactor-extra-3.3.4.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/boot/spring-boot-starter-cache/2.3.4.RELEASE/spring-boot-starter-cache-2.3.4.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/com/stoyanr/evictor/1.0.0/evictor-1.0.0.jar:/Users/huanglefei/IT/Java/maven/repository/com/netflix/ribbon/ribbon-eureka/2.3.0/ribbon-eureka-2.3.0.jar:/Users/huanglefei/IT/Java/maven/repository/com/thoughtworks/xstream/xstream/1.4.11.1/xstream-1.4.11.1.jar:/Users/huanglefei/IT/Java/maven/repository/xmlpull/xmlpull/1.1.3.1/xmlpull-1.1.3.1.jar:/Users/huanglefei/IT/Java/maven/repository/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/cloud/spring-cloud-starter-openfeign/2.2.1.RELEASE/spring-cloud-starter-openfeign-2.2.1.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/cloud/spring-cloud-openfeign-core/2.2.1.RELEASE/spring-cloud-openfeign-core-2.2.1.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/io/github/openfeign/form/feign-form-spring/3.8.0/feign-form-spring-3.8.0.jar:/Users/huanglefei/IT/Java/maven/repository/io/github/openfeign/form/feign-form/3.8.0/feign-form-3.8.0.jar:/Users/huanglefei/IT/Java/maven/repository/commons-fileupload/commons-fileupload/1.4/commons-fileupload-1.4.jar:/Users/huanglefei/IT/Java/maven/repository/commons-io/commons-io/2.2/commons-io-2.2.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/cloud/spring-cloud-commons/2.2.1.RELEASE/spring-cloud-commons-2.2.1.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/org/springframework/security/spring-security-crypto/5.3.4.RELEASE/spring-security-crypto-5.3.4.RELEASE.jar:/Users/huanglefei/IT/Java/maven/repository/io/github/openfeign/feign-core/10.4.0/feign-core-10.4.0.jar:/Users/huanglefei/IT/Java/maven/repository/io/github/openfeign/feign-slf4j/10.4.0/feign-slf4j-10.4.0.jar:/Users/huanglefei/IT/Java/maven/repository/io/github/openfeign/feign-hystrix/10.4.0/feign-hystrix-10.4.0.jar:/Users/huanglefei/IT/Java/maven/repository/com/netflix/hystrix/hystrix-core/1.5.18/hystrix-core-1.5.18.jar:/Users/huanglefei/IT/Java/maven/repository/org/hdrhistogram/HdrHistogram/2.1.9/HdrHistogram-2.1.9.jar:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar" com.zhice.service.TrxApplication
Connected to the target VM, address: '127.0.0.1:59933', transport: 'socket'

  .   ____          _            __ _ _ /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v2.3.4.RELEASE)2021-02-09 09:27:05.643  INFO 24810 --- [           main] c.z.s.TrxApplication                     : The following profiles are active: test2021-02-09 09:27:06.355  INFO 24810 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!2021-02-09 09:27:06.357  INFO 24810 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data MongoDB repositories in DEFAULT mode.2021-02-09 09:27:06.385  INFO 24810 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 22ms. Found 0 MongoDB repository interfaces.2021-02-09 09:27:06.414  INFO 24810 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!2021-02-09 09:27:06.415  INFO 24810 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode.2021-02-09 09:27:06.435  INFO 24810 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 9ms. Found 0 Redis repository interfaces.2021-02-09 09:27:06.697  INFO 24810 --- [           main] o.s.c.c.s.GenericScope                   : BeanFactory id=d5e313b0-85f8-3bbf-80f9-079fcafca2242021-02-09 09:27:06.721  INFO 24810 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'com.zhice.common.remote.ApiRemoteService' of type [org.springframework.cloud.openfeign.FeignClientFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)2021-02-09 09:27:06.722  INFO 24810 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'com.zhice.common.remote.BdhcRemoteService' of type [org.springframework.cloud.openfeign.FeignClientFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)2021-02-09 09:27:06.723  INFO 24810 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'com.zhice.common.remote.BtcRemoteService' of type [org.springframework.cloud.openfeign.FeignClientFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)2021-02-09 09:27:06.724  INFO 24810 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'com.zhice.common.remote.CycRemoteService' of type [org.springframework.cloud.openfeign.FeignClientFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)2021-02-09 09:27:06.725  INFO 24810 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'com.zhice.common.remote.DnpRemoteService' of type [org.springframework.cloud.openfeign.FeignClientFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)2021-02-09 09:27:06.726  INFO 24810 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'com.zhice.common.remote.EthRemoteService' of type [org.springframework.cloud.openfeign.FeignClientFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)2021-02-09 09:27:06.727  INFO 24810 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'com.zhice.common.remote.GdtRemoteService' of type [org.springframework.cloud.openfeign.FeignClientFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)2021-02-09 09:27:06.728  INFO 24810 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'com.zhice.common.remote.IgcRemoteService' of type [org.springframework.cloud.openfeign.FeignClientFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)2021-02-09 09:27:06.729  INFO 24810 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'com.zhice.common.remote.TrxRemoteService' of type [org.springframework.cloud.openfeign.FeignClientFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)2021-02-09 09:27:07.145  INFO 24810 --- [           main] o.s.b.w.e.t.TomcatWebServer              : Tomcat initialized with port(s): 4002 (http)2021-02-09 09:27:07.155  INFO 24810 --- [           main] o.a.c.c.StandardService                  : Starting service [Tomcat]2021-02-09 09:27:07.155  INFO 24810 --- [           main] o.a.c.c.StandardEngine                   : Starting Servlet engine: [Apache Tomcat/9.0.38]2021-02-09 09:27:07.242  INFO 24810 --- [           main] o.a.c.c.C.[.[.[/]                        : Initializing Spring embedded WebApplicationContext2021-02-09 09:27:07.242  INFO 24810 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1579 ms2021-02-09 09:27:08.526  INFO 24810 --- [           main] o.m.d.cluster                            : Cluster created with settings {hosts=[**.**.**.**:**], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms'}2021-02-09 09:27:08.623  INFO 24810 --- [9.167.138:27027] o.m.d.connection                         : Opened connection [connectionId{localValue:1, serverValue:4463}] to **.**.**.**:**2021-02-09 09:27:08.633  INFO 24810 --- [9.167.138:27027] o.m.d.cluster                            : Monitor thread successfully connected to server with description ServerDescription{address=**.**.**.**:**, type=STANDALONE, state=CONNECTED, ok=true, minWireVersion=0, maxWireVersion=8, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=8513682}2021-02-09 09:27:08.650  WARN 24810 --- [           main] o.s.d.c.CustomConversions                : Registering converter from class java.time.LocalDateTime to class org.joda.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type! You might want to check your annotation setup at the converter implementation.2021-02-09 09:27:08.673  WARN 24810 --- [           main] o.s.d.c.CustomConversions                : Registering converter from class java.time.LocalDateTime to class org.joda.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type! You might want to check your annotation setup at the converter implementation.2021-02-09 09:27:09.070  WARN 24810 --- [           main] c.n.c.s.URLConfigurationSource           : No URLs will be polled as dynamic configuration sources.2021-02-09 09:27:09.070  INFO 24810 --- [           main] c.n.c.s.URLConfigurationSource           : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.2021-02-09 09:27:09.075  WARN 24810 --- [           main] c.n.c.s.URLConfigurationSource           : No URLs will be polled as dynamic configuration sources.2021-02-09 09:27:09.075  INFO 24810 --- [           main] c.n.c.s.URLConfigurationSource           : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.2021-02-09 09:27:09.604  WARN 24810 --- [           main] ockingLoadBalancerClientRibbonWarnLogger : You already have RibbonLoadBalancerClient on your classpath. It will be used by default. As Spring Cloud Ribbon is in maintenance mode. We recommend switching to BlockingLoadBalancerClient instead. In order to use it, set the value of `spring.cloud.loadbalancer.ribbon.enabled` to `false` or remove spring-cloud-starter-netflix-ribbon from your project.2021-02-09 09:27:09.758  INFO 24810 --- [           main] o.s.c.n.e.InstanceInfoFactory            : Setting initial instance status as: STARTING2021-02-09 09:27:09.804  INFO 24810 --- [           main] c.n.d.DiscoveryClient                    : Initializing Eureka in region us-east-12021-02-09 09:27:09.968  INFO 24810 --- [           main] c.n.d.p.DiscoveryJerseyProvider          : Using JSON encoding codec LegacyJacksonJson2021-02-09 09:27:09.969  INFO 24810 --- [           main] c.n.d.p.DiscoveryJerseyProvider          : Using JSON decoding codec LegacyJacksonJson2021-02-09 09:27:10.107  INFO 24810 --- [           main] c.n.d.p.DiscoveryJerseyProvider          : Using XML encoding codec XStreamXml2021-02-09 09:27:10.107  INFO 24810 --- [           main] c.n.d.p.DiscoveryJerseyProvider          : Using XML decoding codec XStreamXml2021-02-09 09:27:10.554  INFO 24810 --- [           main] c.n.d.s.r.a.ConfigClusterResolver        : Resolving eureka endpoints via configuration2021-02-09 09:27:10.573  INFO 24810 --- [           main] c.n.d.DiscoveryClient                    : Disable delta property : false2021-02-09 09:27:10.573  INFO 24810 --- [           main] c.n.d.DiscoveryClient                    : Single vip registry refresh property : null2021-02-09 09:27:10.573  INFO 24810 --- [           main] c.n.d.DiscoveryClient                    : Force full registry fetch : false2021-02-09 09:27:10.573  INFO 24810 --- [           main] c.n.d.DiscoveryClient                    : Application is null : false2021-02-09 09:27:10.573  INFO 24810 --- [           main] c.n.d.DiscoveryClient                    : Registered Applications size is zero : true2021-02-09 09:27:10.573  INFO 24810 --- [           main] c.n.d.DiscoveryClient                    : Application version is -1: true2021-02-09 09:27:10.574  INFO 24810 --- [           main] c.n.d.DiscoveryClient                    : Getting all instance registry info from the eureka server2021-02-09 09:27:10.988  INFO 24810 --- [           main] c.n.d.DiscoveryClient                    : The response status is 2002021-02-09 09:27:10.990  INFO 24810 --- [           main] c.n.d.DiscoveryClient                    : Starting heartbeat executor: renew interval is: 302021-02-09 09:27:10.993  INFO 24810 --- [           main] c.n.d.InstanceInfoReplicator             : InstanceInfoReplicator onDemand update allowed rate per min is 42021-02-09 09:27:10.996  INFO 24810 --- [           main] c.n.d.DiscoveryClient                    : Discovery Client initialized at timestamp 1612834030995 with initial instances count: 02021-02-09 09:27:10.998  INFO 24810 --- [           main] o.s.c.n.e.s.EurekaServiceRegistry        : Registering application TRX-SERVICE with eureka with status UP2021-02-09 09:27:10.999  INFO 24810 --- [           main] c.n.d.DiscoveryClient                    : Saw local status change event StatusChangeEvent [timestamp=1612834030999, current=UP, previous=STARTING]2021-02-09 09:27:11.001  INFO 24810 --- [nfoReplicator-0] c.n.d.DiscoveryClient                    : DiscoveryClient_TRX-SERVICE/192.168.1.40:trx-service:4002: registering service...2021-02-09 09:27:11.043  INFO 24810 --- [           main] o.s.b.w.e.t.TomcatWebServer              : Tomcat started on port(s): 4002 (http) with context path ''2021-02-09 09:27:11.044  INFO 24810 --- [           main] .s.c.n.e.s.EurekaAutoServiceRegistration : Updating port to 40022021-02-09 09:27:11.059  INFO 24810 --- [pool-3-thread-1] c.z.s.t.ConfigTask                       : 拉取配置信息:pool-3-thread-12021-02-09 09:27:11.063  INFO 24810 --- [           main] c.z.s.TrxApplication                     : Started

Mac 电脑上打包后命令启动日志

  .   ____          _            __ _ _ /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v2.3.4.RELEASE)2021-02-09 09:19:49.639  INFO 24669 --- [           main] c.z.s.TrxApplication                     : The following profiles are active: test2021-02-09 09:19:50.609  INFO 24669 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!2021-02-09 09:19:50.610  INFO 24669 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data MongoDB repositories in DEFAULT mode.2021-02-09 09:19:50.636  INFO 24669 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20ms. Found 0 MongoDB repository interfaces.2021-02-09 09:19:50.658  INFO 24669 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!2021-02-09 09:19:50.660  INFO 24669 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode.2021-02-09 09:19:50.679  INFO 24669 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 8ms. Found 0 Redis repository interfaces.2021-02-09 09:19:51.180  INFO 24669 --- [           main] o.s.c.c.s.GenericScope                   : BeanFactory id=35fa449b-2c1e-3dda-aec3-d7a2da4ef4d92021-02-09 09:19:51.223  INFO 24669 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'com.zhice.common.remote.EthRemoteService' of type [org.springframework.cloud.openfeign.FeignClientFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)2021-02-09 09:19:51.224  INFO 24669 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'com.zhice.common.remote.BdhcRemoteService' of type [org.springframework.cloud.openfeign.FeignClientFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)2021-02-09 09:19:51.225  INFO 24669 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'com.zhice.common.remote.BtcRemoteService' of type [org.springframework.cloud.openfeign.FeignClientFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)2021-02-09 09:19:51.226  INFO 24669 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'com.zhice.common.remote.GdtRemoteService' of type [org.springframework.cloud.openfeign.FeignClientFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)2021-02-09 09:19:51.226  INFO 24669 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'com.zhice.common.remote.DnpRemoteService' of type [org.springframework.cloud.openfeign.FeignClientFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)2021-02-09 09:19:51.227  INFO 24669 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'com.zhice.common.remote.CycRemoteService' of type [org.springframework.cloud.openfeign.FeignClientFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)2021-02-09 09:19:51.228  INFO 24669 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'com.zhice.common.remote.ApiRemoteService' of type [org.springframework.cloud.openfeign.FeignClientFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)2021-02-09 09:19:51.229  INFO 24669 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'com.zhice.common.remote.TrxRemoteService' of type [org.springframework.cloud.openfeign.FeignClientFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)2021-02-09 09:19:51.229  INFO 24669 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'com.zhice.common.remote.IgcRemoteService' of type [org.springframework.cloud.openfeign.FeignClientFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)2021-02-09 09:19:51.880  INFO 24669 --- [           main] o.s.b.w.e.t.TomcatWebServer              : Tomcat initialized with port(s): 4002 (http)2021-02-09 09:19:51.893  INFO 24669 --- [           main] o.a.c.c.StandardService                  : Starting service [Tomcat]2021-02-09 09:19:51.893  INFO 24669 --- [           main] o.a.c.c.StandardEngine                   : Starting Servlet engine: [Apache Tomcat/9.0.38]2021-02-09 09:19:51.977  INFO 24669 --- [           main] o.a.c.c.C.[.[.[/]                        : Initializing Spring embedded WebApplicationContext2021-02-09 09:19:51.978  INFO 24669 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 2307 ms2021-02-09 09:19:53.422  WARN 24669 --- [           main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'trxManager': Unsatisfied dependency expressed through field 'trxService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'trxServiceImpl': Unsatisfied dependency expressed through field 'mongoUtils'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'mongoUtils': Unsatisfied dependency expressed through field 'mongoTemplate'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'mongoTemplate' defined in class path resource [com/zhice/service/configs/MongoConfig.class]: Unsatisfied dependency expressed through method 'mongoTemplate' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mongoDbFactory' defined in class path resource [com/zhice/service/configs/MongoConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.mongodb.MongoDatabaseFactory]: Factory method 'mongoDbFactory' threw exception; nested exception is java.lang.NullPointerException2021-02-09 09:19:53.440  INFO 24669 --- [           main] o.a.c.c.StandardService                  : Stopping service [Tomcat]2021-02-09 09:19:53.456  INFO 24669 --- [           main] ConditionEvaluationReportLoggingListener : Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.2021-02-09 09:19:53.458 ERROR 24669 --- [           main] o.s.b.SpringApplication                  : Application run failed

报错具体找日志定位没有加载到yml中的配置,连接mongo空指针,现在不知道为啥会有这个问题。



这篇关于Springboot项目打包启动后报错org.springframework.beans.factory.UnsatisfiedDependencyException的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程