apache / servicecomb-java-chassis

ServiceComb Java Chassis is a Software Development Kit (SDK) for rapid development of microservices in Java, providing service registration, service discovery, dynamic routing, and service management features
Apache License 2.0
1.91k stars 813 forks source link

脚手架生成的项目启动不了 #1527

Closed qrzeng closed 4 years ago

qrzeng commented 4 years ago

如图,用脚手架一键生成的基础项目启动不了,一直报错,请帮忙看看 image 错误日志: "C:\Program Files\Java\jdk-11.0.2\bin\java.exe" -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true "-javaagent:D:\tool\IntelliJ IDEA 2018.3.4\lib\idea_rt.jar=57397:D:\tool\IntelliJ IDEA 2018.3.4\bin" -Dfile.encoding=UTF-8 -classpath C:\Users\zengqingrong\Downloads\Compressed\demo_3\demo\target\classes;D:\mavenLibs\org\hibernate\hibernate-validator\5.3.6.Final\hibernate-validator-5.3.6.Final.jar;D:\mavenLibs\javax\validation\validation-api\1.1.0.Final\validation-api-1.1.0.Final.jar;D:\mavenLibs\org\jboss\logging\jboss-logging\3.3.2.Final\jboss-logging-3.3.2.Final.jar;D:\mavenLibs\com\fasterxml\classmate\1.3.4\classmate-1.3.4.jar;D:\mavenLibs\org\springframework\boot\spring-boot-starter\1.5.12.RELEASE\spring-boot-starter-1.5.12.RELEASE.jar;D:\mavenLibs\org\springframework\boot\spring-boot\1.5.12.RELEASE\spring-boot-1.5.12.RELEASE.jar;D:\mavenLibs\org\springframework\spring-context\4.3.20.RELEASE\spring-context-4.3.20.RELEASE.jar;D:\mavenLibs\org\springframework\spring-aop\4.3.20.RELEASE\spring-aop-4.3.20.RELEASE.jar;D:\mavenLibs\org\springframework\spring-beans\4.3.20.RELEASE\spring-beans-4.3.20.RELEASE.jar;D:\mavenLibs\org\springframework\spring-expression\4.3.20.RELEASE\spring-expression-4.3.20.RELEASE.jar;D:\mavenLibs\org\springframework\boot\spring-boot-autoconfigure\1.5.12.RELEASE\spring-boot-autoconfigure-1.5.12.RELEASE.jar;D:\mavenLibs\org\springframework\boot\spring-boot-starter-logging\1.5.12.RELEASE\spring-boot-starter-logging-1.5.12.RELEASE.jar;D:\mavenLibs\ch\qos\logback\logback-classic\1.1.11\logback-classic-1.1.11.jar;D:\mavenLibs\ch\qos\logback\logback-core\1.1.11\logback-core-1.1.11.jar;D:\mavenLibs\org\slf4j\jcl-over-slf4j\1.7.25\jcl-over-slf4j-1.7.25.jar;D:\mavenLibs\org\slf4j\jul-to-slf4j\1.7.25\jul-to-slf4j-1.7.25.jar;D:\mavenLibs\org\slf4j\log4j-over-slf4j\1.7.25\log4j-over-slf4j-1.7.25.jar;D:\mavenLibs\org\springframework\spring-core\4.3.16.RELEASE\spring-core-4.3.16.RELEASE.jar;D:\mavenLibs\org\yaml\snakeyaml\1.17\snakeyaml-1.17.jar;D:\mavenLibs\org\apache\servicecomb\spring-boot-starter-provider\1.2.1\spring-boot-starter-provider-1.2.1.jar;D:\mavenLibs\org\apache\servicecomb\spring-boot-starter-servicecomb\1.2.1\spring-boot-starter-servicecomb-1.2.1.jar;D:\mavenLibs\org\apache\tomcat\embed\tomcat-embed-logging-juli\8.5.2\tomcat-embed-logging-juli-8.5.2.jar;D:\mavenLibs\org\apache\servicecomb\provider-springmvc\1.2.1\provider-springmvc-1.2.1.jar;D:\mavenLibs\org\apache\servicecomb\provider-rest-common\1.2.1\provider-rest-common-1.2.1.jar;D:\mavenLibs\org\apache\servicecomb\swagger-invocation-springmvc\1.2.1\swagger-invocation-springmvc-1.2.1.jar;D:\mavenLibs\org\apache\servicecomb\swagger-invocation-core\1.2.1\swagger-invocation-core-1.2.1.jar;D:\mavenLibs\org\springframework\spring-web\4.3.20.RELEASE\spring-web-4.3.20.RELEASE.jar;D:\mavenLibs\com\google\inject\guice\4.2.0\guice-4.2.0.jar;D:\mavenLibs\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;D:\mavenLibs\org\springframework\spring-webmvc\4.3.20.RELEASE\spring-webmvc-4.3.20.RELEASE.jar;D:\mavenLibs\org\apache\servicecomb\swagger-generator-springmvc\1.2.1\swagger-generator-springmvc-1.2.1.jar;D:\mavenLibs\org\apache\servicecomb\swagger-generator-core\1.2.1\swagger-generator-core-1.2.1.jar;D:\mavenLibs\io\swagger\swagger-core\1.5.22\swagger-core-1.5.22.jar;D:\mavenLibs\com\fasterxml\jackson\dataformat\jackson-dataformat-yaml\2.9.8\jackson-dataformat-yaml-2.9.8.jar;D:\mavenLibs\io\swagger\swagger-models\1.5.22\swagger-models-1.5.22.jar;D:\mavenLibs\io\swagger\swagger-annotations\1.5.22\swagger-annotations-1.5.22.jar;D:\mavenLibs\org\apache\servicecomb\provider-jaxrs\1.2.1\provider-jaxrs-1.2.1.jar;D:\mavenLibs\org\apache\servicecomb\swagger-invocation-jaxrs\1.2.1\swagger-invocation-jaxrs-1.2.1.jar;D:\mavenLibs\org\apache\servicecomb\swagger-generator-jaxrs\1.2.1\swagger-generator-jaxrs-1.2.1.jar;D:\mavenLibs\org\apache\servicecomb\provider-pojo\1.2.1\provider-pojo-1.2.1.jar;D:\mavenLibs\org\apache\servicecomb\java-chassis-core\1.2.1\java-chassis-core-1.2.1.jar;D:\mavenLibs\org\apache\servicecomb\service-registry\1.2.1\service-registry-1.2.1.jar;D:\mavenLibs\org\apache\servicecomb\deployment\1.2.1\deployment-1.2.1.jar;D:\mavenLibs\io\zipkin\brave\brave\5.6.0\brave-5.6.0.jar;D:\mavenLibs\io\zipkin\zipkin2\zipkin\2.9.3\zipkin-2.9.3.jar;D:\mavenLibs\io\zipkin\reporter2\zipkin-reporter\2.5.0\zipkin-reporter-2.5.0.jar;D:\mavenLibs\org\apache\servicecomb\handler-bizkeeper\1.2.1\handler-bizkeeper-1.2.1.jar;D:\mavenLibs\com\netflix\hystrix\hystrix-core\1.5.12\hystrix-core-1.5.12.jar;D:\mavenLibs\org\hdrhistogram\HdrHistogram\2.1.9\HdrHistogram-2.1.9.jar;D:\mavenLibs\org\apache\servicecomb\foundation-metrics\1.2.1\foundation-metrics-1.2.1.jar;D:\mavenLibs\org\apache\servicecomb\foundation-common\1.2.1\foundation-common-1.2.1.jar;D:\mavenLibs\com\fasterxml\jackson\dataformat\jackson-dataformat-xml\2.9.8\jackson-dataformat-xml-2.9.8.jar;D:\mavenLibs\com\fasterxml\jackson\module\jackson-module-jaxb-annotations\2.8.11\jackson-module-jaxb-annotations-2.8.11.jar;D:\mavenLibs\org\codehaus\woodstox\stax2-api\3.1.4\stax2-api-3.1.4.jar;D:\mavenLibs\com\fasterxml\woodstox\woodstox-core\5.0.3\woodstox-core-5.0.3.jar;D:\mavenLibs\log4j\log4j\1.2.17\log4j-1.2.17.jar;D:\mavenLibs\org\apache\httpcomponents\httpclient\4.5.5\httpclient-4.5.5.jar;D:\mavenLibs\org\apache\httpcomponents\httpcore\4.4.9\httpcore-4.4.9.jar;D:\mavenLibs\commons-codec\commons-codec\1.10\commons-codec-1.10.jar;D:\mavenLibs\javax\ws\rs\javax.ws.rs-api\2.0.1\javax.ws.rs-api-2.0.1.jar;D:\mavenLibs\commons-io\commons-io\2.6\commons-io-2.6.jar;D:\mavenLibs\com\netflix\spectator\spectator-reg-servo\0.83.0\spectator-reg-servo-0.83.0.jar;D:\mavenLibs\com\netflix\spectator\spectator-api\0.83.0\spectator-api-0.83.0.jar;D:\mavenLibs\org\apache\servicecomb\handler-loadbalance\1.2.1\handler-loadbalance-1.2.1.jar;D:\mavenLibs\com\netflix\ribbon\ribbon\2.2.5\ribbon-2.2.5.jar;D:\mavenLibs\com\netflix\ribbon\ribbon-transport\2.2.5\ribbon-transport-2.2.5.jar;D:\mavenLibs\io\reactivex\rxnetty-contexts\0.4.9\rxnetty-contexts-0.4.9.jar;D:\mavenLibs\io\reactivex\rxnetty-servo\0.4.9\rxnetty-servo-0.4.9.jar;D:\mavenLibs\javax\inject\javax.inject\1\javax.inject-1.jar;D:\mavenLibs\io\reactivex\rxnetty\0.4.9\rxnetty-0.4.9.jar;D:\mavenLibs\commons-configuration\commons-configuration\1.10\commons-configuration-1.10.jar;D:\mavenLibs\commons-logging\commons-logging\1.2\commons-logging-1.2.jar;D:\mavenLibs\com\google\guava\guava\26.0-jre\guava-26.0-jre.jar;D:\mavenLibs\org\checkerframework\checker-qual\2.5.2\checker-qual-2.5.2.jar;D:\mavenLibs\com\google\errorprone\error_prone_annotations\2.1.3\error_prone_annotations-2.1.3.jar;D:\mavenLibs\com\google\j2objc\j2objc-annotations\1.1\j2objc-annotations-1.1.jar;D:\mavenLibs\org\codehaus\mojo\animal-sniffer-annotations\1.14\animal-sniffer-annotations-1.14.jar;D:\mavenLibs\com\netflix\ribbon\ribbon-loadbalancer\2.2.5\ribbon-loadbalancer-2.2.5.jar;D:\mavenLibs\com\netflix\netflix-commons\netflix-statistics\0.1.1\netflix-statistics-0.1.1.jar;D:\mavenLibs\com\netflix\servo\servo-core\0.12.25\servo-core-0.12.25.jar;D:\mavenLibs\com\netflix\netflix-commons\netflix-commons-util\0.1.1\netflix-commons-util-0.1.1.jar;D:\mavenLibs\com\netflix\ribbon\ribbon-core\2.2.5\ribbon-core-2.2.5.jar;D:\mavenLibs\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;D:\mavenLibs\com\netflix\archaius\archaius-core\0.7.3\archaius-core-0.7.3.jar;D:\mavenLibs\com\google\code\findbugs\jsr305\3.0.1\jsr305-3.0.1.jar;D:\mavenLibs\com\fasterxml\jackson\core\jackson-annotations\2.9.8\jackson-annotations-2.9.8.jar;D:\mavenLibs\com\fasterxml\jackson\core\jackson-core\2.9.8\jackson-core-2.9.8.jar;D:\mavenLibs\com\fasterxml\jackson\core\jackson-databind\2.9.8\jackson-databind-2.9.8.jar;D:\mavenLibs\io\reactivex\rxjava\1.1.6\rxjava-1.1.6.jar;D:\mavenLibs\org\apache\commons\commons-lang3\3.7\commons-lang3-3.7.jar;D:\mavenLibs\org\apache\servicecomb\transport-highway\1.2.1\transport-highway-1.2.1.jar;D:\mavenLibs\org\apache\servicecomb\foundation-vertx\1.2.1\foundation-vertx-1.2.1.jar;D:\mavenLibs\io\vertx\vertx-core\3.6.3\vertx-core-3.6.3.jar;D:\mavenLibs\io\netty\netty-common\4.1.28.Final\netty-common-4.1.28.Final.jar;D:\mavenLibs\io\netty\netty-buffer\4.1.28.Final\netty-buffer-4.1.28.Final.jar;D:\mavenLibs\io\netty\netty-transport\4.1.28.Final\netty-transport-4.1.28.Final.jar;D:\mavenLibs\io\netty\netty-handler\4.1.28.Final\netty-handler-4.1.28.Final.jar;D:\mavenLibs\io\netty\netty-handler-proxy\4.1.28.Final\netty-handler-proxy-4.1.28.Final.jar;D:\mavenLibs\io\netty\netty-codec-http\4.1.28.Final\netty-codec-http-4.1.28.Final.jar;D:\mavenLibs\io\netty\netty-codec-http2\4.1.28.Final\netty-codec-http2-4.1.28.Final.jar;D:\mavenLibs\io\netty\netty-resolver\4.1.28.Final\netty-resolver-4.1.28.Final.jar;D:\mavenLibs\io\netty\netty-resolver-dns\4.1.28.Final\netty-resolver-dns-4.1.28.Final.jar;D:\mavenLibs\io\netty\netty-codec-dns\4.1.28.Final\netty-codec-dns-4.1.28.Final.jar;D:\mavenLibs\io\vertx\vertx-web\3.6.3\vertx-web-3.6.3.jar;D:\mavenLibs\io\vertx\vertx-web-common\3.6.3\vertx-web-common-3.6.3.jar;D:\mavenLibs\io\vertx\vertx-auth-common\3.6.3\vertx-auth-common-3.6.3.jar;D:\mavenLibs\io\vertx\vertx-bridge-common\3.6.3\vertx-bridge-common-3.6.3.jar;D:\mavenLibs\org\apache\servicecomb\foundation-ssl\1.2.1\foundation-ssl-1.2.1.jar;D:\mavenLibs\io\netty\netty-tcnative-boringssl-static\2.0.14.Final\netty-tcnative-boringssl-static-2.0.14.Final.jar;D:\mavenLibs\org\apache\servicecomb\common-protobuf\1.2.1\common-protobuf-1.2.1.jar;D:\mavenLibs\org\apache\servicecomb\common-javassist\1.2.1\common-javassist-1.2.1.jar;D:\mavenLibs\org\javassist\javassist\3.21.0-GA\javassist-3.21.0-GA.jar;D:\mavenLibs\org\apache\servicecomb\foundation-protobuf\1.2.1\foundation-protobuf-1.2.1.jar;D:\mavenLibs\io\protostuff\protostuff-parser\2.2.25\protostuff-parser-2.2.25.jar;D:\mavenLibs\org\antlr\antlr4\4.7\antlr4-4.7.jar;D:\mavenLibs\org\antlr\antlr4-runtime\4.7\antlr4-runtime-4.7.jar;D:\mavenLibs\org\antlr\antlr-runtime\3.5.2\antlr-runtime-3.5.2.jar;D:\mavenLibs\org\antlr\ST4\4.0.8\ST4-4.0.8.jar;D:\mavenLibs\org\abego\treelayout\org.abego.treelayout.core\1.0.3\org.abego.treelayout.core-1.0.3.jar;D:\mavenLibs\org\glassfish\javax.json\1.0.4\javax.json-1.0.4.jar;D:\mavenLibs\com\ibm\icu\icu4j\58.2\icu4j-58.2.jar;D:\mavenLibs\com\google\inject\extensions\guice-multibindings\4.1.0\guice-multibindings-4.1.0.jar;D:\mavenLibs\com\google\inject\extensions\guice-assistedinject\4.1.0\guice-assistedinject-4.1.0.jar;D:\mavenLibs\io\protostuff\protostuff-runtime\1.5.9\protostuff-runtime-1.5.9.jar;D:\mavenLibs\io\protostuff\protostuff-api\1.5.9\protostuff-api-1.5.9.jar;D:\mavenLibs\io\protostuff\protostuff-collectionschema\1.5.9\protostuff-collectionschema-1.5.9.jar;D:\mavenLibs\io\protostuff\protostuff-core\1.5.9\protostuff-core-1.5.9.jar;D:\mavenLibs\com\google\protobuf\protobuf-java\3.6.1\protobuf-java-3.6.1.jar;D:\mavenLibs\org\apache\servicecomb\transport-common\1.2.1\transport-common-1.2.1.jar;D:\mavenLibs\org\apache\servicecomb\foundation-config\1.2.1\foundation-config-1.2.1.jar;D:\mavenLibs\io\netty\netty-codec\4.1.28.Final\netty-codec-4.1.28.Final.jar;D:\mavenLibs\io\netty\netty-codec-socks\4.1.28.Final\netty-codec-socks-4.1.28.Final.jar;D:\mavenLibs\org\apache\servicecomb\handler-flowcontrol-qps\1.2.1\handler-flowcontrol-qps-1.2.1.jar;D:\mavenLibs\org\apache\servicecomb\transport-rest-vertx\1.2.1\transport-rest-vertx-1.2.1.jar;D:\mavenLibs\org\apache\servicecomb\transport-rest-client\1.2.1\transport-rest-client-1.2.1.jar;D:\mavenLibs\org\apache\servicecomb\common-rest\1.2.1\common-rest-1.2.1.jar;D:\mavenLibs\javax\servlet\javax.servlet-api\3.1.0\javax.servlet-api-3.1.0.jar;D:\mavenLibs\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar com.example.demo.DemoApplication

