启动blade-auth时报错

Blade 2 2366
九霄云外
九霄云外 2019-09-23 13:16

一、该问题的重现步骤是什么?

  1. 修改了BladeUserEnum和BladeUserDetailsServiceImpl

二、你期待的结果是什么?实际看到的又是什么?

1、目的是打算为商城会员提供登录服务

2、结果重新启动blade-auth时报错“Caused by: java.lang.ClassNotFoundException: org.springblade.core.secure.exception.SecureException”

3、然后就在POM中增加了如下配置

    org.springblade
    blade-core-secure
    ${bladex.project.version}

4、结果启动blade-auth成功,但是在saber登录时,会显示basic的登录框

5、结果就不知道为什么了,求帮忙


三、你正在使用的是什么产品,什么版本?在什么操作系统上?


macOS Mojava 10.14.6

IDEA 2019


四、请提供详细的错误堆栈信息,这很重要。

/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/bin/java -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:59189,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/lovefawn/Library/Caches/IntelliJIdea2019.2/captureAgent/debugger-agent.jar -Dfile.encoding=UTF-8 -classpath "/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/cldrdata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/jaccess.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/jfxrt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/nashorn.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/sunec.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/zipfs.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/javaws.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/jfxswt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/management-agent.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/plugin.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/lib/ant-javafx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/lib/dt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/lib/javafx-mx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/lib/jconsole.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/lib/packager.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/lib/sa-jdi.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/lib/tools.jar:/Users/lovefawn/Dev/bladex/BladeX/blade-auth/target/classes:/Users/lovefawn/Dev/bladex/BladeX/blade-common/target/classes:/Users/lovefawn/.m2/repository/org/springblade/blade-core-launch/2.0.7.RELEASE/blade-core-launch-2.0.7.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/boot/spring-boot-starter-web/2.1.7.RELEASE/spring-boot-starter-web-2.1.7.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/boot/spring-boot-starter-json/2.1.7.RELEASE/spring-boot-starter-json-2.1.7.RELEASE.jar:/Users/lovefawn/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.9.9/jackson-datatype-jdk8-2.9.9.jar:/Users/lovefawn/.m2/repository/com/fasterxml/jackson/module/jackson-module-parameter-names/2.9.9/jackson-module-parameter-names-2.9.9.jar:/Users/lovefawn/.m2/repository/org/hibernate/validator/hibernate-validator/6.0.17.Final/hibernate-validator-6.0.17.Final.jar:/Users/lovefawn/.m2/repository/javax/validation/validation-api/2.0.1.Final/validation-api-2.0.1.Final.jar:/Users/lovefawn/.m2/repository/org/jboss/logging/jboss-logging/3.3.2.Final/jboss-logging-3.3.2.Final.jar:/Users/lovefawn/.m2/repository/org/springframework/boot/spring-boot-starter-undertow/2.1.7.RELEASE/spring-boot-starter-undertow-2.1.7.RELEASE.jar:/Users/lovefawn/.m2/repository/io/undertow/undertow-core/2.0.23.Final/undertow-core-2.0.23.Final.jar:/Users/lovefawn/.m2/repository/org/jboss/xnio/xnio-api/3.3.8.Final/xnio-api-3.3.8.Final.jar:/Users/lovefawn/.m2/repository/org/jboss/xnio/xnio-nio/3.3.8.Final/xnio-nio-3.3.8.Final.jar:/Users/lovefawn/.m2/repository/io/undertow/undertow-servlet/2.0.23.Final/undertow-servlet-2.0.23.Final.jar:/Users/lovefawn/.m2/repository/org/jboss/spec/javax/annotation/jboss-annotations-api_1.2_spec/1.0.2.Final/jboss-annotations-api_1.2_spec-1.0.2.Final.jar:/Users/lovefawn/.m2/repository/io/undertow/undertow-websockets-jsr/2.0.23.Final/undertow-websockets-jsr-2.0.23.Final.jar:/Users/lovefawn/.m2/repository/org/jboss/spec/javax/websocket/jboss-websocket-api_1.1_spec/1.1.4.Final/jboss-websocket-api_1.1_spec-1.1.4.Final.jar:/Users/lovefawn/.m2/repository/javax/servlet/javax.servlet-api/4.0.1/javax.servlet-api-4.0.1.jar:/Users/lovefawn/.m2/repository/org/glassfish/javax.el/3.0.0/javax.el-3.0.0.jar:/Users/lovefawn/.m2/repository/org/springblade/blade-core-cloud/2.0.7.RELEASE/blade-core-cloud-2.0.7.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/retry/spring-retry/1.2.4.RELEASE/spring-retry-1.2.4.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/cloud/spring-cloud-stream/2.1.3.RELEASE/spring-cloud-stream-2.1.3.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/boot/spring-boot-starter-validation/2.1.7.RELEASE/spring-boot-starter-validation-2.1.7.RELEASE.jar:/Users/lovefawn/.m2/repository/org/apache/tomcat/embed/tomcat-embed-el/9.0.22/tomcat-embed-el-9.0.22.jar:/Users/lovefawn/.m2/repository/org/springframework/spring-messaging/5.1.9.RELEASE/spring-messaging-5.1.9.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/integration/spring-integration-core/5.1.7.RELEASE/spring-integration-core-5.1.7.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/integration/spring-integration-jmx/5.1.7.RELEASE/spring-integration-jmx-5.1.7.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/spring-tuple/1.0.0.RELEASE/spring-tuple-1.0.0.RELEASE.jar:/Users/lovefawn/.m2/repository/com/esotericsoftware/kryo-shaded/3.0.3/kryo-shaded-3.0.3.jar:/Users/lovefawn/.m2/repository/com/esotericsoftware/minlog/1.3.0/minlog-1.3.0.jar:/Users/lovefawn/.m2/repository/org/objenesis/objenesis/2.6/objenesis-2.6.jar:/Users/lovefawn/.m2/repository/org/springframework/integration/spring-integration-tuple/1.0.0.RELEASE/spring-integration-tuple-1.0.0.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/cloud/spring-cloud-function-context/2.0.2.RELEASE/spring-cloud-function-context-2.0.2.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/cloud/spring-cloud-function-core/2.0.2.RELEASE/spring-cloud-function-core-2.0.2.RELEASE.jar:/Users/lovefawn/.m2/repository/io/github/openfeign/feign-okhttp/10.2.3/feign-okhttp-10.2.3.jar:/Users/lovefawn/.m2/repository/io/github/openfeign/feign-core/10.2.3/feign-core-10.2.3.jar:/Users/lovefawn/.m2/repository/com/squareup/okhttp3/okhttp/3.8.1/okhttp-3.8.1.jar:/Users/lovefawn/.m2/repository/com/squareup/okio/okio/1.13.0/okio-1.13.0.jar:/Users/lovefawn/.m2/repository/org/springframework/cloud/spring-cloud-starter-openfeign/2.1.2.RELEASE/spring-cloud-starter-openfeign-2.1.2.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/cloud/spring-cloud-openfeign-core/2.1.2.RELEASE/spring-cloud-openfeign-core-2.1.2.RELEASE.jar:/Users/lovefawn/.m2/repository/io/github/openfeign/form/feign-form-spring/3.8.0/feign-form-spring-3.8.0.jar:/Users/lovefawn/.m2/repository/io/github/openfeign/form/feign-form/3.8.0/feign-form-3.8.0.jar:/Users/lovefawn/.m2/repository/commons-fileupload/commons-fileupload/1.3.3/commons-fileupload-1.3.3.jar:/Users/lovefawn/.m2/repository/commons-io/commons-io/2.6/commons-io-2.6.jar:/Users/lovefawn/.m2/repository/org/springframework/spring-web/5.1.9.RELEASE/spring-web-5.1.9.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/cloud/spring-cloud-commons/2.1.2.RELEASE/spring-cloud-commons-2.1.2.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/security/spring-security-crypto/5.1.6.RELEASE/spring-security-crypto-5.1.6.RELEASE.jar:/Users/lovefawn/.m2/repository/io/github/openfeign/feign-slf4j/10.2.3/feign-slf4j-10.2.3.jar:/Users/lovefawn/.m2/repository/io/github/openfeign/feign-hystrix/10.2.3/feign-hystrix-10.2.3.jar:/Users/lovefawn/.m2/repository/com/netflix/archaius/archaius-core/0.7.6/archaius-core-0.7.6.jar:/Users/lovefawn/.m2/repository/org/springframework/cloud/spring-cloud-starter-netflix-hystrix/2.1.2.RELEASE/spring-cloud-starter-netflix-hystrix-2.1.2.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/cloud/spring-cloud-netflix-hystrix/2.1.2.RELEASE/spring-cloud-netflix-hystrix-2.1.2.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/cloud/spring-cloud-netflix-ribbon/2.1.2.RELEASE/spring-cloud-netflix-ribbon-2.1.2.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/cloud/spring-cloud-netflix-archaius/2.1.2.RELEASE/spring-cloud-netflix-archaius-2.1.2.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/cloud/spring-cloud-starter-netflix-archaius/2.1.2.RELEASE/spring-cloud-starter-netflix-archaius-2.1.2.RELEASE.jar:/Users/lovefawn/.m2/repository/commons-configuration/commons-configuration/1.8/commons-configuration-1.8.jar:/Users/lovefawn/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar:/Users/lovefawn/.m2/repository/com/netflix/hystrix/hystrix-core/1.5.18/hystrix-core-1.5.18.jar:/Users/lovefawn/.m2/repository/io/reactivex/rxjava/1.3.8/rxjava-1.3.8.jar:/Users/lovefawn/.m2/repository/org/hdrhistogram/HdrHistogram/2.1.9/HdrHistogram-2.1.9.jar:/Users/lovefawn/.m2/repository/com/netflix/hystrix/hystrix-serialization/1.5.18/hystrix-serialization-1.5.18.jar:/Users/lovefawn/.m2/repository/com/fasterxml/jackson/module/jackson-module-afterburner/2.9.9/jackson-module-afterburner-2.9.9.jar:/Users/lovefawn/.m2/repository/com/netflix/hystrix/hystrix-metrics-event-stream/1.5.18/hystrix-metrics-event-stream-1.5.18.jar:/Users/lovefawn/.m2/repository/com/netflix/hystrix/hystrix-javanica/1.5.18/hystrix-javanica-1.5.18.jar:/Users/lovefawn/.m2/repository/org/apache/commons/commons-lang3/3.8.1/commons-lang3-3.8.1.jar:/Users/lovefawn/.m2/repository/org/ow2/asm/asm/5.0.4/asm-5.0.4.jar:/Users/lovefawn/.m2/repository/io/reactivex/rxjava-reactive-streams/1.2.1/rxjava-reactive-streams-1.2.1.jar:/Users/lovefawn/.m2/repository/org/reactivestreams/reactive-streams/1.0.2/reactive-streams-1.0.2.jar:/Users/lovefawn/.m2/repository/org/springframework/boot/spring-boot-starter-actuator/2.1.7.RELEASE/spring-boot-starter-actuator-2.1.7.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/boot/spring-boot-actuator-autoconfigure/2.1.7.RELEASE/spring-boot-actuator-autoconfigure-2.1.7.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/boot/spring-boot-actuator/2.1.7.RELEASE/spring-boot-actuator-2.1.7.RELEASE.jar:/Users/lovefawn/.m2/repository/io/micrometer/micrometer-core/1.1.5/micrometer-core-1.1.5.jar:/Users/lovefawn/.m2/repository/org/latencyutils/LatencyUtils/2.0.3/LatencyUtils-2.0.3.jar:/Users/lovefawn/.m2/repository/de/codecentric/spring-boot-admin-starter-client/2.1.5/spring-boot-admin-starter-client-2.1.5.jar:/Users/lovefawn/.m2/repository/de/codecentric/spring-boot-admin-client/2.1.5/spring-boot-admin-client-2.1.5.jar:/Users/lovefawn/.m2/repository/org/jolokia/jolokia-core/1.6.2/jolokia-core-1.6.2.jar:/Users/lovefawn/.m2/repository/com/googlecode/json-simple/json-simple/1.1.1/json-simple-1.1.1.jar:/Users/lovefawn/.m2/repository/com/alibaba/cloud/spring-cloud-starter-alibaba-nacos-discovery/2.1.0.RELEASE/spring-cloud-starter-alibaba-nacos-discovery-2.1.0.RELEASE.jar:/Users/lovefawn/.m2/repository/com/alibaba/cloud/spring-cloud-alibaba-nacos-discovery/2.1.0.RELEASE/spring-cloud-alibaba-nacos-discovery-2.1.0.RELEASE.jar:/Users/lovefawn/.m2/repository/com/alibaba/nacos/nacos-client/1.1.1/nacos-client-1.1.1.jar:/Users/lovefawn/.m2/repository/com/alibaba/nacos/nacos-common/1.1.1/nacos-common-1.1.1.jar:/Users/lovefawn/.m2/repository/com/alibaba/nacos/nacos-api/1.1.1/nacos-api-1.1.1.jar:/Users/lovefawn/.m2/repository/com/alibaba/fastjson/1.2.47/fastjson-1.2.47.jar:/Users/lovefawn/.m2/repository/io/prometheus/simpleclient/0.5.0/simpleclient-0.5.0.jar:/Users/lovefawn/.m2/repository/org/springframework/cloud/spring-cloud-starter-netflix-ribbon/2.1.2.RELEASE/spring-cloud-starter-netflix-ribbon-2.1.2.RELEASE.jar:/Users/lovefawn/.m2/repository/com/netflix/ribbon/ribbon/2.3.0/ribbon-2.3.0.jar:/Users/lovefawn/.m2/repository/com/netflix/ribbon/ribbon-transport/2.3.0/ribbon-transport-2.3.0.jar:/Users/lovefawn/.m2/repository/io/reactivex/rxnetty-contexts/0.4.9/rxnetty-contexts-0.4.9.jar:/Users/lovefawn/.m2/repository/io/reactivex/rxnetty-servo/0.4.9/rxnetty-servo-0.4.9.jar:/Users/lovefawn/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar:/Users/lovefawn/.m2/repository/io/reactivex/rxnetty/0.4.9/rxnetty-0.4.9.jar:/Users/lovefawn/.m2/repository/com/netflix/ribbon/ribbon-core/2.3.0/ribbon-core-2.3.0.jar:/Users/lovefawn/.m2/repository/com/netflix/ribbon/ribbon-httpclient/2.3.0/ribbon-httpclient-2.3.0.jar:/Users/lovefawn/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar:/Users/lovefawn/.m2/repository/org/apache/httpcomponents/httpclient/4.5.9/httpclient-4.5.9.jar:/Users/lovefawn/.m2/repository/org/apache/httpcomponents/httpcore/4.4.11/httpcore-4.4.11.jar:/Users/lovefawn/.m2/repository/com/sun/jersey/jersey-client/1.19.1/jersey-client-1.19.1.jar:/Users/lovefawn/.m2/repository/com/sun/jersey/jersey-core/1.19.1/jersey-core-1.19.1.jar:/Users/lovefawn/.m2/repository/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1.jar:/Users/lovefawn/.m2/repository/com/sun/jersey/contribs/jersey-apache-client4/1.19.1/jersey-apache-client4-1.19.1.jar:/Users/lovefawn/.m2/repository/com/netflix/servo/servo-core/0.12.21/servo-core-0.12.21.jar:/Users/lovefawn/.m2/repository/com/netflix/netflix-commons/netflix-commons-util/0.3.0/netflix-commons-util-0.3.0.jar:/Users/lovefawn/.m2/repository/com/netflix/ribbon/ribbon-loadbalancer/2.3.0/ribbon-loadbalancer-2.3.0.jar:/Users/lovefawn/.m2/repository/com/netflix/netflix-commons/netflix-statistics/0.1.1/netflix-statistics-0.1.1.jar:/Users/lovefawn/.m2/repository/com/alibaba/cloud/spring-cloud-starter-alibaba-nacos-config/2.1.0.RELEASE/spring-cloud-starter-alibaba-nacos-config-2.1.0.RELEASE.jar:/Users/lovefawn/.m2/repository/com/alibaba/cloud/spring-cloud-alibaba-nacos-config/2.1.0.RELEASE/spring-cloud-alibaba-nacos-config-2.1.0.RELEASE.jar:/Users/lovefawn/.m2/repository/com/alibaba/cloud/spring-cloud-starter-alibaba-sentinel/2.1.0.RELEASE/spring-cloud-starter-alibaba-sentinel-2.1.0.RELEASE.jar:/Users/lovefawn/.m2/repository/com/alibaba/cloud/spring-cloud-alibaba-sentinel/2.1.0.RELEASE/spring-cloud-alibaba-sentinel-2.1.0.RELEASE.jar:/Users/lovefawn/.m2/repository/com/alibaba/csp/sentinel-transport-simple-http/1.6.3/sentinel-transport-simple-http-1.6.3.jar:/Users/lovefawn/.m2/repository/com/alibaba/csp/sentinel-transport-common/1.6.3/sentinel-transport-common-1.6.3.jar:/Users/lovefawn/.m2/repository/com/alibaba/csp/sentinel-datasource-extension/1.6.3/sentinel-datasource-extension-1.6.3.jar:/Users/lovefawn/.m2/repository/com/alibaba/csp/sentinel-annotation-aspectj/1.6.3/sentinel-annotation-aspectj-1.6.3.jar:/Users/lovefawn/.m2/repository/com/alibaba/csp/sentinel-core/1.6.3/sentinel-core-1.6.3.jar:/Users/lovefawn/.m2/repository/org/aspectj/aspectjrt/1.9.4/aspectjrt-1.9.4.jar:/Users/lovefawn/.m2/repository/com/alibaba/csp/sentinel-web-servlet/1.6.3/sentinel-web-servlet-1.6.3.jar:/Users/lovefawn/.m2/repository/com/alibaba/csp/sentinel-spring-webflux-adapter/1.6.3/sentinel-spring-webflux-adapter-1.6.3.jar:/Users/lovefawn/.m2/repository/com/alibaba/csp/sentinel-reactor-adapter/1.6.3/sentinel-reactor-adapter-1.6.3.jar:/Users/lovefawn/.m2/repository/com/alibaba/csp/sentinel-parameter-flow-control/1.6.3/sentinel-parameter-flow-control-1.6.3.jar:/Users/lovefawn/.m2/repository/com/googlecode/concurrentlinkedhashmap/concurrentlinkedhashmap-lru/1.4.2/concurrentlinkedhashmap-lru-1.4.2.jar:/Users/lovefawn/.m2/repository/com/alibaba/csp/sentinel-cluster-server-default/1.6.3/sentinel-cluster-server-default-1.6.3.jar:/Users/lovefawn/.m2/repository/com/alibaba/csp/sentinel-cluster-common-default/1.6.3/sentinel-cluster-common-default-1.6.3.jar:/Users/lovefawn/.m2/repository/com/alibaba/csp/sentinel-cluster-client-default/1.6.3/sentinel-cluster-client-default-1.6.3.jar:/Users/lovefawn/.m2/repository/com/alibaba/cloud/spring-cloud-alibaba-sentinel-datasource/2.1.0.RELEASE/spring-cloud-alibaba-sentinel-datasource-2.1.0.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/boot/spring-boot-starter-aop/2.1.7.RELEASE/spring-boot-starter-aop-2.1.7.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/spring-aop/5.1.9.RELEASE/spring-aop-5.1.9.RELEASE.jar:/Users/lovefawn/.m2/repository/org/aspectj/aspectjweaver/1.9.4/aspectjweaver-1.9.4.jar:/Users/lovefawn/Dev/bladex/BladeX/blade-service-api/blade-user-api/target/classes:/Users/lovefawn/.m2/repository/org/springblade/blade-starter-cache/2.0.7.RELEASE/blade-starter-cache-2.0.7.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/boot/spring-boot-starter-cache/2.1.7.RELEASE/spring-boot-starter-cache-2.1.7.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springblade/blade-starter-mybatis/2.0.7.RELEASE/blade-starter-mybatis-2.0.7.RELEASE.jar:/Users/lovefawn/.m2/repository/com/baomidou/mybatis-plus/3.1.2/mybatis-plus-3.1.2.jar:/Users/lovefawn/.m2/repository/com/baomidou/mybatis-plus-extension/3.1.2/mybatis-plus-extension-3.1.2.jar:/Users/lovefawn/.m2/repository/com/baomidou/mybatis-plus-core/3.1.2/mybatis-plus-core-3.1.2.jar:/Users/lovefawn/.m2/repository/com/baomidou/mybatis-plus-annotation/3.1.2/mybatis-plus-annotation-3.1.2.jar:/Users/lovefawn/.m2/repository/com/github/jsqlparser/jsqlparser/1.2/jsqlparser-1.2.jar:/Users/lovefawn/.m2/repository/org/mybatis/mybatis-spring/2.0.1/mybatis-spring-2.0.1.jar:/Users/lovefawn/.m2/repository/org/mybatis/mybatis/3.5.1/mybatis-3.5.1.jar:/Users/lovefawn/.m2/repository/org/springblade/blade-starter-tenant/2.0.7.RELEASE/blade-starter-tenant-2.0.7.RELEASE.jar:/Users/lovefawn/.m2/repository/io/springfox/springfox-swagger2/2.9.2/springfox-swagger2-2.9.2.jar:/Users/lovefawn/.m2/repository/io/swagger/swagger-annotations/1.5.20/swagger-annotations-1.5.20.jar:/Users/lovefawn/.m2/repository/io/springfox/springfox-spi/2.9.2/springfox-spi-2.9.2.jar:/Users/lovefawn/.m2/repository/io/springfox/springfox-core/2.9.2/springfox-core-2.9.2.jar:/Users/lovefawn/.m2/repository/net/bytebuddy/byte-buddy/1.9.16/byte-buddy-1.9.16.jar:/Users/lovefawn/.m2/repository/io/springfox/springfox-schema/2.9.2/springfox-schema-2.9.2.jar:/Users/lovefawn/.m2/repository/io/springfox/springfox-swagger-common/2.9.2/springfox-swagger-common-2.9.2.jar:/Users/lovefawn/.m2/repository/io/springfox/springfox-spring-web/2.9.2/springfox-spring-web-2.9.2.jar:/Users/lovefawn/.m2/repository/com/google/guava/guava/20.0/guava-20.0.jar:/Users/lovefawn/.m2/repository/com/fasterxml/classmate/1.4.0/classmate-1.4.0.jar:/Users/lovefawn/.m2/repository/org/springframework/plugin/spring-plugin-core/1.2.0.RELEASE/spring-plugin-core-1.2.0.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/plugin/spring-plugin-metadata/1.2.0.RELEASE/spring-plugin-metadata-1.2.0.RELEASE.jar:/Users/lovefawn/.m2/repository/org/mapstruct/mapstruct/1.2.0.Final/mapstruct-1.2.0.Final.jar:/Users/lovefawn/.m2/repository/io/swagger/swagger-models/1.5.21/swagger-models-1.5.21.jar:/Users/lovefawn/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.9.0/jackson-annotations-2.9.0.jar:/Users/lovefawn/Dev/bladex/BladeX/blade-service-api/blade-mall-api/target/classes:/Users/lovefawn/.m2/repository/org/springblade/blade-core-boot/2.0.7.RELEASE/blade-core-boot-2.0.7.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springblade/blade-starter-redis/2.0.7.RELEASE/blade-starter-redis-2.0.7.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springblade/blade-starter-log/2.0.7.RELEASE/blade-starter-log-2.0.7.RELEASE.jar:/Users/lovefawn/.m2/repository/com/baomidou/mybatis-plus-boot-starter/3.1.2/mybatis-plus-boot-starter-3.1.2.jar:/Users/lovefawn/.m2/repository/org/mybatis/mybatis-typehandlers-jsr310/1.0.2/mybatis-typehandlers-jsr310-1.0.2.jar:/Users/lovefawn/.m2/repository/com/alibaba/druid-spring-boot-starter/1.1.18/druid-spring-boot-starter-1.1.18.jar:/Users/lovefawn/.m2/repository/com/alibaba/druid/1.1.18/druid-1.1.18.jar:/Users/lovefawn/Dev/bladex/BladeX/blade-service-api/blade-desk-api/target/classes:/Users/lovefawn/Dev/bladex/BladeX/blade-ops-api/blade-flow-api/target/classes:/Users/lovefawn/.m2/repository/org/springblade/blade-starter-minio/2.0.7.RELEASE/blade-starter-minio-2.0.7.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springblade/blade-core-oss/2.0.7.RELEASE/blade-core-oss-2.0.7.RELEASE.jar:/Users/lovefawn/.m2/repository/io/minio/minio/6.0.7/minio-6.0.7.jar:/Users/lovefawn/.m2/repository/com/google/http-client/google-http-client-xml/1.20.0/google-http-client-xml-1.20.0.jar:/Users/lovefawn/.m2/repository/com/google/http-client/google-http-client/1.20.0/google-http-client-1.20.0.jar:/Users/lovefawn/.m2/repository/xpp3/xpp3/1.1.4c/xpp3-1.1.4c.jar:/Users/lovefawn/.m2/repository/joda-time/joda-time/2.10.3/joda-time-2.10.3.jar:/Users/lovefawn/.m2/repository/com/google/code/findbugs/annotations/3.0.1/annotations-3.0.1.jar:/Users/lovefawn/.m2/repository/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.jar:/Users/lovefawn/.m2/repository/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar:/Users/lovefawn/.m2/repository/org/springblade/blade-starter-qiniu/2.0.7.RELEASE/blade-starter-qiniu-2.0.7.RELEASE.jar:/Users/lovefawn/.m2/repository/com/qiniu/qiniu-java-sdk/7.2.23/qiniu-java-sdk-7.2.23.jar:/Users/lovefawn/.m2/repository/com/google/code/gson/gson/2.8.5/gson-2.8.5.jar:/Users/lovefawn/Dev/bladex/BladeX/blade-service-api/blade-system-api/target/classes:/Users/lovefawn/.m2/repository/org/springblade/blade-starter-swagger/2.0.7.RELEASE/blade-starter-swagger-2.0.7.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springblade/blade-core-tool/2.0.7.RELEASE/blade-core-tool-2.0.7.RELEASE.jar:/Users/lovefawn/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.9.9/jackson-datatype-jsr310-2.9.9.jar:/Users/lovefawn/.m2/repository/io/protostuff/protostuff-core/1.6.0/protostuff-core-1.6.0.jar:/Users/lovefawn/.m2/repository/io/protostuff/protostuff-api/1.6.0/protostuff-api-1.6.0.jar:/Users/lovefawn/.m2/repository/io/protostuff/protostuff-runtime/1.6.0/protostuff-runtime-1.6.0.jar:/Users/lovefawn/.m2/repository/io/protostuff/protostuff-collectionschema/1.6.0/protostuff-collectionschema-1.6.0.jar:/Users/lovefawn/.m2/repository/com/github/xiaoymin/swagger-bootstrap-ui/1.9.4/swagger-bootstrap-ui-1.9.4.jar:/Users/lovefawn/.m2/repository/org/javassist/javassist/3.25.0-GA/javassist-3.25.0-GA.jar:/Users/lovefawn/.m2/repository/org/springframework/cloud/spring-cloud-starter-security/2.1.3.RELEASE/spring-cloud-starter-security-2.1.3.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/cloud/spring-cloud-starter/2.1.2.RELEASE/spring-cloud-starter-2.1.2.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/cloud/spring-cloud-context/2.1.2.RELEASE/spring-cloud-context-2.1.2.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/security/spring-security-rsa/1.0.7.RELEASE/spring-security-rsa-1.0.7.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/cloud/spring-cloud-security/2.1.3.RELEASE/spring-cloud-security-2.1.3.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/boot/spring-boot-starter-security/2.1.7.RELEASE/spring-boot-starter-security-2.1.7.RELEASE.jar:/Users/lovefawn/.m2/repository/javax/activation/javax.activation-api/1.2.0/javax.activation-api-1.2.0.jar:/Users/lovefawn/.m2/repository/javax/xml/bind/jaxb-api/2.3.1/jaxb-api-2.3.1.jar:/Users/lovefawn/.m2/repository/org/springframework/security/oauth/spring-security-oauth2/2.3.5.RELEASE/spring-security-oauth2-2.3.5.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/spring-beans/5.1.9.RELEASE/spring-beans-5.1.9.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/spring-core/5.1.9.RELEASE/spring-core-5.1.9.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/spring-jcl/5.1.9.RELEASE/spring-jcl-5.1.9.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/spring-context/5.1.9.RELEASE/spring-context-5.1.9.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/spring-expression/5.1.9.RELEASE/spring-expression-5.1.9.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/spring-webmvc/5.1.9.RELEASE/spring-webmvc-5.1.9.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/security/spring-security-core/5.1.6.RELEASE/spring-security-core-5.1.6.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/security/spring-security-config/5.1.6.RELEASE/spring-security-config-5.1.6.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/security/spring-security-web/5.1.6.RELEASE/spring-security-web-5.1.6.RELEASE.jar:/Users/lovefawn/.m2/repository/commons-codec/commons-codec/1.11/commons-codec-1.11.jar:/Users/lovefawn/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.13/jackson-mapper-asl-1.9.13.jar:/Users/lovefawn/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.13/jackson-core-asl-1.9.13.jar:/Users/lovefawn/.m2/repository/org/springframework/boot/spring-boot-starter-data-redis/2.1.6.RELEASE/spring-boot-starter-data-redis-2.1.6.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/boot/spring-boot-starter/2.1.7.RELEASE/spring-boot-starter-2.1.7.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/boot/spring-boot/2.1.7.RELEASE/spring-boot-2.1.7.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/2.1.7.RELEASE/spring-boot-autoconfigure-2.1.7.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/boot/spring-boot-starter-logging/2.1.7.RELEASE/spring-boot-starter-logging-2.1.7.RELEASE.jar:/Users/lovefawn/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar:/Users/lovefawn/.m2/repository/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3.jar:/Users/lovefawn/.m2/repository/org/apache/logging/log4j/log4j-to-slf4j/2.11.2/log4j-to-slf4j-2.11.2.jar:/Users/lovefawn/.m2/repository/org/apache/logging/log4j/log4j-api/2.11.2/log4j-api-2.11.2.jar:/Users/lovefawn/.m2/repository/org/slf4j/jul-to-slf4j/1.7.26/jul-to-slf4j-1.7.26.jar:/Users/lovefawn/.m2/repository/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar:/Users/lovefawn/.m2/repository/org/yaml/snakeyaml/1.23/snakeyaml-1.23.jar:/Users/lovefawn/.m2/repository/org/springframework/data/spring-data-redis/2.1.10.RELEASE/spring-data-redis-2.1.10.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/data/spring-data-keyvalue/2.1.10.RELEASE/spring-data-keyvalue-2.1.10.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/data/spring-data-commons/2.1.10.RELEASE/spring-data-commons-2.1.10.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/spring-tx/5.1.9.RELEASE/spring-tx-5.1.9.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/spring-oxm/5.1.9.RELEASE/spring-oxm-5.1.9.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/spring-context-support/5.1.9.RELEASE/spring-context-support-5.1.9.RELEASE.jar:/Users/lovefawn/.m2/repository/io/lettuce/lettuce-core/5.1.8.RELEASE/lettuce-core-5.1.8.RELEASE.jar:/Users/lovefawn/.m2/repository/io/netty/netty-common/4.1.38.Final/netty-common-4.1.38.Final.jar:/Users/lovefawn/.m2/repository/io/netty/netty-handler/4.1.38.Final/netty-handler-4.1.38.Final.jar:/Users/lovefawn/.m2/repository/io/netty/netty-buffer/4.1.38.Final/netty-buffer-4.1.38.Final.jar:/Users/lovefawn/.m2/repository/io/netty/netty-codec/4.1.38.Final/netty-codec-4.1.38.Final.jar:/Users/lovefawn/.m2/repository/io/netty/netty-transport/4.1.38.Final/netty-transport-4.1.38.Final.jar:/Users/lovefawn/.m2/repository/io/netty/netty-resolver/4.1.38.Final/netty-resolver-4.1.38.Final.jar:/Users/lovefawn/.m2/repository/io/projectreactor/reactor-core/3.2.11.RELEASE/reactor-core-3.2.11.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/boot/spring-boot-starter-jdbc/2.1.7.RELEASE/spring-boot-starter-jdbc-2.1.7.RELEASE.jar:/Users/lovefawn/.m2/repository/com/zaxxer/HikariCP/3.2.0/HikariCP-3.2.0.jar:/Users/lovefawn/.m2/repository/org/springframework/spring-jdbc/5.1.9.RELEASE/spring-jdbc-5.1.9.RELEASE.jar:/Users/lovefawn/.m2/repository/org/springframework/security/spring-security-jwt/1.0.10.RELEASE/spring-security-jwt-1.0.10.RELEASE.jar:/Users/lovefawn/.m2/repository/org/bouncycastle/bcpkix-jdk15on/1.59/bcpkix-jdk15on-1.59.jar:/Users/lovefawn/.m2/repository/org/bouncycastle/bcprov-jdk15on/1.59/bcprov-jdk15on-1.59.jar:/Users/lovefawn/.m2/repository/io/jsonwebtoken/jjwt/0.9.1/jjwt-0.9.1.jar:/Users/lovefawn/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.9.9/jackson-databind-2.9.9.jar:/Users/lovefawn/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.9.9/jackson-core-2.9.9.jar:/Users/lovefawn/.m2/repository/mysql/mysql-connector-java/8.0.17/mysql-connector-java-8.0.17.jar:/Users/lovefawn/.m2/repository/com/hynnet/oracle-driver-ojdbc6/12.1.0.1/oracle-driver-ojdbc6-12.1.0.1.jar:/Users/lovefawn/.m2/repository/org/slf4j/slf4j-api/1.7.26/slf4j-api-1.7.26.jar:/Users/lovefawn/.m2/repository/org/postgresql/postgresql/42.2.6/postgresql-42.2.6.jar:/Users/lovefawn/.m2/repository/org/projectlombok/lombok/1.18.8/lombok-1.18.8.jar:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar" org.springblade.auth.AuthApplication

