BrookShiwenge opened a new issue, #4207:
URL: https://github.com/apache/shenyu/issues/4207
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Current Behavior
1.modify the nacos and db config in application.yml of shenyu-admin
2.an exception throwed and failed to startup shenyu-admin
### Expected Behavior
_No response_
### Steps To Reproduce
1.modify the nacos and db config in application.yml of shenyu-admin
2.an exception throwed and failed to startup shenyu-admin
3.after debug ,I found that nacos client always subsribe the serverice
shenyu.register.service.http,but there is no service named
shenyu.register.service.http
### Environment
```markdown
ShenYu version(s):2.4.3
```
### Debug logs
"D:\Program Files\Java\jdk1.8.0_351\bin\java.exe"
-agentlib:jdwp=transport=dt_socket,address=127.0.0.1:12316,suspend=y,server=n
-javaagent:C:\Users\Sheryl\AppData\Local\JetBrains\IdeaIC2022.2\captureAgent\debugger-agent.jar
-Dfile.encoding=UTF-8 -classpath "D:\Program
Files\Java\jdk1.8.0_351\jre\lib\charsets.jar;D:\Program
Files\Java\jdk1.8.0_351\jre\lib\deploy.jar;D:\Program
Files\Java\jdk1.8.0_351\jre\lib\ext\access-bridge-64.jar;D:\Program
Files\Java\jdk1.8.0_351\jre\lib\ext\cldrdata.jar;D:\Program
Files\Java\jdk1.8.0_351\jre\lib\ext\dnsns.jar;D:\Program
Files\Java\jdk1.8.0_351\jre\lib\ext\jaccess.jar;D:\Program
Files\Java\jdk1.8.0_351\jre\lib\ext\jfxrt.jar;D:\Program
Files\Java\jdk1.8.0_351\jre\lib\ext\localedata.jar;D:\Program
Files\Java\jdk1.8.0_351\jre\lib\ext\nashorn.jar;D:\Program
Files\Java\jdk1.8.0_351\jre\lib\ext\sunec.jar;D:\Program
Files\Java\jdk1.8.0_351\jre\lib\ext\sunjce_provider.jar;D:\Program
Files\Java\jdk1.8.0_351\jre\lib\ext\sunmscapi.jar;D:\Program Files\Jav
a\jdk1.8.0_351\jre\lib\ext\sunpkcs11.jar;D:\Program
Files\Java\jdk1.8.0_351\jre\lib\ext\zipfs.jar;D:\Program
Files\Java\jdk1.8.0_351\jre\lib\javaws.jar;D:\Program
Files\Java\jdk1.8.0_351\jre\lib\jce.jar;D:\Program
Files\Java\jdk1.8.0_351\jre\lib\jfr.jar;D:\Program
Files\Java\jdk1.8.0_351\jre\lib\jfxswt.jar;D:\Program
Files\Java\jdk1.8.0_351\jre\lib\jsse.jar;D:\Program
Files\Java\jdk1.8.0_351\jre\lib\management-agent.jar;D:\Program
Files\Java\jdk1.8.0_351\jre\lib\plugin.jar;D:\Program
Files\Java\jdk1.8.0_351\jre\lib\resources.jar;D:\Program
Files\Java\jdk1.8.0_351\jre\lib\rt.jar;D:\project\study\gateway\shenyu-demo-main\shenyu-admin\target\classes;D:\maven_rep\org\apache\shenyu\shenyu-common\2.4.3\shenyu-common-2.4.3.jar;D:\maven_rep\com\google\code\gson\gson\2.8.6\gson-2.8.6.jar;D:\maven_rep\org\apache\commons\commons-lang3\3.9\commons-lang3-3.9.jar;D:\maven_rep\org\springframework\boot\spring-boot-starter-json\2.2.2.RELEASE\spring-boot-starter-json-2.2.2.RELEASE.jar;D:\maven_rep\co
m\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.10.1\jackson-datatype-jdk8-2.10.1.jar;D:\maven_rep\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.10.1\jackson-datatype-jsr310-2.10.1.jar;D:\maven_rep\com\fasterxml\jackson\module\jackson-module-parameter-names\2.10.1\jackson-module-parameter-names-2.10.1.jar;D:\maven_rep\com\fasterxml\jackson\core\jackson-databind\2.10.1\jackson-databind-2.10.1.jar;D:\maven_rep\com\fasterxml\jackson\core\jackson-annotations\2.10.1\jackson-annotations-2.10.1.jar;D:\maven_rep\com\google\guava\guava\29.0-jre\guava-29.0-jre.jar;D:\maven_rep\com\google\guava\failureaccess\1.0.1\failureaccess-1.0.1.jar;D:\maven_rep\com\google\guava\listenablefuture\9999.0-empty-to-avoid-conflict-with-guava\listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar;D:\maven_rep\com\google\code\findbugs\jsr305\3.0.2\jsr305-3.0.2.jar;D:\maven_rep\org\checkerframework\checker-qual\2.11.1\checker-qual-2.11.1.jar;D:\maven_rep\com\google\errorprone\error_prone_a
nnotations\2.3.4\error_prone_annotations-2.3.4.jar;D:\maven_rep\com\google\j2objc\j2objc-annotations\1.3\j2objc-annotations-1.3.jar;D:\maven_rep\org\slf4j\slf4j-api\1.7.29\slf4j-api-1.7.29.jar;D:\maven_rep\org\slf4j\jcl-over-slf4j\1.7.29\jcl-over-slf4j-1.7.29.jar;D:\maven_rep\javax\xml\bind\jaxb-api\2.3.1\jaxb-api-2.3.1.jar;D:\maven_rep\javax\activation\javax.activation-api\1.2.0\javax.activation-api-1.2.0.jar;D:\maven_rep\org\apache\shenyu\shenyu-disruptor\2.4.3\shenyu-disruptor-2.4.3.jar;D:\maven_rep\com\lmax\disruptor\3.4.0\disruptor-3.4.0.jar;D:\maven_rep\org\apache\shenyu\shenyu-register-server-api\2.4.3\shenyu-register-server-api-2.4.3.jar;D:\maven_rep\org\apache\shenyu\shenyu-spi\2.4.3\shenyu-spi-2.4.3.jar;D:\maven_rep\org\apache\shenyu\shenyu-register-common\2.4.3\shenyu-register-common-2.4.3.jar;D:\maven_rep\org\apache\shenyu\shenyu-register-server-zookeeper\2.4.3\shenyu-register-server-zookeeper-2.4.3.jar;D:\maven_rep\org\apache\shenyu\shenyu-register-server-etcd\2.4.3\she
nyu-register-server-etcd-2.4.3.jar;D:\maven_rep\com\coreos\jetcd-core\0.0.2\jetcd-core-0.0.2.jar;D:\maven_rep\com\coreos\jetcd-common\0.0.2\jetcd-common-0.0.2.jar;D:\maven_rep\com\coreos\jetcd-resolver\0.0.2\jetcd-resolver-0.0.2.jar;D:\maven_rep\org\apache\shenyu\shenyu-register-server-consul\2.4.3\shenyu-register-server-consul-2.4.3.jar;D:\maven_rep\org\apache\shenyu\shenyu-register-server-nacos\2.4.3\shenyu-register-server-nacos-2.4.3.jar;D:\maven_rep\org\springframework\boot\spring-boot-starter-web\2.2.2.RELEASE\spring-boot-starter-web-2.2.2.RELEASE.jar;D:\maven_rep\org\springframework\boot\spring-boot-starter\2.2.2.RELEASE\spring-boot-starter-2.2.2.RELEASE.jar;D:\maven_rep\org\springframework\boot\spring-boot\2.2.2.RELEASE\spring-boot-2.2.2.RELEASE.jar;D:\maven_rep\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;D:\maven_rep\org\springframework\boot\spring-boot-starter-tomcat\2.2.2.RELEASE\spring-boot-starter-tomcat-2.2.2.RELEASE.jar;D:\maven_rep
\org\apache\tomcat\embed\tomcat-embed-core\9.0.29\tomcat-embed-core-9.0.29.jar;D:\maven_rep\org\apache\tomcat\embed\tomcat-embed-el\9.0.29\tomcat-embed-el-9.0.29.jar;D:\maven_rep\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.29\tomcat-embed-websocket-9.0.29.jar;D:\maven_rep\org\springframework\boot\spring-boot-starter-validation\2.2.2.RELEASE\spring-boot-starter-validation-2.2.2.RELEASE.jar;D:\maven_rep\jakarta\validation\jakarta.validation-api\2.0.1\jakarta.validation-api-2.0.1.jar;D:\maven_rep\org\hibernate\validator\hibernate-validator\6.0.18.Final\hibernate-validator-6.0.18.Final.jar;D:\maven_rep\org\jboss\logging\jboss-logging\3.4.1.Final\jboss-logging-3.4.1.Final.jar;D:\maven_rep\org\springframework\spring-web\5.2.2.RELEASE\spring-web-5.2.2.RELEASE.jar;D:\maven_rep\org\springframework\spring-webmvc\5.2.2.RELEASE\spring-webmvc-5.2.2.RELEASE.jar;D:\maven_rep\org\springframework\spring-aop\5.2.2.RELEASE\spring-aop-5.2.2.RELEASE.jar;D:\maven_rep\org\springframework\boot\sprin
g-boot-starter-logging\2.2.2.RELEASE\spring-boot-starter-logging-2.2.2.RELEASE.jar;D:\maven_rep\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;D:\maven_rep\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;D:\maven_rep\org\apache\logging\log4j\log4j-to-slf4j\2.12.1\log4j-to-slf4j-2.12.1.jar;D:\maven_rep\org\apache\logging\log4j\log4j-api\2.12.1\log4j-api-2.12.1.jar;D:\maven_rep\org\slf4j\jul-to-slf4j\1.7.29\jul-to-slf4j-1.7.29.jar;D:\maven_rep\org\springframework\boot\spring-boot-starter-websocket\2.2.2.RELEASE\spring-boot-starter-websocket-2.2.2.RELEASE.jar;D:\maven_rep\org\springframework\spring-messaging\5.2.2.RELEASE\spring-messaging-5.2.2.RELEASE.jar;D:\maven_rep\org\springframework\spring-websocket\5.2.2.RELEASE\spring-websocket-5.2.2.RELEASE.jar;D:\maven_rep\org\springframework\boot\spring-boot-starter-actuator\2.2.2.RELEASE\spring-boot-starter-actuator-2.2.2.RELEASE.jar;D:\maven_rep\org\springframework\boot\spring-boot-actuator-autoconfigure\2.2.2.RELE
ASE\spring-boot-actuator-autoconfigure-2.2.2.RELEASE.jar;D:\maven_rep\org\springframework\boot\spring-boot-actuator\2.2.2.RELEASE\spring-boot-actuator-2.2.2.RELEASE.jar;D:\maven_rep\io\micrometer\micrometer-core\1.3.1\micrometer-core-1.3.1.jar;D:\maven_rep\org\hdrhistogram\HdrHistogram\2.1.11\HdrHistogram-2.1.11.jar;D:\maven_rep\org\latencyutils\LatencyUtils\2.0.3\LatencyUtils-2.0.3.jar;D:\maven_rep\org\springframework\boot\spring-boot-starter-thymeleaf\2.2.2.RELEASE\spring-boot-starter-thymeleaf-2.2.2.RELEASE.jar;D:\maven_rep\org\thymeleaf\thymeleaf-spring5\3.0.11.RELEASE\thymeleaf-spring5-3.0.11.RELEASE.jar;D:\maven_rep\org\thymeleaf\thymeleaf\3.0.11.RELEASE\thymeleaf-3.0.11.RELEASE.jar;D:\maven_rep\org\attoparser\attoparser\2.0.5.RELEASE\attoparser-2.0.5.RELEASE.jar;D:\maven_rep\org\unbescape\unbescape\1.1.6.RELEASE\unbescape-1.1.6.RELEASE.jar;D:\maven_rep\org\thymeleaf\extras\thymeleaf-extras-java8time\3.0.4.RELEASE\thymeleaf-extras-java8time-3.0.4.RELEASE.jar;D:\maven_rep\org\s
pringframework\boot\spring-boot-configuration-processor\2.2.2.RELEASE\spring-boot-configuration-processor-2.2.2.RELEASE.jar;D:\maven_rep\org\apache\shiro\shiro-spring-boot-web-starter\1.8.0\shiro-spring-boot-web-starter-1.8.0.jar;D:\maven_rep\org\apache\shiro\shiro-spring-boot-starter\1.8.0\shiro-spring-boot-starter-1.8.0.jar;D:\maven_rep\org\apache\shiro\shiro-spring\1.8.0\shiro-spring-1.8.0.jar;D:\maven_rep\org\apache\shiro\shiro-core\1.8.0\shiro-core-1.8.0.jar;D:\maven_rep\org\apache\shiro\shiro-lang\1.8.0\shiro-lang-1.8.0.jar;D:\maven_rep\org\apache\shiro\shiro-cache\1.8.0\shiro-cache-1.8.0.jar;D:\maven_rep\org\apache\shiro\shiro-crypto-hash\1.8.0\shiro-crypto-hash-1.8.0.jar;D:\maven_rep\org\apache\shiro\shiro-crypto-core\1.8.0\shiro-crypto-core-1.8.0.jar;D:\maven_rep\org\apache\shiro\shiro-crypto-cipher\1.8.0\shiro-crypto-cipher-1.8.0.jar;D:\maven_rep\org\apache\shiro\shiro-config-core\1.8.0\shiro-config-core-1.8.0.jar;D:\maven_rep\org\apache\shiro\shiro-config-ogdl\1.8.0\shiro
-config-ogdl-1.8.0.jar;D:\maven_rep\commons-beanutils\commons-beanutils\1.9.4\commons-beanutils-1.9.4.jar;D:\maven_rep\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;D:\maven_rep\org\apache\shiro\shiro-event\1.8.0\shiro-event-1.8.0.jar;D:\maven_rep\org\apache\shiro\shiro-web\1.8.0\shiro-web-1.8.0.jar;D:\maven_rep\org\owasp\encoder\encoder\1.2.2\encoder-1.2.2.jar;D:\maven_rep\org\springframework\boot\spring-boot-autoconfigure\2.2.2.RELEASE\spring-boot-autoconfigure-2.2.2.RELEASE.jar;D:\maven_rep\com\auth0\java-jwt\3.12.0\java-jwt-3.12.0.jar;D:\maven_rep\commons-codec\commons-codec\1.13\commons-codec-1.13.jar;D:\maven_rep\org\projectreactor\reactor-spring\1.0.1.RELEASE\reactor-spring-1.0.1.RELEASE.jar;D:\maven_rep\com\jayway\jsonpath\json-path\2.4.0\json-path-2.4.0.jar;D:\maven_rep\net\minidev\json-smart\2.3\json-smart-2.3.jar;D:\maven_rep\net\minidev\accessors-smart\1.2\accessors-smart-1.2.jar;D:\maven_rep\org\ow2\asm\asm\5.0.4\asm-5.0.4.jar;D:\maven_rep\
org\projectreactor\reactor-core\1.0.1.RELEASE\reactor-core-1.0.1.RELEASE.jar;D:\maven_rep\org\springframework\spring-beans\5.2.2.RELEASE\spring-beans-5.2.2.RELEASE.jar;D:\maven_rep\org\springframework\spring-context\5.2.2.RELEASE\spring-context-5.2.2.RELEASE.jar;D:\maven_rep\org\springframework\spring-context-support\5.2.2.RELEASE\spring-context-support-5.2.2.RELEASE.jar;D:\maven_rep\org\springframework\spring-core\5.2.2.RELEASE\spring-core-5.2.2.RELEASE.jar;D:\maven_rep\org\springframework\spring-jcl\5.2.2.RELEASE\spring-jcl-5.2.2.RELEASE.jar;D:\maven_rep\org\springframework\spring-expression\5.2.2.RELEASE\spring-expression-5.2.2.RELEASE.jar;D:\maven_rep\org\springframework\spring-tx\5.2.2.RELEASE\spring-tx-5.2.2.RELEASE.jar;D:\maven_rep\net\bytebuddy\byte-buddy\1.10.4\byte-buddy-1.10.4.jar;D:\maven_rep\org\mybatis\spring\boot\mybatis-spring-boot-starter\1.1.1\mybatis-spring-boot-starter-1.1.1.jar;D:\maven_rep\org\mybatis\spring\boot\mybatis-spring-boot-autoconfigure\1.1.1\mybatis-
spring-boot-autoconfigure-1.1.1.jar;D:\maven_rep\org\mybatis\mybatis\3.4.0\mybatis-3.4.0.jar;D:\maven_rep\org\mybatis\mybatis-spring\1.3.0\mybatis-spring-1.3.0.jar;D:\maven_rep\org\springframework\boot\spring-boot-starter-jdbc\2.2.2.RELEASE\spring-boot-starter-jdbc-2.2.2.RELEASE.jar;D:\maven_rep\com\zaxxer\HikariCP\3.4.1\HikariCP-3.4.1.jar;D:\maven_rep\org\springframework\spring-jdbc\5.2.2.RELEASE\spring-jdbc-5.2.2.RELEASE.jar;D:\maven_rep\org\mariadb\jdbc\mariadb-java-client\3.0.7\mariadb-java-client-3.0.7.jar;D:\maven_rep\org\apache\commons\commons-collections4\4.1\commons-collections4-4.1.jar;D:\maven_rep\com\github\pagehelper\pagehelper\5.1.2\pagehelper-5.1.2.jar;D:\maven_rep\com\github\jsqlparser\jsqlparser\1.0\jsqlparser-1.0.jar;D:\maven_rep\com\alibaba\nacos\nacos-client\2.0.0\nacos-client-2.0.0.jar;D:\maven_rep\com\fasterxml\jackson\core\jackson-core\2.10.1\jackson-core-2.10.1.jar;D:\maven_rep\org\apache\httpcomponents\httpasyncclient\4.1.4\httpasyncclient-4.1.4.jar;D:\maven
_rep\org\apache\httpcomponents\httpcore-nio\4.4.12\httpcore-nio-4.4.12.jar;D:\maven_rep\org\reflections\reflections\0.9.11\reflections-0.9.11.jar;D:\maven_rep\org\javassist\javassist\3.21.0-GA\javassist-3.21.0-GA.jar;D:\maven_rep\io\prometheus\simpleclient\0.5.0\simpleclient-0.5.0.jar;D:\maven_rep\org\yaml\snakeyaml\1.25\snakeyaml-1.25.jar;D:\maven_rep\io\etcd\jetcd-core\0.5.0\jetcd-core-0.5.0.jar;D:\maven_rep\io\etcd\jetcd-common\0.5.0\jetcd-common-0.5.0.jar;D:\maven_rep\io\etcd\jetcd-resolver\0.5.0\jetcd-resolver-0.5.0.jar;D:\maven_rep\io\grpc\grpc-core\1.30.2\grpc-core-1.30.2.jar;D:\maven_rep\io\grpc\grpc-api\1.30.2\grpc-api-1.30.2.jar;D:\maven_rep\io\grpc\grpc-context\1.30.2\grpc-context-1.30.2.jar;D:\maven_rep\com\google\android\annotations\4.1.1.4\annotations-4.1.1.4.jar;D:\maven_rep\org\codehaus\mojo\animal-sniffer-annotations\1.18\animal-sniffer-annotations-1.18.jar;D:\maven_rep\io\perfmark\perfmark-api\0.19.0\perfmark-api-0.19.0.jar;D:\maven_rep\io\grpc\grpc-netty\1.30.2\gr
pc-netty-1.30.2.jar;D:\maven_rep\io\netty\netty-codec-http2\4.1.43.Final\netty-codec-http2-4.1.43.Final.jar;D:\maven_rep\io\netty\netty-common\4.1.43.Final\netty-common-4.1.43.Final.jar;D:\maven_rep\io\netty\netty-buffer\4.1.43.Final\netty-buffer-4.1.43.Final.jar;D:\maven_rep\io\netty\netty-transport\4.1.43.Final\netty-transport-4.1.43.Final.jar;D:\maven_rep\io\netty\netty-resolver\4.1.43.Final\netty-resolver-4.1.43.Final.jar;D:\maven_rep\io\netty\netty-codec\4.1.43.Final\netty-codec-4.1.43.Final.jar;D:\maven_rep\io\netty\netty-handler\4.1.43.Final\netty-handler-4.1.43.Final.jar;D:\maven_rep\io\netty\netty-codec-http\4.1.43.Final\netty-codec-http-4.1.43.Final.jar;D:\maven_rep\io\netty\netty-handler-proxy\4.1.43.Final\netty-handler-proxy-4.1.43.Final.jar;D:\maven_rep\io\netty\netty-codec-socks\4.1.43.Final\netty-codec-socks-4.1.43.Final.jar;D:\maven_rep\io\grpc\grpc-protobuf\1.30.2\grpc-protobuf-1.30.2.jar;D:\maven_rep\com\google\protobuf\protobuf-java\3.12.2\protobuf-java-3.12.2.jar
;D:\maven_rep\com\google\api\grpc\proto-google-common-protos\1.18.0\proto-google-common-protos-1.18.0.jar;D:\maven_rep\io\grpc\grpc-protobuf-lite\1.30.2\grpc-protobuf-lite-1.30.2.jar;D:\maven_rep\io\grpc\grpc-stub\1.30.2\grpc-stub-1.30.2.jar;D:\maven_rep\io\grpc\grpc-grpclb\1.30.2\grpc-grpclb-1.30.2.jar;D:\maven_rep\com\google\protobuf\protobuf-java-util\3.12.2\protobuf-java-util-3.12.2.jar;D:\maven_rep\net\jodah\failsafe\2.3.3\failsafe-2.3.3.jar;D:\maven_rep\com\ecwid\consul\consul-api\1.4.5\consul-api-1.4.5.jar;D:\maven_rep\org\apache\httpcomponents\httpcore\4.4.12\httpcore-4.4.12.jar;D:\maven_rep\org\apache\httpcomponents\httpclient\4.5.10\httpclient-4.5.10.jar;D:\maven_rep\org\springframework\data\spring-data-ldap\2.2.3.RELEASE\spring-data-ldap-2.2.3.RELEASE.jar;D:\maven_rep\org\springframework\data\spring-data-commons\2.2.3.RELEASE\spring-data-commons-2.2.3.RELEASE.jar;D:\maven_rep\org\springframework\ldap\spring-ldap-core\2.3.4.RELEASE\spring-ldap-core-2.3.4.RELEASE.jar;D:\mav
en_rep\com\101tec\zkclient\0.10\zkclient-0.10.jar;D:\maven_rep\org\apache\zookeeper\zookeeper\3.4.8\zookeeper-3.4.8.jar;D:\maven_rep\jline\jline\0.9.94\jline-0.9.94.jar;D:\maven_rep\io\netty\netty\3.7.0.Final\netty-3.7.0.Final.jar;D:\maven_rep\com\esotericsoftware\kryo-shaded\4.0.0\kryo-shaded-4.0.0.jar;D:\maven_rep\com\esotericsoftware\minlog\1.3.0\minlog-1.3.0.jar;D:\maven_rep\org\objenesis\objenesis\2.2\objenesis-2.2.jar;D:\maven_rep\com\dyuproject\protostuff\protostuff-core\1.0.8\protostuff-core-1.0.8.jar;D:\maven_rep\com\dyuproject\protostuff\protostuff-api\1.0.8\protostuff-api-1.0.8.jar;D:\maven_rep\com\dyuproject\protostuff\protostuff-runtime\1.0.8\protostuff-runtime-1.0.8.jar;D:\maven_rep\com\dyuproject\protostuff\protostuff-collectionschema\1.0.8\protostuff-collectionschema-1.0.8.jar;D:\maven_rep\com\caucho\hessian\4.0.38\hessian-4.0.38.jar;D:\maven_rep\io\springfox\springfox-swagger2\2.9.2\springfox-swagger2-2.9.2.jar;D:\maven_rep\io\swagger\swagger-annotations\1.5.20\swag
ger-annotations-1.5.20.jar;D:\maven_rep\io\swagger\swagger-models\1.5.20\swagger-models-1.5.20.jar;D:\maven_rep\io\springfox\springfox-spi\2.9.2\springfox-spi-2.9.2.jar;D:\maven_rep\io\springfox\springfox-core\2.9.2\springfox-core-2.9.2.jar;D:\maven_rep\io\springfox\springfox-schema\2.9.2\springfox-schema-2.9.2.jar;D:\maven_rep\io\springfox\springfox-swagger-common\2.9.2\springfox-swagger-common-2.9.2.jar;D:\maven_rep\io\springfox\springfox-spring-web\2.9.2\springfox-spring-web-2.9.2.jar;D:\maven_rep\com\fasterxml\classmate\1.5.1\classmate-1.5.1.jar;D:\maven_rep\org\springframework\plugin\spring-plugin-core\1.2.0.RELEASE\spring-plugin-core-1.2.0.RELEASE.jar;D:\maven_rep\org\springframework\plugin\spring-plugin-metadata\1.2.0.RELEASE\spring-plugin-metadata-1.2.0.RELEASE.jar;D:\maven_rep\org\mapstruct\mapstruct\1.2.0.Final\mapstruct-1.2.0.Final.jar;D:\maven_rep\io\springfox\springfox-swagger-ui\2.9.2\springfox-swagger-ui-2.9.2.jar;D:\maven_rep\com\h2database\h2\1.4.200\h2-1.4.200.jar;
D:\maven_rep\org\aspectj\aspectjweaver\1.9.6\aspectjweaver-1.9.6.jar;D:\maven_rep\org\postgresql\postgresql\42.2.8\postgresql-42.2.8.jar;D:\maven_rep\com\squareup\okhttp3\okhttp\3.7.0\okhttp-3.7.0.jar;D:\maven_rep\com\squareup\okio\okio\1.12.0\okio-1.12.0.jar;D:\maven_rep\org\projectlombok\lombok\1.18.22\lombok-1.18.22.jar;C:\Program
Files\JetBrains\IntelliJ IDEA Community Edition 2022.2.3\lib\idea_rt.jar"
org.apache.shenyu.admin.ShenyuAdminBootstrap
Connected to the target VM, address: '127.0.0.1:12316', transport: 'socket'
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.2.2.RELEASE)
2022-11-23 21:57:52 [main] INFO
org.apache.shenyu.admin.ShenyuAdminBootstrap - Starting ShenyuAdminBootstrap on
LAPTOP-LQGQONBC with PID 13260
(D:\project\study\gateway\shenyu-demo-main\shenyu-admin\target\classes started
by Sheryl in D:\project\study\gateway\shenyu-demo-main)
2022-11-23 21:57:52 [main] INFO
org.apache.shenyu.admin.ShenyuAdminBootstrap - The following profiles are
active: mysql
2022-11-23 21:57:53 [main] INFO
org.springframework.data.repository.config.RepositoryConfigurationDelegate -
Bootstrapping Spring Data LDAP repositories in DEFAULT mode.
2022-11-23 21:57:53 [main] INFO
org.springframework.data.repository.config.RepositoryConfigurationDelegate -
Finished Spring Data repository scanning in 29ms. Found 0 LDAP repository
interfaces.
2022-11-23 21:57:54 [main] INFO
org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker
- Bean 'shiroConfiguration' of type
[org.apache.shenyu.admin.shiro.config.ShiroConfiguration$$EnhancerBySpringCGLIB$$7697ed1b]
is not eligible for getting processed by all BeanPostProcessors (for example:
not eligible for auto-proxying)
2022-11-23 21:57:54 [main] INFO
org.springframework.aop.framework.CglibAopProxy - Unable to proxy
interface-implementing method [public final
org.apache.shiro.authc.AuthenticationInfo
org.apache.shiro.realm.AuthenticatingRealm.getAuthenticationInfo(org.apache.shiro.authc.AuthenticationToken)
throws org.apache.shiro.authc.AuthenticationException] because it is marked as
final: Consider using interface-based JDK proxies instead!
2022-11-23 21:57:54 [main] INFO
org.springframework.aop.framework.CglibAopProxy - Unable to proxy
interface-implementing method [public final void
org.apache.shiro.realm.AuthenticatingRealm.init()] because it is marked as
final: Consider using interface-based JDK proxies instead!
2022-11-23 21:57:55 [main] INFO
org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker
- Bean 'shiroSecurityManager' of type
[org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for
getting processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
2022-11-23 21:57:55 [main] INFO
org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker
- Bean 'shiroProperties' of type
[org.apache.shenyu.admin.config.properties.ShiroProperties] is not eligible for
getting processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
2022-11-23 21:57:55 [main] INFO
org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker
- Bean 'authorizationAttributeSourceAdvisor' of type
[org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor]
is not eligible for getting processed by all BeanPostProcessors (for example:
not eligible for auto-proxying)
2022-11-23 21:57:55 [main] INFO
org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker
- Bean
'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration'
of type
[org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration]
is not eligible for getting processed by all BeanPostProcessors (for example:
not eligible for auto-proxying)
2022-11-23 21:57:55 [main] INFO
org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker
- Bean 'dataBaseProperties' of type
[org.apache.shenyu.admin.config.properties.DataBaseProperties] is not eligible
for getting processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
2022-11-23 21:57:55 [main] INFO
org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker
- Bean 'org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration'
of type
[org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration$$EnhancerBySpringCGLIB$$dc3b860f]
is not eligible for getting processed by all BeanPostProcessors (for example:
not eligible for auto-proxying)
2022-11-23 21:57:55 [main] INFO
org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker
- Bean 'eventBus' of type [org.apache.shiro.event.support.DefaultEventBus] is
not eligible for getting processed by all BeanPostProcessors (for example: not
eligible for auto-proxying)
2022-11-23 21:57:56 [main] INFO
org.springframework.boot.web.embedded.tomcat.TomcatWebServer - Tomcat
initialized with port(s): 9095 (http)
2022-11-23 21:57:56 [main] INFO org.apache.coyote.http11.Http11NioProtocol
- Initializing ProtocolHandler ["http-nio-0.0.0.0-9095"]
2022-11-23 21:57:56 [main] INFO org.apache.catalina.core.StandardService -
Starting service [Tomcat]
2022-11-23 21:57:56 [main] INFO org.apache.catalina.core.StandardEngine -
Starting Servlet engine: [Apache Tomcat/9.0.29]
2022-11-23 21:57:56 [main] INFO
org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing
Spring embedded WebApplicationContext
2022-11-23 21:57:56 [main] INFO
org.springframework.web.context.ContextLoader - Root WebApplicationContext:
initialization completed in 4265 ms
2022-11-23 21:57:58 [main] INFO
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor
- Inconsistent constructor declaration on bean with name
'httpServiceDiscovery': single autowire-marked constructor flagged as optional
- this constructor is effectively required since there is no default
constructor to fall back to: public
org.apache.shenyu.admin.listener.zookeeper.HttpServiceDiscovery(org.apache.shenyu.admin.service.SelectorService,org.apache.shenyu.admin.mapper.SelectorMapper,org.springframework.context.ApplicationEventPublisher,org.springframework.core.env.Environment)
2022-11-23 21:57:59 [main] INFO
org.springframework.boot.actuate.endpoint.web.EndpointLinksResolver - Exposing
2 endpoint(s) beneath base path '/actuator'
2022-11-23 21:57:59 [main] INFO org.reflections.Reflections - Reflections
took 49 ms to scan 1 urls, producing 3 keys and 6 values
2022-11-23 21:57:59 [main] INFO org.reflections.Reflections - Reflections
took 19 ms to scan 1 urls, producing 4 keys and 9 values
2022-11-23 21:57:59 [main] INFO org.reflections.Reflections - Reflections
took 14 ms to scan 1 urls, producing 3 keys and 10 values
2022-11-23 21:57:59 [main] INFO org.reflections.Reflections - Reflections
took 195 ms to scan 212 urls, producing 0 keys and 0 values
2022-11-23 21:57:59 [main] INFO org.reflections.Reflections - Reflections
took 8 ms to scan 1 urls, producing 1 keys and 5 values
2022-11-23 21:57:59 [main] INFO org.reflections.Reflections - Reflections
took 7 ms to scan 1 urls, producing 1 keys and 7 values
2022-11-23 21:57:59 [main] INFO org.reflections.Reflections - Reflections
took 9 ms to scan 1 urls, producing 2 keys and 8 values
2022-11-23 21:57:59 [main] INFO org.reflections.Reflections - Reflections
took 103 ms to scan 212 urls, producing 0 keys and 0 values
2022-11-23 22:08:32 [main] WARN
org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext
- Exception encountered during context initialization - cancelling refresh
attempt: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'shenyuServerRegisterRepository' defined in class path
resource [org/apache/shenyu/admin/config/RegisterCenterConfiguration.class]:
Bean instantiation via factory method failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to instantiate
[org.apache.shenyu.register.server.api.ShenyuServerRegisterRepository]: Factory
method 'shenyuServerRegisterRepository' threw exception; nested exception is
org.apache.shenyu.common.exception.ShenyuException: ErrCode:500, ErrMsg:Request
nacos server failed:
2022-11-23 22:08:32 [main] INFO org.apache.catalina.core.StandardService -
Stopping service [Tomcat]
2022-11-23 22:08:32 [main] INFO
org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLoggingListener
-
Error starting ApplicationContext. To display the conditions report re-run
your application with 'debug' enabled.
2022-11-23 22:08:32 [main] ERROR org.springframework.boot.SpringApplication
- Application run failed
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'shenyuServerRegisterRepository' defined in class path resource
[org/apache/shenyu/admin/config/RegisterCenterConfiguration.class]: Bean
instantiation via factory method failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to instantiate
[org.apache.shenyu.register.server.api.ShenyuServerRegisterRepository]: Factory
method 'shenyuServerRegisterRepository' threw exception; nested exception is
org.apache.shenyu.common.exception.ShenyuException: ErrCode:500, ErrMsg:Request
nacos server failed:
at
org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:656)
at
org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:636)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1338)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1177)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:557)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517)
at
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:879)
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:878)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
at
org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141)
at
org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747)
at
org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
at
org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at
org.springframework.boot.SpringApplication.run(SpringApplication.java:1226)
at
org.springframework.boot.SpringApplication.run(SpringApplication.java:1215)
at
org.apache.shenyu.admin.ShenyuAdminBootstrap.main(ShenyuAdminBootstrap.java:36)
Caused by: org.springframework.beans.BeanInstantiationException: Failed to
instantiate
[org.apache.shenyu.register.server.api.ShenyuServerRegisterRepository]: Factory
method 'shenyuServerRegisterRepository' threw exception; nested exception is
org.apache.shenyu.common.exception.ShenyuException: ErrCode:500, ErrMsg:Request
nacos server failed:
at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185)
at
org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:651)
... 19 common frames omitted
Caused by: org.apache.shenyu.common.exception.ShenyuException: ErrCode:500,
ErrMsg:Request nacos server failed:
at
org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.subscribeRpcTypeService(NacosServerRegisterRepository.java:146)
at java.util.Arrays$ArrayList.forEach(Arrays.java:3880)
at
org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.subscribe(NacosServerRegisterRepository.java:113)
at
org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.init(NacosServerRegisterRepository.java:109)
at
org.apache.shenyu.admin.config.RegisterCenterConfiguration.shenyuServerRegisterRepository(RegisterCenterConfiguration.java:65)
at
org.apache.shenyu.admin.config.RegisterCenterConfiguration$$EnhancerBySpringCGLIB$$35cc8393.CGLIB$shenyuServerRegisterRepository$1(<generated>)
at
org.apache.shenyu.admin.config.RegisterCenterConfiguration$$EnhancerBySpringCGLIB$$35cc8393$$FastClassBySpringCGLIB$$2b0475c1.invoke(<generated>)
at
org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244)
at
org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:363)
at
org.apache.shenyu.admin.config.RegisterCenterConfiguration$$EnhancerBySpringCGLIB$$35cc8393.shenyuServerRegisterRepository(<generated>)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
... 20 common frames omitted
Caused by: com.alibaba.nacos.api.exception.NacosException: Request nacos
server failed:
at
com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.requestToServer(NamingGrpcClientProxy.java:213)
at
com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.subscribe(NamingGrpcClientProxy.java:172)
at
com.alibaba.nacos.client.naming.remote.NamingClientProxyDelegate.subscribe(NamingClientProxyDelegate.java:146)
at
com.alibaba.nacos.client.naming.NacosNamingService.selectInstances(NacosNamingService.java:284)
at
com.alibaba.nacos.client.naming.NacosNamingService.selectInstances(NacosNamingService.java:272)
at
com.alibaba.nacos.client.naming.NacosNamingService.selectInstances(NacosNamingService.java:260)
at
com.alibaba.nacos.client.naming.NacosNamingService.selectInstances(NacosNamingService.java:237)
at
org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.subscribeRpcTypeService(NacosServerRegisterRepository.java:120)
... 34 common frames omitted
Caused by: com.alibaba.nacos.api.exception.NacosException: Client not
connected,current status:STARTING
at
com.alibaba.nacos.common.remote.client.RpcClient.request(RpcClient.java:628)
at
com.alibaba.nacos.common.remote.client.RpcClient.request(RpcClient.java:608)
at
com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.requestToServer(NamingGrpcClientProxy.java:203)
... 41 common frames omitted
### Anything else?
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
server:
port: 9095
address: 0.0.0.0
spring:
profiles:
active: mysql
thymeleaf:
cache: true
encoding: utf-8
enabled: true
prefix: classpath:/static/
suffix: .html
mybatis:
config-location: classpath:/mybatis/mybatis-config.xml
mapper-locations: classpath:/mappers/*.xml
shenyu:
register:
registerType: nacos #http #zookeeper #etcd #nacos #consul
serverLists: 127.0.0.1:8848 #localhost:2181 #http://localhost:2379
localhost:8848
props:
sessionTimeout: 5000
connectionTimeout: 2000
checked: true
zombieCheckTimes: 5
scheduledTime: 10
nacosNameSpace: ShenyuRegisterCenter
sync:
# websocket:
# enabled: true
# messageMaxSize: 10240
# zookeeper:
# url: localhost:2181
# sessionTimeout: 5000
# connectionTimeout: 2000
# http:
# enabled: true
nacos:
url: 127.0.0.1:8848
namespace: sync-data
# username:
# password:
# acm:
# enabled: false
# endpoint: acm.aliyun.com
# namespace:
# accessKey:
# secretKey:
# etcd:
# url: http://localhost:2379
# consul:
# url: http://localhost:8500
ldap:
enabled: false
url: ldap://xxxx:xxx
bind-dn: cn=xxx,dc=xxx,dc=xxx
password: xxxx
base-dn: ou=xxx,dc=xxx,dc=xxx
object-class: person
login-field: cn
jwt:
expired-seconds: 86400000
shiro:
white-list:
- /
- /favicon.*
- /static/**
- /index**
- /platform/login
- /websocket
- /error
- /actuator/health
- /swagger-ui.html
- /webjars/**
- /swagger-resources/**
- /v2/api-docs
- /csrf
swagger:
enable: true
logging:
level:
root: info
org.springframework.boot: info
org.apache.ibatis: info
org.apache.shenyu.bonuspoint: info
org.apache.shenyu.lottery: info
org.apache.shenyu: info
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]