. _ _ /\ / '_ () \ \ \ \ ( ( )\ | ' | '| | ' \/ ` | \ \ \ \ \/ _)| |)| | | | | || (| | ) ) ) ) ' |__| .|| ||| |\, | / / / / =========|_|==============|__/=//// :: Spring Boot :: (v1.5.12.RELEASE)

2020-01-12 14:25:04.309 INFO 7876 --- [ main] com.example.demo.DemoApplication : Starting DemoApplication on DESKTOP-5R8O0OO with PID 7876 (C:\Users\zengqingrong\Downloads\Compressed\demo_3\demo\target\classes started by zengqingrong in C:\Users\zengqingrong\Downloads\Compressed\demo_3\demo) 2020-01-12 14:25:04.315 INFO 7876 --- [ main] com.example.demo.DemoApplication : No active profile set, falling back to default profiles: default 2020-01-12 14:25:04.478 INFO 7876 --- [ main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@5f9be66c: startup date [Sun Jan 12 14:25:04 CST 2020]; root of context hierarchy 2020-01-12 14:25:05.216 INFO 7876 --- [ main] o.s.b.f.xml.XmlBeanDefinitionReader : Loading XML bean definitions from URL [jar:file:/D:/mavenLibs/org/apache/servicecomb/java-chassis-core/1.2.1/java-chassis-core-1.2.1.jar!/META-INF/spring/cse.bean.xml] 2020-01-12 14:25:05.904 INFO 7876 --- [ main] o.s.b.f.xml.XmlBeanDefinitionReader : Loading XML bean definitions from URL [jar:file:/D:/mavenLibs/org/apache/servicecomb/handler-bizkeeper/1.2.1/handler-bizkeeper-1.2.1.jar!/META-INF/spring/cse.bean.xml] 2020-01-12 14:25:05.923 INFO 7876 --- [ main] o.s.b.f.xml.XmlBeanDefinitionReader : Loading XML bean definitions from URL [jar:file:/D:/mavenLibs/org/apache/servicecomb/handler-loadbalance/1.2.1/handler-loadbalance-1.2.1.jar!/META-INF/spring/cse.bean.xml] 2020-01-12 14:25:05.941 INFO 7876 --- [ main] o.s.b.f.xml.XmlBeanDefinitionReader : Loading XML bean definitions from URL [jar:file:/D:/mavenLibs/org/apache/servicecomb/foundation-vertx/1.2.1/foundation-vertx-1.2.1.jar!/META-INF/spring/cse.bean.xml] 2020-01-12 14:25:05.958 INFO 7876 --- [ main] o.s.b.f.xml.XmlBeanDefinitionReader : Loading XML bean definitions from URL [jar:file:/D:/mavenLibs/org/apache/servicecomb/foundation-config/1.2.1/foundation-config-1.2.1.jar!/META-INF/spring/cse.bean.xml] WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.springframework.cglib.core.ReflectUtils$1 (file:/D:/mavenLibs/org/springframework/spring-core/4.3.16.RELEASE/spring-core-4.3.16.RELEASE.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) WARNING: Please consider reporting this to the maintainers of org.springframework.cglib.core.ReflectUtils$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 2020-01-12 14:25:06.350 INFO 7876 --- [ main] o.a.s.c.ConfigurationSpringInitializer : Environment received, will get configurations from [org.springframework.core.env.StandardEnvironment@15288143]. 2020-01-12 14:25:06.368 WARN 7876 --- [ main] c.n.c.sources.URLConfigurationSource : No URLs will be polled as dynamic configuration sources. 2020-01-12 14:25:06.368 INFO 7876 --- [ main] c.n.c.sources.URLConfigurationSource : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath. 2020-01-12 14:25:06.456 INFO 7876 --- [ main] o.apache.servicecomb.config.ConfigUtil : create local config: 2020-01-12 14:25:06.456 INFO 7876 --- [ main] o.apache.servicecomb.config.ConfigUtil : jar:file:/D:/mavenLibs/org/apache/servicecomb/java-chassis-core/1.2.1/java-chassis-core-1.2.1.jar!/microservice.yaml. 2020-01-12 14:25:06.456 INFO 7876 --- [ main] o.apache.servicecomb.config.ConfigUtil : file:/C:/Users/zengqingrong/Downloads/Compressed/demo_3/demo/target/classes/microservice.yaml. 2020-01-12 14:25:06.486 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : Found SPI service org.apache.servicecomb.config.spi.ConfigCenterConfigurationSource, count=0. 2020-01-12 14:25:06.486 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : Can not find SPI service for org.apache.servicecomb.config.spi.ConfigCenterConfigurationSource 2020-01-12 14:25:06.486 INFO 7876 --- [ main] o.apache.servicecomb.config.ConfigUtil : config center SPI service can not find, skip to load configuration from config center 2020-01-12 14:25:06.503 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : Can not find SPI service for org.apache.servicecomb.config.spi.ConfigCenterConfigurationSource 2020-01-12 14:25:06.507 INFO 7876 --- [ main] o.apache.servicecomb.config.ConfigUtil : create local config: 2020-01-12 14:25:06.507 INFO 7876 --- [ main] o.apache.servicecomb.config.ConfigUtil : jar:file:/D:/mavenLibs/org/apache/servicecomb/java-chassis-core/1.2.1/java-chassis-core-1.2.1.jar!/microservice.yaml. 2020-01-12 14:25:06.508 INFO 7876 --- [ main] o.apache.servicecomb.config.ConfigUtil : file:/C:/Users/zengqingrong/Downloads/Compressed/demo_3/demo/target/classes/microservice.yaml. 2020-01-12 14:25:06.558 INFO 7876 --- [ main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2020-01-12 14:25:06.740 INFO 7876 --- [ main] o.a.s.s.d.MicroserviceDefinition : load microservice config, name=HelloServiceComb, paths=[jar:file:/D:/mavenLibs/org/apache/servicecomb/java-chassis-core/1.2.1/java-chassis-core-1.2.1.jar!/microservice.yaml, file:/C:/Users/zengqingrong/Downloads/Compressed/demo_3/demo/target/classes/microservice.yaml] 2020-01-12 14:25:06.805 INFO 7876 --- [ main] o.a.s.s.registry.ServiceRegistryFactory : It is running in the normal mode, a separated service registry is required 2020-01-12 14:25:06.824 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : Found SPI service org.apache.servicecomb.serviceregistry.registry.ServiceRegistryTaskInitializer, count=1. 2020-01-12 14:25:06.824 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : 0. org.apache.servicecomb.serviceregistry.diagnosis.instance.InstanceCacheCheckTask. 2020-01-12 14:25:06.828 INFO 7876 --- [ main] o.a.s.s.r.AbstractServiceRegistry : microserviceVersionFactory is org.apache.servicecomb.core.definition.PrivateMicroserviceVersionMetaFactory. 2020-01-12 14:25:06.838 INFO 7876 --- [ main] o.apache.servicecomb.config.ConfigUtil : create local config: 2020-01-12 14:25:06.838 INFO 7876 --- [ main] o.apache.servicecomb.config.ConfigUtil : jar:file:/D:/mavenLibs/org/apache/servicecomb/java-chassis-core/1.2.1/java-chassis-core-1.2.1.jar!/microservice.yaml. 2020-01-12 14:25:06.839 INFO 7876 --- [ main] o.apache.servicecomb.config.ConfigUtil : file:/C:/Users/zengqingrong/Downloads/Compressed/demo_3/demo/target/classes/microservice.yaml. 2020-01-12 14:25:06.842 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : Found SPI service org.apache.servicecomb.deployment.DeploymentProvider, count=1. 2020-01-12 14:25:06.842 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : 0. org.apache.servicecomb.deployment.DefaultDeploymentProvider. 2020-01-12 14:25:07.909 INFO 7876 --- [ main] o.a.s.foundation.common.net.NetUtils : add network interface name:wlan0,host address:192.168.3.4 2020-01-12 14:25:07.950 INFO 7876 --- [ main] o.a.s.foundation.common.net.NetUtils : add network interface name:eth5,host address:10.0.75.1 2020-01-12 14:25:08.059 INFO 7876 --- [ main] o.a.s.foundation.common.net.NetUtils : add network interface name:eth14,host address:172.18.16.97 2020-01-12 14:25:08.353 INFO 7876 --- [ main] o.a.s.foundation.common.net.NetUtils : get localhost address: 10.0.75.1 2020-01-12 14:25:08.353 INFO 7876 --- [ main] o.a.s.foundation.common.net.NetUtils : add host name from localhost:DESKTOP-5R8O0OO,host address:10.0.75.1 2020-01-12 14:25:08.456 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : Found SPI service org.apache.servicecomb.swagger.generator.core.CommonParameterTypeProcessor, count=5. 2020-01-12 14:25:08.456 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : 0. org.apache.servicecomb.swagger.invocation.generator.InvocationContextProcessor. 2020-01-12 14:25:08.456 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : 1. org.apache.servicecomb.swagger.generator.springmvc.processor.parameter.MultipartFileTypeProcessor. 2020-01-12 14:25:08.457 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : 2. org.apache.servicecomb.swagger.generator.springmvc.processor.parameter.MultipartFileArrayTypeProcessor. 2020-01-12 14:25:08.457 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : 3. org.apache.servicecomb.swagger.generator.springmvc.processor.parameter.MultipartFileListTypeProcessor. 2020-01-12 14:25:08.457 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : 4. org.apache.servicecomb.swagger.generator.core.processor.parametertype.HttpServletRequestProcessor. 2020-01-12 14:25:08.477 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : Found SPI service org.apache.servicecomb.swagger.generator.core.ResponseTypeProcessor, count=4. 2020-01-12 14:25:08.477 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : 0. org.apache.servicecomb.swagger.generator.springmvc.processor.response.ResponseEntityProcessor. 2020-01-12 14:25:08.477 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : 1. org.apache.servicecomb.swagger.generator.core.processor.response.CompletableFutureProcessor. 2020-01-12 14:25:08.477 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : 2. org.apache.servicecomb.swagger.generator.core.processor.response.OptionalProcessor. 2020-01-12 14:25:08.477 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : 3. org.apache.servicecomb.swagger.generator.jaxrs.processor.response.JaxrsResponseProcessor. 2020-01-12 14:25:08.529 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : Found SPI service org.apache.servicecomb.swagger.generator.core.SwaggerGeneratorContext, count=3. 2020-01-12 14:25:08.530 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : 0. org.apache.servicecomb.swagger.generator.springmvc.SpringmvcSwaggerGeneratorContext. 2020-01-12 14:25:08.530 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : 1. org.apache.servicecomb.swagger.generator.jaxrs.JaxrsSwaggerGeneratorContext. 2020-01-12 14:25:08.530 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : 2. org.apache.servicecomb.swagger.generator.pojo.PojoSwaggerGeneratorContext. 2020-01-12 14:25:08.548 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : Found SPI service org.apache.servicecomb.swagger.invocation.response.producer.ProducerResponseMapperFactory, count=6. 2020-01-12 14:25:08.549 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : 0. org.apache.servicecomb.swagger.invocation.springmvc.response.SpringmvcProducerResponseMapperFactory. 2020-01-12 14:25:08.549 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : 1. org.apache.servicecomb.swagger.invocation.response.producer.CseResponseProducerResponseMapperFactory. 2020-01-12 14:25:08.549 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : 2. org.apache.servicecomb.swagger.invocation.response.producer.CompletableFutureProducerResponseMapperFactory. 2020-01-12 14:25:08.549 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : 3. org.apache.servicecomb.swagger.invocation.response.producer.OptionalProducerResponseMapperFactory. 2020-01-12 14:25:08.549 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : 4. org.apache.servicecomb.swagger.invocation.jaxrs.response.JaxrsProducerResponseMapperFactory. 2020-01-12 14:25:08.550 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : 5. org.apache.servicecomb.swagger.invocation.response.producer.DefaultProducerResponseMapperFactory. 2020-01-12 14:25:08.556 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : Found SPI service org.apache.servicecomb.swagger.invocation.response.consumer.ConsumerResponseMapperFactory, count=6. 2020-01-12 14:25:08.557 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : 0. org.apache.servicecomb.swagger.invocation.springmvc.response.SpringmvcConsumerResponseMapperFactory. 2020-01-12 14:25:08.558 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : 1. org.apache.servicecomb.swagger.invocation.response.consumer.CseResponseConsumerResponseMapperFactory. 2020-01-12 14:25:08.559 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : 2. org.apache.servicecomb.swagger.invocation.response.consumer.CompletableFutureConsumerResponseMapperFactory. 2020-01-12 14:25:08.559 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : 3. org.apache.servicecomb.swagger.invocation.response.consumer.OptionalConsumerResponseMapperFactory. 2020-01-12 14:25:08.559 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : 4. org.apache.servicecomb.swagger.invocation.jaxrs.response.JaxrsConsumerResponseMapperFactory. 2020-01-12 14:25:08.559 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : 5. org.apache.servicecomb.swagger.invocation.response.consumer.DefaultConsumerResponseMapperFactory. 2020-01-12 14:25:08.989 INFO 7876 --- [ main] o.a.s.core.executor.GroupExecutor : thread pool rules: 1.use core threads. 2.if all core threads are busy, then create new thread. 3.if thread count reach the max limitation, then queue the request. 4.if queue is full, and threads count is max, then reject the request. 2020-01-12 14:25:08.990 INFO 7876 --- [ main] o.a.s.core.executor.GroupExecutor : executor group=2. per group settings, coreThreads=25, maxThreads=100, maxIdleInSecond=60, maxQueueSize=2147483647. 2020-01-12 14:25:09.042 WARN 7876 --- [ main] o.h.v.m.ParameterMessageInterpolator : HV000184: ParameterMessageInterpolator has been chosen, EL interpolation will not be supported 2020-01-12 14:25:09.328 WARN 7876 --- [ main] o.h.v.m.ParameterMessageInterpolator : HV000184: ParameterMessageInterpolator has been chosen, EL interpolation will not be supported 2020-01-12 14:25:09.764 INFO 7876 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup 2020-01-12 14:25:09.799 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : Found SPI service org.apache.servicecomb.core.BootListener, count=0. 2020-01-12 14:25:10.041 INFO 7876 --- [ main] c.n.config.util.ConfigurationUtils : Loaded properties file jar:file:/D:/mavenLibs/org/apache/servicecomb/handler-bizkeeper/1.2.1/handler-bizkeeper-1.2.1.jar!/hystrix-plugins.properties 2020-01-12 14:25:10.060 INFO 7876 --- [ main] s.s.g.c.CompositeSwaggerGeneratorContext : select [org.apache.servicecomb.swagger.generator.springmvc.SpringmvcSwaggerGeneratorContext] for [com.example.demo.HelloImpl] to generate schema. 2020-01-12 14:25:10.087 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : Found SPI service org.apache.servicecomb.swagger.extend.property.creator.PropertyCreator, count=1. 2020-01-12 14:25:10.088 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : 0. org.apache.servicecomb.swagger.extend.property.creator.springmvc.MultipartFilePropertyCreator. 2020-01-12 14:25:10.203 INFO 7876 --- [ main] o.a.s.c.d.schema.ProducerSchemaFactory : generate swagger for start.servicecomb.io/HelloServiceComb/hello, swagger: --- swagger: "2.0" info: version: "1.0.0" title: "swagger definition for com.example.demo.HelloImpl" x-java-interface: "cse.gen.start.servicecomb.io.HelloServiceComb.hello.HelloImplIntf" basePath: "/" consumes:

2020-01-12 14:25:10.203 INFO 7876 --- [ main] o.a.s.c.definition.loader.SchemaLoader : register schema start.servicecomb.io/HelloServiceComb/hello 2020-01-12 14:25:10.301 INFO 7876 --- [ main] o.a.s.common.javassist.JavassistUtils : create CtClass cse.gen.start.servicecomb.io.HelloServiceComb.hello.HelloImplIntf in classLoader jdk.internal.loader.ClassLoaders$AppClassLoader@2437c6dc. 2020-01-12 14:25:10.302 INFO 7876 --- [ main] o.a.s.common.javassist.JavassistUtils : create class cse.gen.start.servicecomb.io.HelloServiceComb.hello.HelloImplIntf in classLoader jdk.internal.loader.ClassLoaders$AppClassLoader@2437c6dc. 2020-01-12 14:25:10.304 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : Found SPI service org.apache.servicecomb.swagger.invocation.response.ResponseMetaMapper, count=0. 2020-01-12 14:25:10.304 INFO 7876 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : Can not find SPI service for org.apache.servicecomb.swagger.invocation.response.ResponseMetaMapper 2020-01-12 14:25:10.314 ERROR 7876 --- [ main] o.a.s.core.definition.SchemaMeta : Unhandled exception to service HelloServiceComb schema hello 2020-01-12 14:25:10.315 INFO 7876 --- [ main] org.apache.servicecomb.core.SCBEngine : ServiceComb is closing now... 2020-01-12 14:25:10.315 INFO 7876 --- [ main] org.apache.servicecomb.core.SCBEngine : BootListener org.apache.servicecomb.core.provider.producer.ProducerProviderManager succeed to process BEFORE_CLOSE. 2020-01-12 14:25:10.315 INFO 7876 --- [ main] org.apache.servicecomb.core.SCBEngine : BootListener org.apache.servicecomb.common.rest.RestEngineSchemaListener succeed to process BEFORE_CLOSE. 2020-01-12 14:25:10.317 INFO 7876 --- [ main] o.a.s.s.registry.RemoteServiceRegistry : service center task is shutdown. 2020-01-12 14:25:10.317 INFO 7876 --- [ main] o.a.s.foundation.vertx.VertxUtils : Closing vertx registry. 2020-01-12 14:25:10.320 INFO 7876 --- [ main] o.a.s.foundation.vertx.VertxUtils : Vertx registry not exist. 2020-01-12 14:25:10.320 INFO 7876 --- [ main] o.a.s.foundation.vertx.VertxUtils : Closing vertx config-center. 2020-01-12 14:25:10.320 INFO 7876 --- [ main] o.a.s.foundation.vertx.VertxUtils : Vertx config-center not exist. 2020-01-12 14:25:10.320 INFO 7876 --- [ main] o.a.s.foundation.vertx.VertxUtils : Closing vertx transport. 2020-01-12 14:25:10.356 INFO 7876 --- [ntloop-thread-8] o.a.s.foundation.vertx.VertxUtils : Success to close vertx transport. 2020-01-12 14:25:10.357 INFO 7876 --- [ main] org.apache.servicecomb.core.SCBEngine : BootListener org.apache.servicecomb.core.provider.producer.ProducerProviderManager succeed to process AFTER_CLOSE. 2020-01-12 14:25:10.357 INFO 7876 --- [ main] org.apache.servicecomb.core.SCBEngine : BootListener org.apache.servicecomb.common.rest.RestEngineSchemaListener succeed to process AFTER_CLOSE. 2020-01-12 14:25:10.357 INFO 7876 --- [ main] org.apache.servicecomb.core.SCBEngine : ServiceComb had closed 2020-01-12 14:25:10.362 INFO 7876 --- [ main] utoConfigurationReportLoggingInitializer :

Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled. 2020-01-12 14:25:10.380 ERROR 7876 --- [ main] o.s.boot.SpringApplication : Application startup failed

java.lang.IllegalStateException: ServiceComb init failed. at org.apache.servicecomb.core.SCBEngine.init(SCBEngine.java:225) ~[java-chassis-core-1.2.1.jar:1.2.1] at org.apache.servicecomb.core.CseApplicationListener.onApplicationEvent(CseApplicationListener.java:81) ~[java-chassis-core-1.2.1.jar:1.2.1] at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) ~[spring-context-4.3.20.RELEASE.jar:4.3.20.RELEASE] at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) ~[spring-context-4.3.20.RELEASE.jar:4.3.20.RELEASE] at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) ~[spring-context-4.3.20.RELEASE.jar:4.3.20.RELEASE] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:393) ~[spring-context-4.3.20.RELEASE.jar:4.3.20.RELEASE] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:347) ~[spring-context-4.3.20.RELEASE.jar:4.3.20.RELEASE] at org.springframework.boot.context.event.EventPublishingRunListener.finished(EventPublishingRunListener.java:101) ~[spring-boot-1.5.12.RELEASE.jar:1.5.12.RELEASE] at org.springframework.boot.SpringApplicationRunListeners.callFinishedListener(SpringApplicationRunListeners.java:79) ~[spring-boot-1.5.12.RELEASE.jar:1.5.12.RELEASE] at org.springframework.boot.SpringApplicationRunListeners.finished(SpringApplicationRunListeners.java:72) ~[spring-boot-1.5.12.RELEASE.jar:1.5.12.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:305) ~[spring-boot-1.5.12.RELEASE.jar:1.5.12.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118) ~[spring-boot-1.5.12.RELEASE.jar:1.5.12.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107) ~[spring-boot-1.5.12.RELEASE.jar:1.5.12.RELEASE] at com.example.demo.DemoApplication.main(DemoApplication.java:12) ~[classes/:na] Caused by: java.lang.IllegalStateException: Failed to create lambda from public void org.apache.servicecomb.core.definition.OperationConfig.setSlowInvocationEnabled(boolean) at org.apache.servicecomb.foundation.common.utils.LambdaMetafactoryUtils.createLambda(LambdaMetafactoryUtils.java:157) ~[foundation-common-1.2.1.jar:1.2.1] at org.apache.servicecomb.config.inject.ConfigObjectFactory.doCreate(ConfigObjectFactory.java:103) ~[foundation-config-1.2.1.jar:1.2.1] at org.apache.servicecomb.config.inject.ConfigObjectFactory.create(ConfigObjectFactory.java:68) ~[foundation-config-1.2.1.jar:1.2.1] at org.apache.servicecomb.config.priority.PriorityPropertyManager.createConfigObject(PriorityPropertyManager.java:131) ~[foundation-config-1.2.1.jar:1.2.1] at org.apache.servicecomb.config.priority.PriorityPropertyManager.createConfigObject(PriorityPropertyManager.java:126) ~[foundation-config-1.2.1.jar:1.2.1] at org.apache.servicecomb.core.definition.OperationMeta.init(OperationMeta.java:83) ~[java-chassis-core-1.2.1.jar:1.2.1] at org.apache.servicecomb.core.definition.SchemaMeta.initOperations(SchemaMeta.java:129) ~[java-chassis-core-1.2.1.jar:1.2.1] at org.apache.servicecomb.core.definition.SchemaMeta.(SchemaMeta.java:75) ~[java-chassis-core-1.2.1.jar:1.2.1] at org.apache.servicecomb.core.definition.loader.SchemaLoader.registerSchema(SchemaLoader.java:86) ~[java-chassis-core-1.2.1.jar:1.2.1] at org.apache.servicecomb.core.definition.schema.ProducerSchemaFactory.createSchema(ProducerSchemaFactory.java:133) ~[java-chassis-core-1.2.1.jar:1.2.1] at org.apache.servicecomb.core.definition.schema.ProducerSchemaFactory.createSchema(ProducerSchemaFactory.java:54) ~[java-chassis-core-1.2.1.jar:1.2.1] at org.apache.servicecomb.core.definition.schema.AbstractSchemaFactory.getOrCreateSchema(AbstractSchemaFactory.java:58) ~[java-chassis-core-1.2.1.jar:1.2.1] at org.apache.servicecomb.core.definition.schema.ProducerSchemaFactory.getOrCreateProducerSchema(ProducerSchemaFactory.java:76) ~[java-chassis-core-1.2.1.jar:1.2.1] at org.apache.servicecomb.provider.rest.common.RestProducerProvider.init(RestProducerProvider.java:45) ~[provider-rest-common-1.2.1.jar:1.2.1] at org.apache.servicecomb.core.provider.producer.ProducerProviderManager.init(ProducerProviderManager.java:54) ~[java-chassis-core-1.2.1.jar:1.2.1] at org.apache.servicecomb.core.SCBEngine.doInit(SCBEngine.java:246) ~[java-chassis-core-1.2.1.jar:1.2.1] at org.apache.servicecomb.core.SCBEngine.init(SCBEngine.java:214) ~[java-chassis-core-1.2.1.jar:1.2.1] ... 13 common frames omitted Caused by: java.lang.invoke.LambdaConversionException: Type mismatch for instantiated parameter 1: boolean is not a subtype of class java.lang.Object at java.base/java.lang.invoke.AbstractValidatingLambdaMetafactory.checkDescriptor(AbstractValidatingLambdaMetafactory.java:308) ~[na:na] at java.base/java.lang.invoke.AbstractValidatingLambdaMetafactory.validateMetafactoryArgs(AbstractValidatingLambdaMetafactory.java:294) ~[na:na] at java.base/java.lang.invoke.LambdaMetafactory.metafactory(LambdaMetafactory.java:328) ~[na:na] at org.apache.servicecomb.foundation.common.utils.LambdaMetafactoryUtils.createLambda(LambdaMetafactoryUtils.java:147) ~[foundation-common-1.2.1.jar:1.2.1] ... 29 common frames omitted

2020-01-12 14:25:10.382 INFO 7876 --- [ main] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@5f9be66c: startup date [Sun Jan 12 14:25:04 CST 2020]; root of context hierarchy 2020-01-12 14:25:10.385 INFO 7876 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Unregistering JMX-exposed beans on shutdown

Process finished with exit code 1 项目包: demo.zip

liubao68 commented 4 years ago

我自己用脚手架生成了项目,是可以工作的。并且用你的附件demo.zip编译执行,也是可以工作的。 是否和你的编译环境有关,能够检查下JAVA环境,比如版本等信息。

mvn clean install
cd target\bin
java -jar demo-0.0.1-SNAPSHOT-exec.jar
liubao68 commented 4 years ago

Close old issues. Please feel free to open a new one.