objc[39347]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/bin/java (0x10f1534c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x1101e34e0). One of the two will be used. Which one is undefined.

Connected to the target VM, address: '127.0.0.1:59189', transport: 'socket'

----启动中,读取到的环境变量:[dev],jar地址:[/Users/lovefawn/Dev/bladex/BladeX/blade-auth/target/classes/]----

            ______  _             _       ___   ___

            | ___ \| |           | |      \  \ /  /

            | |_/ /| |  __ _   __| |  ___  \  V  /

            | ___ \| | / _` | / _` | / _ \   > <

            | |_/ /| || (_| || (_| ||  __/ /  .  \

            \____/ |_| \__,_| \__,_| \___|/__/ \__\


:: BladeX :: blade-auth:dev :: Running SpringBoot 2.1.7.RELEASE :: 


2019-09-23 09:40:58.745  INFO 39347 --- [           main] c.a.c.n.c.NacosPropertySourceBuilder     : Loading nacos data, dataId: 'blade.yaml', group: 'DEFAULT_GROUP'

2019-09-23 09:40:58.761  INFO 39347 --- [           main] c.a.c.n.c.NacosPropertySourceBuilder     : Loading nacos data, dataId: 'blade-dev.yaml', group: 'DEFAULT_GROUP'

2019-09-23 09:40:58.768  INFO 39347 --- [           main] b.c.PropertySourceBootstrapConfiguration : Located property source: CompositePropertySource {name='NACOS', propertySources=[NacosPropertySource {name='blade-dev.yaml'}, NacosPropertySource {name='blade.yaml'}]}

2019-09-23 09:40:58.798  INFO 39347 --- [           main] org.springblade.auth.AuthApplication     : The following profiles are active: dev

2019-09-23 09:40:58.962  WARN 39347 --- [           main] o.s.c.c.u.SpringFactoryImportSelector    : More than one implementation of @EnableCircuitBreaker (now relying on @Conditionals to pick one): [org.springframework.cloud.netflix.hystrix.HystrixCircuitBreakerConfiguration, com.alibaba.cloud.sentinel.custom.SentinelCircuitBreakerConfiguration]

2019-09-23 09:41:00.075  WARN 39347 --- [           main] o.s.boot.actuate.endpoint.EndpointId     : Endpoint ID 'nacos-config' contains invalid characters, please migrate to a valid format.

2019-09-23 09:41:00.078  WARN 39347 --- [           main] o.s.boot.actuate.endpoint.EndpointId     : Endpoint ID 'nacos-discovery' contains invalid characters, please migrate to a valid format.

2019-09-23 09:41:00.140  WARN 39347 --- [           main] o.m.s.mapper.ClassPathMapperScanner      : No MyBatis mapper was found in '[org.springblade.auth]' package. Please check your configuration.

2019-09-23 09:41:00.199  WARN 39347 --- [           main] o.m.s.mapper.ClassPathMapperScanner      : No MyBatis mapper was found in '[org.springblade.**.mapper.**]' package. Please check your configuration.

2019-09-23 09:41:00.477  INFO 39347 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!

2019-09-23 09:41:00.484  INFO 39347 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode.

2019-09-23 09:41:00.519  INFO 39347 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 13ms. Found 0 repository interfaces.

2019-09-23 09:41:00.644  WARN 39347 --- [           main] o.s.boot.actuate.endpoint.EndpointId     : Endpoint ID 'service-registry' contains invalid characters, please migrate to a valid format.

2019-09-23 09:41:00.662  WARN 39347 --- [           main] o.s.boot.actuate.endpoint.EndpointId     : Endpoint ID 'hystrix.stream' contains invalid characters, please migrate to a valid format.

2019-09-23 09:41:00.925 ERROR 39347 --- [           main] o.s.boot.SpringApplication               : Application run failed


java.lang.IllegalStateException: Cannot load configuration class: org.springblade.core.log.error.BladeRestExceptionTranslator

at org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:413)

at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanFactory(ConfigurationClassPostProcessor.java:253)

at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:286)

