/home/sunyuhua/dev/jdk-17.0.7/bin/java -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:40119,suspend=y,server=n -XX:TieredStopAtLevel=1 -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -Dmanagement.endpoints.jmx.exposure.include=* -javaagent:/devtools/ideaIU-2023.1.3/idea-IU-231.9161.38/plugins/java/lib/rt/debugger-agent.jar=file:/tmp/capture.props -Dfile.encoding=UTF-8 -classpath /home/sunyuhua/IdeaProjects/TimeSport/event-api/target/classes:/home/sunyuhua/.m2/repository/org/springframework/boot/spring-boot-starter/3.0.9/spring-boot-starter-3.0.9.jar:/home/sunyuhua/.m2/repository/org/springframework/boot/spring-boot/3.0.9/spring-boot-3.0.9.jar:/home/sunyuhua/.m2/repository/org/springframework/spring-context/6.0.4/spring-context-6.0.4.jar:/home/sunyuhua/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/3.0.9/spring-boot-autoconfigure-3.0.9.jar:/home/sunyuhua/.m2/repository/org/springframework/boot/spring-boot-starter-logging/3.0.9/spring-boot-starter-logging-3.0.9.jar:/home/sunyuhua/.m2/repository/ch/qos/logback/logback-classic/1.4.8/logback-classic-1.4.8.jar:/home/sunyuhua/.m2/repository/ch/qos/logback/logback-core/1.4.8/logback-core-1.4.8.jar:/home/sunyuhua/.m2/repository/org/apache/logging/log4j/log4j-to-slf4j/2.19.0/log4j-to-slf4j-2.19.0.jar:/home/sunyuhua/.m2/repository/org/apache/logging/log4j/log4j-api/2.19.0/log4j-api-2.19.0.jar:/home/sunyuhua/.m2/repository/org/slf4j/jul-to-slf4j/2.0.7/jul-to-slf4j-2.0.7.jar:/home/sunyuhua/.m2/repository/jakarta/annotation/jakarta.annotation-api/2.1.1/jakarta.annotation-api-2.1.1.jar:/home/sunyuhua/.m2/repository/org/springframework/spring-core/6.0.4/spring-core-6.0.4.jar:/home/sunyuhua/.m2/repository/org/springframework/spring-jcl/6.0.4/spring-jcl-6.0.4.jar:/home/sunyuhua/.m2/repository/org/yaml/snakeyaml/1.33/snakeyaml-1.33.jar:/home/sunyuhua/.m2/repository/org/springframework/boot/spring-boot-starter-jdbc/3.0.9/spring-boot-starter-jdbc-3.0.9.jar:/home/sunyuhua/.m2/repository/com/zaxxer/HikariCP/5.0.1/HikariCP-5.0.1.jar:/home/sunyuhua/.m2/repository/org/springframework/spring-jdbc/6.0.4/spring-jdbc-6.0.4.jar:/home/sunyuhua/.m2/repository/org/springframework/spring-beans/6.0.4/spring-beans-6.0.4.jar:/home/sunyuhua/.m2/repository/org/springframework/spring-tx/6.0.4/spring-tx-6.0.4.jar:/home/sunyuhua/.m2/repository/org/springframework/boot/spring-boot-starter-data-jpa/3.0.9/spring-boot-starter-data-jpa-3.0.9.jar:/home/sunyuhua/.m2/repository/org/springframework/boot/spring-boot-starter-aop/3.0.9/spring-boot-starter-aop-3.0.9.jar:/home/sunyuhua/.m2/repository/org/springframework/spring-aop/6.0.4/spring-aop-6.0.4.jar:/home/sunyuhua/.m2/repository/org/aspectj/aspectjweaver/1.9.19/aspectjweaver-1.9.19.jar:/home/sunyuhua/.m2/repository/org/hibernate/orm/hibernate-core/6.1.7.Final/hibernate-core-6.1.7.Final.jar:/home/sunyuhua/.m2/repository/jakarta/persistence/jakarta.persistence-api/3.1.0/jakarta.persistence-api-3.1.0.jar:/home/sunyuhua/.m2/repository/jakarta/transaction/jakarta.transaction-api/2.0.1/jakarta.transaction-api-2.0.1.jar:/home/sunyuhua/.m2/repository/org/jboss/logging/jboss-logging/3.5.3.Final/jboss-logging-3.5.3.Final.jar:/home/sunyuhua/.m2/repository/org/hibernate/common/hibernate-commons-annotations/6.0.6.Final/hibernate-commons-annotations-6.0.6.Final.jar:/home/sunyuhua/.m2/repository/org/jboss/jandex/2.4.2.Final/jandex-2.4.2.Final.jar:/home/sunyuhua/.m2/repository/com/fasterxml/classmate/1.5.1/classmate-1.5.1.jar:/home/sunyuhua/.m2/repository/net/bytebuddy/byte-buddy/1.12.23/byte-buddy-1.12.23.jar:/home/sunyuhua/.m2/repository/org/glassfish/jaxb/jaxb-runtime/4.0.1/jaxb-runtime-4.0.1.jar:/home/sunyuhua/.m2/repository/org/glassfish/jaxb/jaxb-core/4.0.1/jaxb-core-4.0.1.jar:/home/sunyuhua/.m2/repository/org/eclipse/angus/angus-activation/1.0.0/angus-activation-1.0.0.jar:/home/sunyuhua/.m2/repository/org/glassfish/jaxb/txw2/4.0.1/txw2-4.0.1.jar:/home/sunyuhua/.m2/repository/com/sun/istack/istack-commons-runtime/4.1.1/istack-commons-runtime-4.1.1.jar:/home/sunyuhua/.m2/repository/jakarta/inject/jakarta.inject-api/2.0.0/jakarta.inject-api-2.0.0.jar:/home/sunyuhua/.m2/repository/org/antlr/antlr4-runtime/4.10.1/antlr4-runtime-4.10.1.jar:/home/sunyuhua/.m2/repository/org/springframework/data/spring-data-jpa/3.0.1/spring-data-jpa-3.0.1.jar:/home/sunyuhua/.m2/repository/org/springframework/data/spring-data-commons/3.0.1/spring-data-commons-3.0.1.jar:/home/sunyuhua/.m2/repository/org/springframework/spring-orm/6.0.4/spring-orm-6.0.4.jar:/home/sunyuhua/.m2/repository/org/springframework/spring-aspects/6.0.4/spring-aspects-6.0.4.jar:/home/sunyuhua/.m2/repository/com/mysql/mysql-connector-j/8.0.33/mysql-connector-j-8.0.33.jar:/home/sunyuhua/.m2/repository/org/flywaydb/flyway-core/9.21.1/flyway-core-9.21.1.jar:/home/sunyuhua/.m2/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-toml/2.14.1/jackson-dataformat-toml-2.14.1.jar:/home/sunyuhua/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.14.1/jackson-databind-2.14.1.jar:/home/sunyuhua/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.14.1/jackson-annotations-2.14.1.jar:/home/sunyuhua/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.14.1/jackson-core-2.14.1.jar:/home/sunyuhua/.m2/repository/com/google/code/gson/gson/2.9.1/gson-2.9.1.jar:/home/sunyuhua/.m2/repository/org/projectlombok/lombok/1.18.28/lombok-1.18.28.jar:/home/sunyuhua/.m2/repository/org/springframework/cloud/spring-cloud-starter-bootstrap/4.0.0/spring-cloud-starter-bootstrap-4.0.0.jar:/home/sunyuhua/.m2/repository/org/springframework/cloud/spring-cloud-starter/4.0.0/spring-cloud-starter-4.0.0.jar:/home/sunyuhua/.m2/repository/org/springframework/security/spring-security-rsa/1.0.11.RELEASE/spring-security-rsa-1.0.11.RELEASE.jar:/home/sunyuhua/.m2/repository/org/bouncycastle/bcpkix-jdk15on/1.69/bcpkix-jdk15on-1.69.jar:/home/sunyuhua/.m2/repository/org/bouncycastle/bcprov-jdk15on/1.69/bcprov-jdk15on-1.69.jar:/home/sunyuhua/.m2/repository/org/bouncycastle/bcutil-jdk15on/1.69/bcutil-jdk15on-1.69.jar:/home/sunyuhua/.m2/repository/org/springframework/boot/spring-boot-starter-web/3.0.9/spring-boot-starter-web-3.0.9.jar:/home/sunyuhua/.m2/repository/org/springframework/boot/spring-boot-starter-json/3.0.9/spring-boot-starter-json-3.0.9.jar:/home/sunyuhua/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.14.1/jackson-datatype-jdk8-2.14.1.jar:/home/sunyuhua/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.14.1/jackson-datatype-jsr310-2.14.1.jar:/home/sunyuhua/.m2/repository/com/fasterxml/jackson/module/jackson-module-parameter-names/2.14.1/jackson-module-parameter-names-2.14.1.jar:/home/sunyuhua/.m2/repository/org/springframework/boot/spring-boot-starter-tomcat/3.0.9/spring-boot-starter-tomcat-3.0.9.jar:/home/sunyuhua/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/10.1.11/tomcat-embed-core-10.1.11.jar:/home/sunyuhua/.m2/repository/org/apache/tomcat/embed/tomcat-embed-el/10.1.11/tomcat-embed-el-10.1.11.jar:/home/sunyuhua/.m2/repository/org/apache/tomcat/embed/tomcat-embed-websocket/10.1.11/tomcat-embed-websocket-10.1.11.jar:/home/sunyuhua/.m2/repository/org/springframework/spring-web/6.0.4/spring-web-6.0.4.jar:/home/sunyuhua/.m2/repository/io/micrometer/micrometer-observation/1.10.3/micrometer-observation-1.10.3.jar:/home/sunyuhua/.m2/repository/io/micrometer/micrometer-commons/1.10.3/micrometer-commons-1.10.3.jar:/home/sunyuhua/.m2/repository/org/springframework/spring-webmvc/6.0.4/spring-webmvc-6.0.4.jar:/home/sunyuhua/.m2/repository/org/springframework/spring-expression/6.0.4/spring-expression-6.0.4.jar:/home/sunyuhua/.m2/repository/com/alibaba/cloud/spring-cloud-starter-alibaba-nacos-config/2022.0.0.0-RC2/spring-cloud-starter-alibaba-nacos-config-2022.0.0.0-RC2.jar:/home/sunyuhua/.m2/repository/com/alibaba/cloud/spring-cloud-alibaba-commons/2022.0.0.0-RC2/spring-cloud-alibaba-commons-2022.0.0.0-RC2.jar:/home/sunyuhua/.m2/repository/com/alibaba/spring/spring-context-support/1.0.11/spring-context-support-1.0.11.jar:/home/sunyuhua/.m2/repository/com/alibaba/nacos/nacos-client/2.2.1/nacos-client-2.2.1.jar:/home/sunyuhua/.m2/repository/com/alibaba/nacos/nacos-auth-plugin/2.2.1/nacos-auth-plugin-2.2.1.jar:/home/sunyuhua/.m2/repository/com/alibaba/nacos/nacos-encryption-plugin/2.2.1/nacos-encryption-plugin-2.2.1.jar:/home/sunyuhua/.m2/repository/commons-codec/commons-codec/1.15/commons-codec-1.15.jar:/home/sunyuhua/.m2/repository/org/apache/httpcomponents/httpasyncclient/4.1.5/httpasyncclient-4.1.5.jar:/home/sunyuhua/.m2/repository/org/apache/httpcomponents/httpcore/4.4.16/httpcore-4.4.16.jar:/home/sunyuhua/.m2/repository/org/apache/httpcomponents/httpcore-nio/4.4.16/httpcore-nio-4.4.16.jar:/home/sunyuhua/.m2/repository/org/apache/httpcomponents/httpclient/4.5.14/httpclient-4.5.14.jar:/home/sunyuhua/.m2/repository/io/prometheus/simpleclient/0.16.0/simpleclient-0.16.0.jar:/home/sunyuhua/.m2/repository/io/prometheus/simpleclient_tracer_otel/0.16.0/simpleclient_tracer_otel-0.16.0.jar:/home/sunyuhua/.m2/repository/io/prometheus/simpleclient_tracer_common/0.16.0/simpleclient_tracer_common-0.16.0.jar:/home/sunyuhua/.m2/repository/io/prometheus/simpleclient_tracer_otel_agent/0.16.0/simpleclient_tracer_otel_agent-0.16.0.jar:/home/sunyuhua/.m2/repository/org/springframework/cloud/spring-cloud-commons/4.0.0/spring-cloud-commons-4.0.0.jar:/home/sunyuhua/.m2/repository/org/springframework/security/spring-security-crypto/6.0.1/spring-security-crypto-6.0.1.jar:/home/sunyuhua/.m2/repository/org/springframework/cloud/spring-cloud-context/4.0.0/spring-cloud-context-4.0.0.jar:/home/sunyuhua/.m2/repository/org/slf4j/slf4j-api/2.0.7/slf4j-api-2.0.7.jar:/home/sunyuhua/.m2/repository/com/alibaba/cloud/spring-cloud-starter-alibaba-nacos-discovery/2022.0.0.0-RC2/spring-cloud-starter-alibaba-nacos-discovery-2022.0.0.0-RC2.jar:/home/sunyuhua/.m2/repository/jakarta/xml/bind/jakarta.xml.bind-api/4.0.0/jakarta.xml.bind-api-4.0.0.jar:/home/sunyuhua/.m2/repository/jakarta/activation/jakarta.activation-api/2.1.2/jakarta.activation-api-2.1.2.jar:/devtools/ideaIU-2023.1.3/idea-IU-231.9161.38/lib/idea_rt.jar com.sport.www.eventapi.EventApiApplication 已连接到目标 VM, 地址: ''127.0.0.1:40119',传输: '套接字'' 2023-08-17T10:13:08.476+08:00 WARN 20204 --- [ main] c.a.nacos.client.logging.NacosLogging : Load Logback Configuration of Nacos fail, message: Could not initialize Logback Nacos logging from classpath:nacos-logback.xml 2023-08-17T10:13:08.521+08:00 WARN 20204 --- [ main] c.a.nacos.client.logging.NacosLogging : Load Logback Configuration of Nacos fail, message: Could not initialize Logback Nacos logging from classpath:nacos-logback.xml 2023-08-17T10:13:08.661+08:00 WARN 20204 --- [ main] c.a.nacos.client.logging.NacosLogging : Load Logback Configuration of Nacos fail, message: Could not initialize Logback Nacos logging from classpath:nacos-logback.xml 2023-08-17T10:13:08.663+08:00 INFO 20204 --- [ main] c.alibaba.nacos.client.utils.ParamUtil : [settings] [req-serv] nacos-server port:8848 2023-08-17T10:13:08.663+08:00 INFO 20204 --- [ main] c.alibaba.nacos.client.utils.ParamUtil : [settings] [http-client] connect timeout:1000 2023-08-17T10:13:08.663+08:00 INFO 20204 --- [ main] c.alibaba.nacos.client.utils.ParamUtil : PER_TASK_CONFIG_SIZE: 3000.0 2023-08-17T10:13:08.680+08:00 INFO 20204 --- [ main] c.a.n.p.a.s.c.ClientAuthPluginManager : [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success. 2023-08-17T10:13:08.680+08:00 INFO 20204 --- [ main] c.a.n.p.a.s.c.ClientAuthPluginManager : [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success. 2023-08-17T10:13:08.682+08:00 INFO 20204 --- [ main] c.a.n.c.a.r.identify.CredentialWatcher : null No credential found 2023-08-17T10:13:08.751+08:00 WARN 20204 --- [ main] c.a.nacos.client.logging.NacosLogging : Load Logback Configuration of Nacos fail, message: Could not initialize Logback Nacos logging from classpath:nacos-logback.xml . ____ _ __ _ _ /\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.0.9) 2023-08-17T10:13:08.760+08:00 INFO 20204 --- [ main] c.a.n.c.c.impl.LocalConfigInfoProcessor : LOCAL_SNAPSHOT_PATH:/home/sunyuhua/nacos/config 2023-08-17T10:13:08.762+08:00 INFO 20204 --- [ main] com.alibaba.nacos.common.remote.client : [RpcClientFactory] create a new rpc client of 6f22fae1-a69d-4ea4-ab3d-9e86943e04b3_config-0 2023-08-17T10:13:08.773+08:00 INFO 20204 --- [ main] com.alibaba.nacos.common.remote.client : [6f22fae1-a69d-4ea4-ab3d-9e86943e04b3_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda4/0x0000000800ee6ac0 2023-08-17T10:13:08.773+08:00 INFO 20204 --- [ main] com.alibaba.nacos.common.remote.client : [6f22fae1-a69d-4ea4-ab3d-9e86943e04b3_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda5/0x0000000800ee6ef0 2023-08-17T10:13:08.773+08:00 INFO 20204 --- [ main] com.alibaba.nacos.common.remote.client : [6f22fae1-a69d-4ea4-ab3d-9e86943e04b3_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient 2023-08-17T10:13:08.774+08:00 INFO 20204 --- [ main] com.alibaba.nacos.common.remote.client : [6f22fae1-a69d-4ea4-ab3d-9e86943e04b3_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient 2023-08-17T10:13:08.782+08:00 INFO 20204 --- [ main] com.alibaba.nacos.common.remote.client : [6f22fae1-a69d-4ea4-ab3d-9e86943e04b3_config-0] Try to connect to server on start up, server: {serverIp = '127.0.0.1', server main port = 8848} 2023-08-17T10:13:08.808+08:00 INFO 20204 --- [ main] c.a.n.c.remote.client.grpc.GrpcClient : grpc client connection server:127.0.0.1 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"OPENSSL","enableTls":false,"mutualAuthEnable":false,"trustAll":false} 2023-08-17T10:13:09.281+08:00 INFO 20204 --- [ main] com.alibaba.nacos.common.remote.client : [6f22fae1-a69d-4ea4-ab3d-9e86943e04b3_config-0] Success to connect to server [127.0.0.1:8848] on start up, connectionId = 1692238389119_172.17.0.1_56366 2023-08-17T10:13:09.282+08:00 INFO 20204 --- [t.remote.worker] com.alibaba.nacos.common.remote.client : [6f22fae1-a69d-4ea4-ab3d-9e86943e04b3_config-0] Notify connected event to listeners. 2023-08-17T10:13:09.282+08:00 INFO 20204 --- [t.remote.worker] c.a.n.client.config.impl.ClientWorker : [6f22fae1-a69d-4ea4-ab3d-9e86943e04b3_config-0] Connected,notify listen context... 2023-08-17T10:13:09.282+08:00 INFO 20204 --- [ main] com.alibaba.nacos.common.remote.client : [6f22fae1-a69d-4ea4-ab3d-9e86943e04b3_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler 2023-08-17T10:13:09.282+08:00 INFO 20204 --- [ main] com.alibaba.nacos.common.remote.client : [6f22fae1-a69d-4ea4-ab3d-9e86943e04b3_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda2/0x000000080102acb8 2023-08-17T10:13:09.308+08:00 INFO 20204 --- [ main] c.a.nacos.client.config.impl.Limiter : limitTime:5.0 2023-08-17T10:13:09.325+08:00 WARN 20204 --- [ main] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it based on dataId[event-api] & group[DEFAULT_GROUP] 2023-08-17T10:13:09.331+08:00 WARN 20204 --- [ main] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it based on dataId[event-api.yaml] & group[DEFAULT_GROUP] 2023-08-17T10:13:09.338+08:00 WARN 20204 --- [ main] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it based on dataId[event-api-dev.yaml] & group[DEFAULT_GROUP] 2023-08-17T10:13:09.339+08:00 INFO 20204 --- [ main] b.c.PropertySourceBootstrapConfiguration : Located property source: [BootstrapPropertySource {name='bootstrapProperties-event-api-dev.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-event-api.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-event-api,DEFAULT_GROUP'}] 2023-08-17T10:13:09.344+08:00 WARN 20204 --- [ main] c.a.nacos.client.logging.NacosLogging : Load Logback Configuration of Nacos fail, message: Could not initialize Logback Nacos logging from classpath:nacos-logback.xml 2023-08-17T10:13:09.345+08:00 INFO 20204 --- [ main] c.s.www.eventapi.EventApiApplication : The following 1 profile is active: "dev" 2023-08-17T10:13:09.355+08:00 WARN 20204 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server 2023-08-17T10:13:09.368+08:00 ERROR 20204 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPLICATION FAILED TO START *************************** Description: Web application could not be started as there was no org.springframework.boot.web.servlet.server.ServletWebServerFactory bean defined in the context. Action: Check your application's dependencies for a supported servlet web server. Check the configured web application type. 2023-08-17T10:13:09.369+08:00 WARN 20204 --- [ Thread-1] c.a.n.common.http.HttpClientBeanHolder : [HttpClientBeanHolder] Start destroying common HttpClient 2023-08-17T10:13:09.369+08:00 WARN 20204 --- [ Thread-7] c.a.nacos.common.notify.NotifyCenter : [NotifyCenter] Start destroying Publisher 2023-08-17T10:13:09.369+08:00 WARN 20204 --- [ Thread-7] c.a.nacos.common.notify.NotifyCenter : [NotifyCenter] Destruction of the end 2023-08-17T10:13:09.369+08:00 WARN 20204 --- [ Thread-1] c.a.n.common.http.HttpClientBeanHolder : [HttpClientBeanHolder] Destruction of the end 与目标 VM 断开连接, 地址为: ''127.0.0.1:40119',传输: '套接字'' 进程已结束,退出代码1
检查启动类有没有@SpringBootApplication
@SpringBootApplication @RefreshScope public class EventApiApplication { public static void main(String[] args) { SpringApplication.run(EventApiApplication.class, args); } }
检查依赖项有没有
org.springframework.boot spring-boot-starter-web org.springframework.boot spring-boot-starter