at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:130)

at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:705)

at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:531)

at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141)

at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:743)

at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:390)

at org.springframework.boot.SpringApplication.run(SpringApplication.java:312)

at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:140)

at org.springblade.core.launch.BladeApplication.run(BladeApplication.java:49)

at org.springblade.auth.AuthApplication.main(AuthApplication.java:35)

Caused by: java.lang.IllegalStateException: Unable to load cache item

at org.springframework.cglib.core.internal.LoadingCache.createEntry(LoadingCache.java:79)

at org.springframework.cglib.core.internal.LoadingCache.get(LoadingCache.java:34)

at org.springframework.cglib.core.AbstractClassGenerator$ClassLoaderData.get(AbstractClassGenerator.java:134)

at org.springframework.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:319)

at org.springframework.cglib.proxy.Enhancer.createHelper(Enhancer.java:569)

at org.springframework.cglib.proxy.Enhancer.createClass(Enhancer.java:416)

at org.springframework.context.annotation.ConfigurationClassEnhancer.createClass(ConfigurationClassEnhancer.java:137)

at org.springframework.context.annotation.ConfigurationClassEnhancer.enhance(ConfigurationClassEnhancer.java:109)

at org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:402)

... 12 common frames omitted

Caused by: java.lang.NoClassDefFoundError: org/springblade/core/secure/exception/SecureException

at java.lang.Class.getDeclaredMethods0(Native Method)

at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)

at java.lang.Class.getDeclaredMethods(Class.java:1975)

at org.springframework.cglib.core.ReflectUtils.addAllMethods(ReflectUtils.java:443)

at org.springframework.cglib.proxy.Enhancer.getMethods(Enhancer.java:632)

at org.springframework.cglib.proxy.Enhancer.generateClass(Enhancer.java:667)

at org.springframework.cglib.transform.TransformingClassGenerator.generateClass(TransformingClassGenerator.java:33)

at org.springframework.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)

at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanFactoryAwareGeneratorStrategy.generate(ConfigurationClassEnhancer.java:252)

at org.springframework.cglib.core.AbstractClassGenerator.generate(AbstractClassGenerator.java:358)

at org.springframework.cglib.proxy.Enhancer.generate(Enhancer.java:582)

at org.springframework.cglib.core.AbstractClassGenerator$ClassLoaderData$3.apply(AbstractClassGenerator.java:110)

at org.springframework.cglib.core.AbstractClassGenerator$ClassLoaderData$3.apply(AbstractClassGenerator.java:108)

at org.springframework.cglib.core.internal.LoadingCache$2.call(LoadingCache.java:54)

at java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266)

at java.util.concurrent.FutureTask.run(FutureTask.java)

at org.springframework.cglib.core.internal.LoadingCache.createEntry(LoadingCache.java:61)

... 20 common frames omitted

Caused by: java.lang.ClassNotFoundException: org.springblade.core.secure.exception.SecureException

at java.net.URLClassLoader.findClass(URLClassLoader.java:381)

at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)

at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

... 37 common frames omitted


Disconnected from the target VM, address: '127.0.0.1:59189', transport: 'socket'


Process finished with exit code 1


五、若有更多详细信息,请在下面提供。

org.springblade.auth.enums;

lombok.;
lombok.;

BladeUserEnum {

   (, ),

   (, ),
   (, ),
   (, );

   String ;
   ;

}


org.springblade.auth.service;

lombok.;
lombok.;
org.springblade.auth.constant.AuthConstant;
org.springblade.auth.enums.BladeUserEnum;
org.springblade.auth.utils.TokenUtil;
org.springblade.core.tool.api.R;
org.springblade.core.tool.utils.Func;
org.springblade.core.tool.utils.WebUtil;
org.springblade.mall.entity.Member;
org.springblade.mall.entity.MemberInfo;
org.springblade.mall.feign.IMemberClient;
org.springblade.system.user.entity.User;
org.springblade.system.user.entity.UserInfo;
org.springblade.system.user.feign.IUserClient;
org.springframework.security.core.authority.AuthorityUtils;
org.springframework.security.core.userdetails.UserDetails;
org.springframework.security.core.userdetails.UserDetailsService;
org.springframework.security.core.userdetails.UsernameNotFoundException;
org.springframework.stereotype.;

javax.servlet.http.HttpServletRequest;

BladeUserDetailsServiceImpl UserDetailsService {

   IUserClient ;
   IMemberClient ;

   UserDetails loadUserByUsername(String username) {
      HttpServletRequest request = WebUtil.();
String tenantId = Func.(request.getHeader(TokenUtil.), TokenUtil.);
      String userType = Func.(request.getHeader(TokenUtil.), TokenUtil.);


      (userType.equals(BladeUserEnum..getName())) {
         R userInfo = .userInfo(tenantId, username);


         (userInfo.isSuccess()) {
            User user = userInfo.getData().getUser();
            (user == ) {
               UsernameNotFoundException(TokenUtil.);
            }
            BladeUserDetails(user.getId(),
               user.getTenantId(), user.getName(), user.getDeptId(), user.getRoleId(), Func.(userInfo.getData().getRoles()), Func.(user.getAvatar(), TokenUtil.),
               username, AuthConstant.+ user.getPassword(), , , , ,
               AuthorityUtils.(Func.(userInfo.getData().getRoles())));
         } {
            UsernameNotFoundException(userInfo.getMsg());
         }
      } (userType.equals(BladeUserEnum..getName())) {
         R memberInfo = .memberInfo(tenantId, username);
         (memberInfo.isSuccess()) {
            Member member = memberInfo.getData().getMember();
            (member == ) {
               UsernameNotFoundException(TokenUtil.);
            }
            BladeMemberDetails(member.getId(),
               member.getTenantId(), member.getNickname(), Func.(member.getAvatar(), TokenUtil.),
               username, AuthConstant.+ member.getPassword(), , , , ,
               AuthorityUtils.(Func.(memberInfo.getData().getRoles())));
         } {
            UsernameNotFoundException(memberInfo.getMsg());
         }

      } {
         R userInfo = .userInfo(tenantId, username);
         (userInfo.isSuccess()) {
            User user = userInfo.getData().getUser();
            (user == ) {
               UsernameNotFoundException(TokenUtil.);
            }
            BladeUserDetails(user.getId(),
               user.getTenantId(), user.getName(), user.getDeptId(), user.getRoleId(), Func.(userInfo.getData().getRoles()), Func.(user.getAvatar(), TokenUtil.),
               username, AuthConstant.+ user.getPassword(), , , , ,
               AuthorityUtils.(Func.(userInfo.getData().getRoles())));
         } {
            UsernameNotFoundException(userInfo.getMsg());
         }
      }
   }

}


2条回答
  •  admin
    admin (楼主)
    2019-09-23 13:41

    blade-auth 不能加入blade-core-secure,还有你把你修改的部分发出来,是不是引入了secure模块。

    把这些都删掉,参考bladex本身的写法,用feign的形式获取信息

提交回复