feat: 完成Nacos配置优化和WebSocket集成
主要更新: 1. 统一所有微服务端口配置(19000-19008) 2. 为所有服务创建本地/测试/生产三套环境配置 3. 配置Nacos认证密码(本地:Peanut2817*#, 测试/生产:EmotionMuseum2025) 4. 优化网关路由配置,支持负载均衡和WebSocket 5. 新增emotion-websocket模块,支持实时聊天 6. 前端集成WebSocket,替代HTTP轮询 7. 添加配置验证和管理工具脚本 技术特性: - 完整的环境隔离和服务发现 - WebSocket实时通信支持 - 负载均衡路由配置 - 跨域和安全配置 - 自动重连和心跳检测
This commit is contained in:
@@ -0,0 +1 @@
|
||||
target/emotion-ai-1.0.0.jar中没有主清单属性
|
||||
@@ -0,0 +1 @@
|
||||
63083
|
||||
@@ -0,0 +1,102 @@
|
||||
2025-07-16T09:03:31.799+08:00 WARN 20008 --- [ 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
|
||||
2025-07-16T09:03:31.889+08:00 WARN 20008 --- [ 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
|
||||
2025-07-16T09:03:32.194+08:00 WARN 20008 --- [ 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
|
||||
2025-07-16T09:03:32.196+08:00 INFO 20008 --- [ main] c.alibaba.nacos.client.utils.ParamUtil : [settings] [req-serv] nacos-server port:8848
|
||||
2025-07-16T09:03:32.196+08:00 INFO 20008 --- [ main] c.alibaba.nacos.client.utils.ParamUtil : [settings] [http-client] connect timeout:1000
|
||||
2025-07-16T09:03:32.198+08:00 INFO 20008 --- [ main] c.alibaba.nacos.client.utils.ParamUtil : PER_TASK_CONFIG_SIZE: 3000.0
|
||||
2025-07-16T09:03:32.254+08:00 INFO 20008 --- [ main] c.a.n.p.a.s.c.ClientAuthPluginManager : [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success.
|
||||
2025-07-16T09:03:32.254+08:00 INFO 20008 --- [ main] c.a.n.p.a.s.c.ClientAuthPluginManager : [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success.
|
||||
2025-07-16T09:03:32.277+08:00 INFO 20008 --- [ main] c.a.n.c.a.r.identify.CredentialWatcher : null No credential found
|
||||
2025-07-16 09:03:32 [main] WARN [com.alibaba.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.2)
|
||||
|
||||
2025-07-16 09:03:32 [main] INFO [c.a.n.client.config.impl.LocalConfigInfoProcessor] - LOCAL_SNAPSHOT_PATH:/Users/huazhongmin/nacos/config
|
||||
2025-07-16 09:03:32 [main] INFO [com.alibaba.nacos.common.remote.client] - [RpcClientFactory] create a new rpc client of 90a9ad1e-7bf0-4f56-9d87-36c72dbc1d26_config-0
|
||||
2025-07-16 09:03:32 [main] INFO [com.alibaba.nacos.common.remote.client] - [90a9ad1e-7bf0-4f56-9d87-36c72dbc1d26_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda/0x00000001342dba98
|
||||
2025-07-16 09:03:32 [main] INFO [com.alibaba.nacos.common.remote.client] - [90a9ad1e-7bf0-4f56-9d87-36c72dbc1d26_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda/0x00000001342dbea8
|
||||
2025-07-16 09:03:32 [main] INFO [com.alibaba.nacos.common.remote.client] - [90a9ad1e-7bf0-4f56-9d87-36c72dbc1d26_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
|
||||
2025-07-16 09:03:32 [main] INFO [com.alibaba.nacos.common.remote.client] - [90a9ad1e-7bf0-4f56-9d87-36c72dbc1d26_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
|
||||
2025-07-16 09:03:32 [main] INFO [com.alibaba.nacos.common.remote.client] - [90a9ad1e-7bf0-4f56-9d87-36c72dbc1d26_config-0] Try to connect to server on start up, server: {serverIp = '127.0.0.1', server main port = 8848}
|
||||
2025-07-16 09:03:32 [main] INFO [c.a.nacos.common.remote.client.grpc.GrpcClient] - grpc client connection server:127.0.0.1 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"OPENSSL","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
|
||||
2025-07-16 09:03:33 [main] INFO [com.alibaba.nacos.common.remote.client] - [90a9ad1e-7bf0-4f56-9d87-36c72dbc1d26_config-0] Success to connect to server [127.0.0.1:8848] on start up, connectionId = 1752627813368_127.0.0.1_62143
|
||||
2025-07-16 09:03:33 [com.alibaba.nacos.client.remote.worker] INFO [com.alibaba.nacos.common.remote.client] - [90a9ad1e-7bf0-4f56-9d87-36c72dbc1d26_config-0] Notify connected event to listeners.
|
||||
2025-07-16 09:03:33 [com.alibaba.nacos.client.remote.worker] INFO [com.alibaba.nacos.client.config.impl.ClientWorker] - [90a9ad1e-7bf0-4f56-9d87-36c72dbc1d26_config-0] Connected,notify listen context...
|
||||
2025-07-16 09:03:33 [main] INFO [com.alibaba.nacos.common.remote.client] - [90a9ad1e-7bf0-4f56-9d87-36c72dbc1d26_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
|
||||
2025-07-16 09:03:33 [main] INFO [com.alibaba.nacos.common.remote.client] - [90a9ad1e-7bf0-4f56-9d87-36c72dbc1d26_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda/0x000000013443efc8
|
||||
2025-07-16 09:03:33 [main] INFO [com.alibaba.nacos.client.config.impl.Limiter] - limitTime:5.0
|
||||
2025-07-16 09:03:33 [main] WARN [c.a.cloud.nacos.client.NacosPropertySourceBuilder] - Ignore the empty nacos configuration and get it based on dataId[emotion-ai] & group[DEFAULT_GROUP]
|
||||
2025-07-16 09:03:33 [main] WARN [c.a.cloud.nacos.client.NacosPropertySourceBuilder] - Ignore the empty nacos configuration and get it based on dataId[emotion-ai.properties] & group[DEFAULT_GROUP]
|
||||
2025-07-16 09:03:33 [main] WARN [c.a.cloud.nacos.client.NacosPropertySourceBuilder] - Ignore the empty nacos configuration and get it based on dataId[emotion-ai-local.properties] & group[DEFAULT_GROUP]
|
||||
2025-07-16 09:03:33 [main] INFO [o.s.c.b.c.PropertySourceBootstrapConfiguration] - Located property source: [BootstrapPropertySource {name='bootstrapProperties-emotion-ai-local.properties,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-emotion-ai.properties,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-emotion-ai,DEFAULT_GROUP'}]
|
||||
2025-07-16 09:03:33 [main] WARN [com.alibaba.nacos.client.logging.NacosLogging] - Load Logback Configuration of Nacos fail, message: Could not initialize Logback Nacos logging from classpath:nacos-logback.xml
|
||||
2025-07-16 09:03:33 [main] INFO [com.emotionmuseum.ai.AiApplication] - The following 1 profile is active: "local"
|
||||
2025-07-16 09:03:34 [main] INFO [o.s.d.r.config.RepositoryConfigurationDelegate] - Multiple Spring Data modules found, entering strict repository configuration mode
|
||||
2025-07-16 09:03:34 [main] INFO [o.s.d.r.config.RepositoryConfigurationDelegate] - Bootstrapping Spring Data Redis repositories in DEFAULT mode.
|
||||
2025-07-16 09:03:34 [main] INFO [o.s.d.r.config.RepositoryConfigurationDelegate] - Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces.
|
||||
2025-07-16 09:03:34 [main] INFO [o.springframework.cloud.context.scope.GenericScope] - BeanFactory id=75ad894c-a831-3fef-8183-57bf629af884
|
||||
2025-07-16 09:03:35 [main] INFO [o.s.boot.web.embedded.tomcat.TomcatWebServer] - Tomcat initialized with port(s): 19002 (http)
|
||||
2025-07-16 09:03:35 [main] INFO [org.apache.catalina.core.StandardService] - Starting service [Tomcat]
|
||||
2025-07-16 09:03:35 [main] INFO [org.apache.catalina.core.StandardEngine] - Starting Servlet engine: [Apache Tomcat/10.1.5]
|
||||
2025-07-16 09:03:35 [main] INFO [o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]] - Initializing Spring embedded WebApplicationContext
|
||||
2025-07-16 09:03:35 [main] INFO [o.s.b.w.s.c.ServletWebServerApplicationContext] - Root WebApplicationContext: initialization completed in 1976 ms
|
||||
2025-07-16 09:03:35 [main] DEBUG [o.s.web.filter.ServerHttpObservationFilter] - Filter 'serverHttpObservationFilter' configured for use
|
||||
2025-07-16 09:03:36 [main] INFO [com.emotionmuseum.common.config.SnowflakeConfig] - 使用MAC地址生成的机器ID: 669
|
||||
2025-07-16 09:03:36 [main] INFO [com.emotionmuseum.common.config.SnowflakeConfig] - 雪花算法配置完成,使用机器ID: 669
|
||||
2025-07-16 09:03:36 [main] INFO [c.emotionmuseum.common.util.SnowflakeIdGenerator] - 雪花算法ID生成器初始化完成,机器ID: 669
|
||||
2025-07-16 09:03:36 [main] DEBUG [c.b.m.e.spring.MybatisSqlSessionFactoryBean] - Registered plugin: 'com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor@422b8438'
|
||||
2025-07-16 09:03:36 [main] DEBUG [c.b.m.e.spring.MybatisSqlSessionFactoryBean] - Property 'mapperLocations' was not specified.
|
||||
_ _ |_ _ _|_. ___ _ | _
|
||||
| | |\/|_)(_| | |_\ |_)||_|_\
|
||||
/ |
|
||||
3.5.3.1
|
||||
2025-07-16 09:03:37 [main] DEBUG [o.s.w.s.m.m.a.RequestMappingHandlerAdapter] - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
|
||||
2025-07-16 09:03:37 [main] DEBUG [o.s.w.s.m.m.a.RequestMappingHandlerMapping] - 25 mappings in 'requestMappingHandlerMapping'
|
||||
2025-07-16 09:03:37 [main] DEBUG [o.s.web.servlet.handler.SimpleUrlHandlerMapping] - Patterns [/webjars/**, /**] in 'resourceHandlerMapping'
|
||||
2025-07-16 09:03:37 [main] DEBUG [o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver] - ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice
|
||||
2025-07-16 09:03:38 [main] INFO [o.s.b.actuate.endpoint.web.EndpointLinksResolver] - Exposing 4 endpoint(s) beneath base path '/actuator'
|
||||
2025-07-16 09:03:38 [main] INFO [o.s.boot.web.embedded.tomcat.TomcatWebServer] - Tomcat started on port(s): 19002 (http) with context path ''
|
||||
2025-07-16 09:03:38 [main] INFO [com.emotionmuseum.ai.AiApplication] - Started AiApplication in 7.184 seconds (process running for 7.854)
|
||||
2025-07-16 09:03:58 [http-nio-19002-exec-1] INFO [o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]] - Initializing Spring DispatcherServlet 'dispatcherServlet'
|
||||
2025-07-16 09:03:58 [http-nio-19002-exec-1] INFO [org.springframework.web.servlet.DispatcherServlet] - Initializing Servlet 'dispatcherServlet'
|
||||
2025-07-16 09:03:58 [http-nio-19002-exec-1] DEBUG [org.springframework.web.servlet.DispatcherServlet] - Detected StandardServletMultipartResolver
|
||||
2025-07-16 09:03:58 [http-nio-19002-exec-1] DEBUG [org.springframework.web.servlet.DispatcherServlet] - Detected AcceptHeaderLocaleResolver
|
||||
2025-07-16 09:03:58 [http-nio-19002-exec-1] DEBUG [org.springframework.web.servlet.DispatcherServlet] - Detected FixedThemeResolver
|
||||
2025-07-16 09:03:58 [http-nio-19002-exec-1] DEBUG [org.springframework.web.servlet.DispatcherServlet] - Detected org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator@eb62a4b
|
||||
2025-07-16 09:03:58 [http-nio-19002-exec-1] DEBUG [org.springframework.web.servlet.DispatcherServlet] - Detected org.springframework.web.servlet.support.SessionFlashMapManager@323186f9
|
||||
2025-07-16 09:03:58 [http-nio-19002-exec-1] DEBUG [org.springframework.web.servlet.DispatcherServlet] - enableLoggingRequestDetails='false': request parameters and headers will be masked to prevent unsafe logging of potentially sensitive data
|
||||
2025-07-16 09:03:58 [http-nio-19002-exec-1] INFO [org.springframework.web.servlet.DispatcherServlet] - Completed initialization in 3 ms
|
||||
2025-07-16 09:03:58 [http-nio-19002-exec-1] DEBUG [org.springframework.web.servlet.DispatcherServlet] - GET "/actuator/health", parameters={}
|
||||
2025-07-16 09:03:58 [http-nio-19002-exec-1] INFO [com.zaxxer.hikari.HikariDataSource] - HikariPool-1 - Starting...
|
||||
2025-07-16 09:03:58 [http-nio-19002-exec-1] INFO [com.zaxxer.hikari.pool.HikariPool] - HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@41120a95
|
||||
2025-07-16 09:03:58 [http-nio-19002-exec-1] INFO [com.zaxxer.hikari.HikariDataSource] - HikariPool-1 - Start completed.
|
||||
2025-07-16 09:03:59 [http-nio-19002-exec-1] DEBUG [o.s.w.s.m.m.annotation.HttpEntityMethodProcessor] - Using 'application/vnd.spring-boot.actuator.v3+json', given [*/*] and supported [application/vnd.spring-boot.actuator.v3+json, application/vnd.spring-boot.actuator.v2+json, application/json]
|
||||
2025-07-16 09:03:59 [http-nio-19002-exec-1] DEBUG [o.s.w.s.m.m.annotation.HttpEntityMethodProcessor] - Writing [org.springframework.boot.actuate.health.SystemHealth@5be85732]
|
||||
2025-07-16 09:03:59 [http-nio-19002-exec-1] DEBUG [org.springframework.web.servlet.DispatcherServlet] - Completed 200 OK
|
||||
2025-07-16 09:04:12 [http-nio-19002-exec-2] DEBUG [org.springframework.web.servlet.DispatcherServlet] - GET "/actuator/health", parameters={}
|
||||
2025-07-16 09:04:12 [http-nio-19002-exec-2] DEBUG [o.s.w.s.m.m.annotation.HttpEntityMethodProcessor] - Using 'application/vnd.spring-boot.actuator.v3+json', given [*/*] and supported [application/vnd.spring-boot.actuator.v3+json, application/vnd.spring-boot.actuator.v2+json, application/json]
|
||||
2025-07-16 09:04:12 [http-nio-19002-exec-2] DEBUG [o.s.w.s.m.m.annotation.HttpEntityMethodProcessor] - Writing [org.springframework.boot.actuate.health.SystemHealth@2065d61c]
|
||||
2025-07-16 09:04:12 [http-nio-19002-exec-2] DEBUG [org.springframework.web.servlet.DispatcherServlet] - Completed 200 OK
|
||||
2025-07-16 09:04:31 [http-nio-19002-exec-4] DEBUG [org.springframework.web.servlet.DispatcherServlet] - GET "/ai/actuator/health", parameters={}
|
||||
2025-07-16 09:04:31 [http-nio-19002-exec-4] DEBUG [o.s.web.servlet.handler.SimpleUrlHandlerMapping] - Mapped to ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
|
||||
2025-07-16 09:04:32 [http-nio-19002-exec-4] DEBUG [c.e.common.interceptor.UserContextInterceptor] - 设置用户上下文: userId=guest_1901232820, requestUri=/ai/actuator/health
|
||||
2025-07-16 09:04:32 [http-nio-19002-exec-4] DEBUG [o.s.w.servlet.resource.ResourceHttpRequestHandler] - Resource not found
|
||||
2025-07-16 09:04:32 [http-nio-19002-exec-4] DEBUG [c.e.common.interceptor.UserContextInterceptor] - 清除用户上下文: requestUri=/ai/actuator/health
|
||||
2025-07-16 09:04:32 [http-nio-19002-exec-4] DEBUG [org.springframework.web.servlet.DispatcherServlet] - Completed 404 NOT_FOUND
|
||||
2025-07-16 09:04:32 [http-nio-19002-exec-4] DEBUG [org.springframework.web.servlet.DispatcherServlet] - "ERROR" dispatch for GET "/error", parameters={}
|
||||
2025-07-16 09:04:32 [http-nio-19002-exec-4] DEBUG [o.s.w.s.m.m.a.RequestMappingHandlerMapping] - Mapped to org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest)
|
||||
2025-07-16 09:04:32 [http-nio-19002-exec-4] DEBUG [o.s.w.s.m.m.annotation.HttpEntityMethodProcessor] - Using 'application/json', given [*/*] and supported [application/json, application/*+json]
|
||||
2025-07-16 09:04:32 [http-nio-19002-exec-4] DEBUG [o.s.w.s.m.m.annotation.HttpEntityMethodProcessor] - Writing [{timestamp=Wed Jul 16 09:04:32 CST 2025, status=404, error=Not Found, path=/ai/actuator/health}]
|
||||
2025-07-16 09:04:32 [http-nio-19002-exec-4] DEBUG [org.springframework.web.servlet.DispatcherServlet] - Exiting from "ERROR" dispatch, status 404
|
||||
2025-07-16 09:46:47 [Thread-1] WARN [c.alibaba.nacos.common.http.HttpClientBeanHolder] - [HttpClientBeanHolder] Start destroying common HttpClient
|
||||
2025-07-16 09:46:47 [Thread-7] WARN [com.alibaba.nacos.common.notify.NotifyCenter] - [NotifyCenter] Start destroying Publisher
|
||||
2025-07-16 09:46:47 [Thread-7] WARN [com.alibaba.nacos.common.notify.NotifyCenter] - [NotifyCenter] Destruction of the end
|
||||
2025-07-16 09:46:47 [Thread-1] WARN [c.alibaba.nacos.common.http.HttpClientBeanHolder] - [HttpClientBeanHolder] Destruction of the end
|
||||
2025-07-16 09:46:48 [SpringApplicationShutdownHook] INFO [com.zaxxer.hikari.HikariDataSource] - HikariPool-1 - Shutdown initiated...
|
||||
2025-07-16 09:46:48 [SpringApplicationShutdownHook] INFO [com.zaxxer.hikari.HikariDataSource] - HikariPool-1 - Shutdown completed.
|
||||
@@ -0,0 +1,93 @@
|
||||
2025-07-16 09:03:40 [main] WARN [com.alibaba.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.2)
|
||||
|
||||
2025-07-16 09:03:40 [main] WARN [com.alibaba.nacos.client.logging.NacosLogging] - Load Logback Configuration of Nacos fail, message: Could not initialize Logback Nacos logging from classpath:nacos-logback.xml
|
||||
2025-07-16 09:03:40 [main] INFO [com.emotionmuseum.gateway.GatewayApplication] - Starting GatewayApplication using Java 21.0.7 with PID 20154 (/Users/huazhongmin/peanut/AppleDevelop/EmotionMuseum/backend/emotion-gateway/target/emotion-gateway-1.0.0.jar started by huazhongmin in /Users/huazhongmin/peanut/AppleDevelop/EmotionMuseum/backend/emotion-gateway)
|
||||
2025-07-16 09:03:40 [main] DEBUG [com.emotionmuseum.gateway.GatewayApplication] - Running with Spring Boot v3.0.2, Spring v6.0.4
|
||||
2025-07-16 09:03:40 [main] INFO [com.emotionmuseum.gateway.GatewayApplication] - The following 1 profile is active: "local"
|
||||
2025-07-16 09:03:42 [main] INFO [o.s.d.r.config.RepositoryConfigurationDelegate] - Multiple Spring Data modules found, entering strict repository configuration mode
|
||||
2025-07-16 09:03:42 [main] INFO [o.s.d.r.config.RepositoryConfigurationDelegate] - Bootstrapping Spring Data Redis repositories in DEFAULT mode.
|
||||
2025-07-16 09:03:42 [main] INFO [o.s.d.r.config.RepositoryConfigurationDelegate] - Finished Spring Data repository scanning in 13 ms. Found 0 Redis repository interfaces.
|
||||
2025-07-16 09:03:42 [main] INFO [o.springframework.cloud.context.scope.GenericScope] - BeanFactory id=4710d9c7-5e9d-353b-b960-5b878d180ffe
|
||||
2025-07-16 09:03:42 [main] INFO [o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker] - Bean 'org.springframework.cloud.client.loadbalancer.reactive.LoadBalancerBeanPostProcessorAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.reactive.LoadBalancerBeanPostProcessorAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2025-07-16 09:03:42 [main] INFO [o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker] - Bean 'org.springframework.cloud.client.loadbalancer.reactive.LoadBalancerBeanPostProcessorAutoConfiguration$ReactorDeferringLoadBalancerFilterConfig' of type [org.springframework.cloud.client.loadbalancer.reactive.LoadBalancerBeanPostProcessorAutoConfiguration$ReactorDeferringLoadBalancerFilterConfig] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2025-07-16 09:03:42 [main] INFO [o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker] - Bean 'reactorDeferringLoadBalancerExchangeFilterFunction' of type [org.springframework.cloud.client.loadbalancer.reactive.DeferringLoadBalancerExchangeFilterFunction] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2025-07-16 09:03:44 [main] DEBUG [o.s.cloud.gateway.config.GatewayProperties] - Routes supplied from Gateway Properties: [RouteDefinition{id='emotion-user-route', predicates=[PredicateDefinition{name='Path', args={_genkey_0=/user/**}}], filters=[FilterDefinition{name='StripPrefix', args={_genkey_0=0}}], uri=http://localhost:19001, order=0, metadata={}}, RouteDefinition{id='emotion-captcha-route', predicates=[PredicateDefinition{name='Path', args={_genkey_0=/captcha/**}}], filters=[FilterDefinition{name='StripPrefix', args={_genkey_0=0}}], uri=http://localhost:19001, order=0, metadata={}}, RouteDefinition{id='emotion-oauth-route', predicates=[PredicateDefinition{name='Path', args={_genkey_0=/oauth/**}}], filters=[FilterDefinition{name='StripPrefix', args={_genkey_0=0}}], uri=http://localhost:19001, order=0, metadata={}}, RouteDefinition{id='emotion-ai-route', predicates=[PredicateDefinition{name='Path', args={_genkey_0=/ai/**}}], filters=[FilterDefinition{name='StripPrefix', args={_genkey_0=0}}], uri=http://localhost:19002, order=0, metadata={}}]
|
||||
2025-07-16 09:03:44 [main] INFO [o.s.c.gateway.route.RouteDefinitionRouteLocator] - Loaded RoutePredicateFactory [After]
|
||||
2025-07-16 09:03:44 [main] INFO [o.s.c.gateway.route.RouteDefinitionRouteLocator] - Loaded RoutePredicateFactory [Before]
|
||||
2025-07-16 09:03:44 [main] INFO [o.s.c.gateway.route.RouteDefinitionRouteLocator] - Loaded RoutePredicateFactory [Between]
|
||||
2025-07-16 09:03:44 [main] INFO [o.s.c.gateway.route.RouteDefinitionRouteLocator] - Loaded RoutePredicateFactory [Cookie]
|
||||
2025-07-16 09:03:44 [main] INFO [o.s.c.gateway.route.RouteDefinitionRouteLocator] - Loaded RoutePredicateFactory [Header]
|
||||
2025-07-16 09:03:44 [main] INFO [o.s.c.gateway.route.RouteDefinitionRouteLocator] - Loaded RoutePredicateFactory [Host]
|
||||
2025-07-16 09:03:44 [main] INFO [o.s.c.gateway.route.RouteDefinitionRouteLocator] - Loaded RoutePredicateFactory [Method]
|
||||
2025-07-16 09:03:44 [main] INFO [o.s.c.gateway.route.RouteDefinitionRouteLocator] - Loaded RoutePredicateFactory [Path]
|
||||
2025-07-16 09:03:44 [main] INFO [o.s.c.gateway.route.RouteDefinitionRouteLocator] - Loaded RoutePredicateFactory [Query]
|
||||
2025-07-16 09:03:44 [main] INFO [o.s.c.gateway.route.RouteDefinitionRouteLocator] - Loaded RoutePredicateFactory [ReadBody]
|
||||
2025-07-16 09:03:44 [main] INFO [o.s.c.gateway.route.RouteDefinitionRouteLocator] - Loaded RoutePredicateFactory [RemoteAddr]
|
||||
2025-07-16 09:03:44 [main] INFO [o.s.c.gateway.route.RouteDefinitionRouteLocator] - Loaded RoutePredicateFactory [XForwardedRemoteAddr]
|
||||
2025-07-16 09:03:44 [main] INFO [o.s.c.gateway.route.RouteDefinitionRouteLocator] - Loaded RoutePredicateFactory [Weight]
|
||||
2025-07-16 09:03:44 [main] INFO [o.s.c.gateway.route.RouteDefinitionRouteLocator] - Loaded RoutePredicateFactory [CloudFoundryRouteService]
|
||||
2025-07-16 09:03:44 [main] INFO [c.a.c.s.gateway.scg.SentinelSCGAutoConfiguration] - [Sentinel SpringCloudGateway] register SentinelGatewayFilter with order: -2147483648
|
||||
2025-07-16 09:03:44 [main] DEBUG [o.s.web.reactive.handler.SimpleUrlHandlerMapping] - Patterns [/webjars/**, /**] in 'resourceHandlerMapping'
|
||||
2025-07-16 09:03:44 [main] INFO [o.s.b.actuate.endpoint.web.EndpointLinksResolver] - Exposing 2 endpoint(s) beneath base path '/actuator'
|
||||
2025-07-16 09:03:44 [main] DEBUG [o.s.w.r.r.m.annotation.ControllerMethodResolver] - ControllerAdvice beans: none
|
||||
2025-07-16 09:03:44 [main] INFO [c.a.c.s.gateway.scg.SentinelSCGAutoConfiguration] - [Sentinel SpringCloudGateway] register SentinelGatewayBlockExceptionHandler
|
||||
2025-07-16 09:03:44 [main] DEBUG [o.s.web.server.adapter.HttpWebHandlerAdapter] - enableLoggingRequestDetails='false': form data and headers will be masked to prevent unsafe logging of potentially sensitive data
|
||||
2025-07-16 09:03:44 [main] WARN [o.s.c.l.c.LoadBalancerCacheAutoConfiguration$LoadBalancerCaffeineWarnLogger] - Spring Cloud LoadBalancer is currently working with the default cache. While this cache implementation is useful for development and tests, it's recommended to use Caffeine cache in production.You can switch to using Caffeine cache, by adding it and org.springframework.cache.caffeine.CaffeineCacheManager to the classpath.
|
||||
2025-07-16 09:03:45 [main] INFO [o.s.boot.web.embedded.netty.NettyWebServer] - Netty started on port 19000
|
||||
2025-07-16 09:03:45 [main] DEBUG [o.s.c.gateway.route.RouteDefinitionRouteLocator] - RouteDefinition emotion-user-route applying {_genkey_0=/user/**} to Path
|
||||
2025-07-16 09:03:45 [main] DEBUG [o.s.c.gateway.route.RouteDefinitionRouteLocator] - RouteDefinition emotion-user-route applying filter {_genkey_0=0} to StripPrefix
|
||||
2025-07-16 09:03:45 [main] DEBUG [o.s.c.gateway.route.RouteDefinitionRouteLocator] - RouteDefinition matched: emotion-user-route
|
||||
2025-07-16 09:03:45 [main] DEBUG [o.s.c.gateway.route.RouteDefinitionRouteLocator] - RouteDefinition emotion-captcha-route applying {_genkey_0=/captcha/**} to Path
|
||||
2025-07-16 09:03:45 [main] DEBUG [o.s.c.gateway.route.RouteDefinitionRouteLocator] - RouteDefinition emotion-captcha-route applying filter {_genkey_0=0} to StripPrefix
|
||||
2025-07-16 09:03:45 [main] DEBUG [o.s.c.gateway.route.RouteDefinitionRouteLocator] - RouteDefinition matched: emotion-captcha-route
|
||||
2025-07-16 09:03:45 [main] DEBUG [o.s.c.gateway.route.RouteDefinitionRouteLocator] - RouteDefinition emotion-oauth-route applying {_genkey_0=/oauth/**} to Path
|
||||
2025-07-16 09:03:45 [main] DEBUG [o.s.c.gateway.route.RouteDefinitionRouteLocator] - RouteDefinition emotion-oauth-route applying filter {_genkey_0=0} to StripPrefix
|
||||
2025-07-16 09:03:45 [main] DEBUG [o.s.c.gateway.route.RouteDefinitionRouteLocator] - RouteDefinition matched: emotion-oauth-route
|
||||
2025-07-16 09:03:45 [main] DEBUG [o.s.c.gateway.route.RouteDefinitionRouteLocator] - RouteDefinition emotion-ai-route applying {_genkey_0=/ai/**} to Path
|
||||
2025-07-16 09:03:45 [main] DEBUG [o.s.c.gateway.route.RouteDefinitionRouteLocator] - RouteDefinition emotion-ai-route applying filter {_genkey_0=0} to StripPrefix
|
||||
2025-07-16 09:03:45 [main] DEBUG [o.s.c.gateway.route.RouteDefinitionRouteLocator] - RouteDefinition matched: emotion-ai-route
|
||||
2025-07-16 09:03:45 [main] DEBUG [o.s.cloud.gateway.filter.GatewayMetricsFilter] - New routes count: 4
|
||||
2025-07-16 09:03:45 [main] INFO [com.emotionmuseum.gateway.GatewayApplication] - Started GatewayApplication in 5.105 seconds (process running for 5.704)
|
||||
2025-07-16 09:03:59 [reactor-http-nio-2] DEBUG [o.s.web.server.adapter.HttpWebHandlerAdapter] - [42be3651-1] HTTP GET "/actuator/health"
|
||||
INFO: Sentinel log output type is: file
|
||||
INFO: Sentinel log charset is: utf-8
|
||||
INFO: Sentinel log base directory is: /Users/huazhongmin/logs/csp/
|
||||
INFO: Sentinel log name use pid is: false
|
||||
INFO: Sentinel log level is: INFO
|
||||
2025-07-16 09:03:59 [lettuce-nioEventLoop-5-1] DEBUG [o.s.w.r.r.m.annotation.ResponseEntityResultHandler] - [42be3651-1] Using 'application/vnd.spring-boot.actuator.v3+json' given [*/*] and supported [application/vnd.spring-boot.actuator.v3+json, application/vnd.spring-boot.actuator.v2+json, application/json]
|
||||
2025-07-16 09:03:59 [lettuce-nioEventLoop-5-1] DEBUG [o.s.w.r.r.m.annotation.ResponseEntityResultHandler] - [42be3651-1] 0..1 [org.springframework.boot.actuate.health.SystemHealth]
|
||||
2025-07-16 09:03:59 [lettuce-nioEventLoop-5-1] DEBUG [org.springframework.web.HttpLogging] - [42be3651-1] Encoding [org.springframework.boot.actuate.health.SystemHealth@6fdce5a3]
|
||||
2025-07-16 09:03:59 [reactor-http-nio-2] DEBUG [o.s.web.server.adapter.HttpWebHandlerAdapter] - [42be3651-1] Completed 200 OK
|
||||
2025-07-16 09:04:12 [reactor-http-nio-3] DEBUG [o.s.web.server.adapter.HttpWebHandlerAdapter] - [127c1f50-2] HTTP GET "/actuator/health"
|
||||
2025-07-16 09:04:12 [lettuce-nioEventLoop-5-1] DEBUG [o.s.w.r.r.m.annotation.ResponseEntityResultHandler] - [127c1f50-2] Using 'application/vnd.spring-boot.actuator.v3+json' given [*/*] and supported [application/vnd.spring-boot.actuator.v3+json, application/vnd.spring-boot.actuator.v2+json, application/json]
|
||||
2025-07-16 09:04:12 [lettuce-nioEventLoop-5-1] DEBUG [o.s.w.r.r.m.annotation.ResponseEntityResultHandler] - [127c1f50-2] 0..1 [org.springframework.boot.actuate.health.SystemHealth]
|
||||
2025-07-16 09:04:12 [lettuce-nioEventLoop-5-1] DEBUG [org.springframework.web.HttpLogging] - [127c1f50-2] Encoding [org.springframework.boot.actuate.health.SystemHealth@3fb8c67f]
|
||||
2025-07-16 09:04:12 [reactor-http-nio-3] DEBUG [o.s.web.server.adapter.HttpWebHandlerAdapter] - [127c1f50-2] Completed 200 OK
|
||||
2025-07-16 09:04:22 [reactor-http-nio-4] DEBUG [o.s.web.server.adapter.HttpWebHandlerAdapter] - [7b8bca8e-3] HTTP GET "/user/actuator/health"
|
||||
2025-07-16 09:04:22 [reactor-http-nio-4] DEBUG [o.s.c.gateway.handler.RoutePredicateHandlerMapping] - Route matched: emotion-user-route
|
||||
2025-07-16 09:04:22 [reactor-http-nio-4] DEBUG [o.s.c.gateway.handler.RoutePredicateHandlerMapping] - Mapping [Exchange: GET http://localhost:19000/user/actuator/health] to Route{id='emotion-user-route', uri=http://localhost:19001, order=0, predicate=Paths: [/user/**], match trailing slash: true, gatewayFilters=[[[StripPrefix parts = 0], order = 1]], metadata={}}
|
||||
2025-07-16 09:04:22 [reactor-http-nio-4] DEBUG [o.s.c.gateway.handler.RoutePredicateHandlerMapping] - [7b8bca8e-3] Mapped to org.springframework.cloud.gateway.handler.FilteringWebHandler@373b5ee9
|
||||
2025-07-16 09:04:22 [reactor-http-nio-4] DEBUG [o.s.cloud.gateway.handler.FilteringWebHandler] - Sorted gatewayFilterFactories: [[GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.RemoveCachedBodyFilter@451f87af}, order = -2147483648], [GatewayFilterAdapter{delegate=com.alibaba.csp.sentinel.adapter.gateway.sc.SentinelGatewayFilter@3051e0b2}, order = -2147483648], [GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.AdaptCachedBodyGlobalFilter@4dafba3e}, order = -2147482648], [GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.NettyWriteResponseFilter@287f7811}, order = -1], [GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.ForwardPathFilter@17271176}, order = 0], [GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.GatewayMetricsFilter@2e34384c}, order = 0], [[StripPrefix parts = 0], order = 1], [GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.RouteToRequestUrlFilter@2b556bb2}, order = 10000], [GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.ReactiveLoadBalancerClientFilter@57b75756}, order = 10150], [GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.LoadBalancerServiceInstanceCookieFilter@5327a06e}, order = 10151], [GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.WebsocketRoutingFilter@2e3cdec2}, order = 2147483646], [GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.NettyRoutingFilter@2679311f}, order = 2147483647], [GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.ForwardRoutingFilter@44cb460e}, order = 2147483647]]
|
||||
2025-07-16 09:04:22 [reactor-http-nio-4] DEBUG [o.s.c.g.f.h.o.ObservedRequestHttpHeadersFilter] - Will instrument the HTTP request headers [Host:"localhost:19000", User-Agent:"curl/8.7.1", Accept:"*/*", Forwarded:"proto=http;host="localhost:19000";for="[0:0:0:0:0:0:0:1]:62291"", X-Forwarded-For:"0:0:0:0:0:0:0:1", X-Forwarded-Proto:"http", X-Forwarded-Port:"19000", X-Forwarded-Host:"localhost:19000"]
|
||||
2025-07-16 09:04:22 [reactor-http-nio-4] DEBUG [o.s.c.g.f.h.o.ObservedRequestHttpHeadersFilter] - Client observation {name=http.client.requests(null), error=null, context=name='http.client.requests', contextualName='null', error='null', lowCardinalityKeyValues=[http.method='GET', http.status_code='UNKNOWN', spring.cloud.gateway.route.id='emotion-user-route', spring.cloud.gateway.route.uri='http://localhost:19001'], highCardinalityKeyValues=[http.uri='http://localhost:19000/user/actuator/health'], map=[class io.micrometer.core.instrument.Timer$Sample='io.micrometer.core.instrument.Timer$Sample@4443fec4', class io.micrometer.core.instrument.LongTaskTimer$Sample='SampleImpl{duration(seconds)=4.93244E-4, duration(nanos)=493244.0, startTimeNanos=302639138304957}'], parentObservation={name=http.server.requests(null), error=null, context=name='http.server.requests', contextualName='null', error='null', lowCardinalityKeyValues=[exception='none', method='GET', outcome='SUCCESS', status='200', uri='UNKNOWN'], highCardinalityKeyValues=[http.url='/user/actuator/health'], map=[class io.micrometer.core.instrument.Timer$Sample='io.micrometer.core.instrument.Timer$Sample@62ceb8d8', class io.micrometer.core.instrument.LongTaskTimer$Sample='SampleImpl{duration(seconds)=0.131310068, duration(nanos)=1.31310068E8, startTimeNanos=302639007609097}'], parentObservation=null}} created for the request. New headers are [Host:"localhost:19000", User-Agent:"curl/8.7.1", Accept:"*/*", Forwarded:"proto=http;host="localhost:19000";for="[0:0:0:0:0:0:0:1]:62291"", X-Forwarded-For:"0:0:0:0:0:0:0:1", X-Forwarded-Proto:"http", X-Forwarded-Port:"19000", X-Forwarded-Host:"localhost:19000"]
|
||||
2025-07-16 09:04:22 [reactor-http-nio-4] DEBUG [o.s.c.g.f.h.o.ObservedResponseHttpHeadersFilter] - Will instrument the response
|
||||
2025-07-16 09:04:22 [reactor-http-nio-4] DEBUG [o.s.c.g.f.h.o.ObservedResponseHttpHeadersFilter] - The response was handled for observation {name=http.client.requests(null), error=null, context=name='http.client.requests', contextualName='null', error='null', lowCardinalityKeyValues=[http.method='GET', http.status_code='UNKNOWN', spring.cloud.gateway.route.id='emotion-user-route', spring.cloud.gateway.route.uri='http://localhost:19001'], highCardinalityKeyValues=[http.uri='http://localhost:19000/user/actuator/health'], map=[class io.micrometer.core.instrument.Timer$Sample='io.micrometer.core.instrument.Timer$Sample@4443fec4', class io.micrometer.core.instrument.LongTaskTimer$Sample='SampleImpl{duration(seconds)=0.078344915, duration(nanos)=7.8344915E7, startTimeNanos=302639138304957}'], parentObservation={name=http.server.requests(null), error=null, context=name='http.server.requests', contextualName='null', error='null', lowCardinalityKeyValues=[exception='none', method='GET', outcome='SUCCESS', status='200', uri='UNKNOWN'], highCardinalityKeyValues=[http.url='/user/actuator/health'], map=[class io.micrometer.core.instrument.Timer$Sample='io.micrometer.core.instrument.Timer$Sample@62ceb8d8', class io.micrometer.core.instrument.LongTaskTimer$Sample='SampleImpl{duration(seconds)=0.209234105, duration(nanos)=2.09234105E8, startTimeNanos=302639007609097}'], parentObservation=null}}
|
||||
2025-07-16 09:04:22 [reactor-http-nio-4] DEBUG [o.s.web.server.adapter.HttpWebHandlerAdapter] - [7b8bca8e-3] Completed 403 FORBIDDEN
|
||||
2025-07-16 09:04:31 [reactor-http-nio-5] DEBUG [o.s.web.server.adapter.HttpWebHandlerAdapter] - [37305ece-4] HTTP GET "/ai/actuator/health"
|
||||
2025-07-16 09:04:31 [reactor-http-nio-5] DEBUG [o.s.c.gateway.handler.RoutePredicateHandlerMapping] - Route matched: emotion-ai-route
|
||||
2025-07-16 09:04:31 [reactor-http-nio-5] DEBUG [o.s.c.gateway.handler.RoutePredicateHandlerMapping] - Mapping [Exchange: GET http://localhost:19000/ai/actuator/health] to Route{id='emotion-ai-route', uri=http://localhost:19002, order=0, predicate=Paths: [/ai/**], match trailing slash: true, gatewayFilters=[[[StripPrefix parts = 0], order = 1]], metadata={}}
|
||||
2025-07-16 09:04:31 [reactor-http-nio-5] DEBUG [o.s.c.gateway.handler.RoutePredicateHandlerMapping] - [37305ece-4] Mapped to org.springframework.cloud.gateway.handler.FilteringWebHandler@373b5ee9
|
||||
2025-07-16 09:04:31 [reactor-http-nio-5] DEBUG [o.s.cloud.gateway.handler.FilteringWebHandler] - Sorted gatewayFilterFactories: [[GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.RemoveCachedBodyFilter@451f87af}, order = -2147483648], [GatewayFilterAdapter{delegate=com.alibaba.csp.sentinel.adapter.gateway.sc.SentinelGatewayFilter@3051e0b2}, order = -2147483648], [GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.AdaptCachedBodyGlobalFilter@4dafba3e}, order = -2147482648], [GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.NettyWriteResponseFilter@287f7811}, order = -1], [GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.ForwardPathFilter@17271176}, order = 0], [GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.GatewayMetricsFilter@2e34384c}, order = 0], [[StripPrefix parts = 0], order = 1], [GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.RouteToRequestUrlFilter@2b556bb2}, order = 10000], [GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.ReactiveLoadBalancerClientFilter@57b75756}, order = 10150], [GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.LoadBalancerServiceInstanceCookieFilter@5327a06e}, order = 10151], [GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.WebsocketRoutingFilter@2e3cdec2}, order = 2147483646], [GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.NettyRoutingFilter@2679311f}, order = 2147483647], [GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.ForwardRoutingFilter@44cb460e}, order = 2147483647]]
|
||||
2025-07-16 09:04:31 [reactor-http-nio-5] DEBUG [o.s.c.g.f.h.o.ObservedRequestHttpHeadersFilter] - Will instrument the HTTP request headers [Host:"localhost:19000", User-Agent:"curl/8.7.1", Accept:"*/*", Forwarded:"proto=http;host="localhost:19000";for="[0:0:0:0:0:0:0:1]:62323"", X-Forwarded-For:"0:0:0:0:0:0:0:1", X-Forwarded-Proto:"http", X-Forwarded-Port:"19000", X-Forwarded-Host:"localhost:19000"]
|
||||
2025-07-16 09:04:31 [reactor-http-nio-5] DEBUG [o.s.c.g.f.h.o.ObservedRequestHttpHeadersFilter] - Client observation {name=http.client.requests(null), error=null, context=name='http.client.requests', contextualName='null', error='null', lowCardinalityKeyValues=[http.method='GET', http.status_code='UNKNOWN', spring.cloud.gateway.route.id='emotion-ai-route', spring.cloud.gateway.route.uri='http://localhost:19002'], highCardinalityKeyValues=[http.uri='http://localhost:19000/ai/actuator/health'], map=[class io.micrometer.core.instrument.Timer$Sample='io.micrometer.core.instrument.Timer$Sample@14138b12', class io.micrometer.core.instrument.LongTaskTimer$Sample='SampleImpl{duration(seconds)=1.69279E-4, duration(nanos)=169279.0, startTimeNanos=302648957485505}'], parentObservation={name=http.server.requests(null), error=null, context=name='http.server.requests', contextualName='null', error='null', lowCardinalityKeyValues=[exception='none', method='GET', outcome='SUCCESS', status='200', uri='UNKNOWN'], highCardinalityKeyValues=[http.url='/ai/actuator/health'], map=[class io.micrometer.core.instrument.Timer$Sample='io.micrometer.core.instrument.Timer$Sample@3973cc2a', class io.micrometer.core.instrument.LongTaskTimer$Sample='SampleImpl{duration(seconds)=0.003046764, duration(nanos)=3046764.0, startTimeNanos=302648954707166}'], parentObservation=null}} created for the request. New headers are [Host:"localhost:19000", User-Agent:"curl/8.7.1", Accept:"*/*", Forwarded:"proto=http;host="localhost:19000";for="[0:0:0:0:0:0:0:1]:62323"", X-Forwarded-For:"0:0:0:0:0:0:0:1", X-Forwarded-Proto:"http", X-Forwarded-Port:"19000", X-Forwarded-Host:"localhost:19000"]
|
||||
2025-07-16 09:04:32 [reactor-http-nio-5] DEBUG [o.s.c.g.f.h.o.ObservedResponseHttpHeadersFilter] - Will instrument the response
|
||||
2025-07-16 09:04:32 [reactor-http-nio-5] DEBUG [o.s.c.g.f.h.o.ObservedResponseHttpHeadersFilter] - The response was handled for observation {name=http.client.requests(null), error=null, context=name='http.client.requests', contextualName='null', error='null', lowCardinalityKeyValues=[http.method='GET', http.status_code='UNKNOWN', spring.cloud.gateway.route.id='emotion-ai-route', spring.cloud.gateway.route.uri='http://localhost:19002'], highCardinalityKeyValues=[http.uri='http://localhost:19000/ai/actuator/health'], map=[class io.micrometer.core.instrument.Timer$Sample='io.micrometer.core.instrument.Timer$Sample@14138b12', class io.micrometer.core.instrument.LongTaskTimer$Sample='SampleImpl{duration(seconds)=0.078077624, duration(nanos)=7.8077624E7, startTimeNanos=302648957485505}'], parentObservation={name=http.server.requests(null), error=null, context=name='http.server.requests', contextualName='null', error='null', lowCardinalityKeyValues=[exception='none', method='GET', outcome='SUCCESS', status='200', uri='UNKNOWN'], highCardinalityKeyValues=[http.url='/ai/actuator/health'], map=[class io.micrometer.core.instrument.Timer$Sample='io.micrometer.core.instrument.Timer$Sample@3973cc2a', class io.micrometer.core.instrument.LongTaskTimer$Sample='SampleImpl{duration(seconds)=0.080973745, duration(nanos)=8.0973745E7, startTimeNanos=302648954707166}'], parentObservation=null}}
|
||||
2025-07-16 09:04:32 [reactor-http-nio-5] DEBUG [o.s.web.server.adapter.HttpWebHandlerAdapter] - [37305ece-4] Completed 404 NOT_FOUND
|
||||
@@ -0,0 +1,125 @@
|
||||
2025-07-16T09:03:18.888+08:00 WARN 19784 --- [ 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
|
||||
2025-07-16T09:03:18.983+08:00 WARN 19784 --- [ 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
|
||||
2025-07-16T09:03:19.261+08:00 WARN 19784 --- [ 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
|
||||
2025-07-16T09:03:19.262+08:00 INFO 19784 --- [ main] c.alibaba.nacos.client.utils.ParamUtil : [settings] [req-serv] nacos-server port:8848
|
||||
2025-07-16T09:03:19.263+08:00 INFO 19784 --- [ main] c.alibaba.nacos.client.utils.ParamUtil : [settings] [http-client] connect timeout:1000
|
||||
2025-07-16T09:03:19.265+08:00 INFO 19784 --- [ main] c.alibaba.nacos.client.utils.ParamUtil : PER_TASK_CONFIG_SIZE: 3000.0
|
||||
2025-07-16T09:03:19.321+08:00 INFO 19784 --- [ main] c.a.n.p.a.s.c.ClientAuthPluginManager : [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success.
|
||||
2025-07-16T09:03:19.321+08:00 INFO 19784 --- [ main] c.a.n.p.a.s.c.ClientAuthPluginManager : [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success.
|
||||
2025-07-16T09:03:19.345+08:00 INFO 19784 --- [ main] c.a.n.c.a.r.identify.CredentialWatcher : null No credential found
|
||||
2025-07-16 09:03:19 [main] WARN [com.alibaba.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.2)
|
||||
|
||||
2025-07-16 09:03:19 [main] INFO [c.a.n.client.config.impl.LocalConfigInfoProcessor] - LOCAL_SNAPSHOT_PATH:/Users/huazhongmin/nacos/config
|
||||
2025-07-16 09:03:19 [main] INFO [com.alibaba.nacos.common.remote.client] - [RpcClientFactory] create a new rpc client of 745c3cf4-7cb2-4ac6-a11a-86fd37de7293_config-0
|
||||
2025-07-16 09:03:19 [main] INFO [com.alibaba.nacos.common.remote.client] - [745c3cf4-7cb2-4ac6-a11a-86fd37de7293_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda/0x000000013d2dc530
|
||||
2025-07-16 09:03:19 [main] INFO [com.alibaba.nacos.common.remote.client] - [745c3cf4-7cb2-4ac6-a11a-86fd37de7293_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda/0x000000013d2dc940
|
||||
2025-07-16 09:03:19 [main] INFO [com.alibaba.nacos.common.remote.client] - [745c3cf4-7cb2-4ac6-a11a-86fd37de7293_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
|
||||
2025-07-16 09:03:19 [main] INFO [com.alibaba.nacos.common.remote.client] - [745c3cf4-7cb2-4ac6-a11a-86fd37de7293_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
|
||||
2025-07-16 09:03:19 [main] INFO [com.alibaba.nacos.common.remote.client] - [745c3cf4-7cb2-4ac6-a11a-86fd37de7293_config-0] Try to connect to server on start up, server: {serverIp = '127.0.0.1', server main port = 8848}
|
||||
2025-07-16 09:03:19 [main] INFO [c.a.nacos.common.remote.client.grpc.GrpcClient] - grpc client connection server:127.0.0.1 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"OPENSSL","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
|
||||
2025-07-16 09:03:20 [main] INFO [com.alibaba.nacos.common.remote.client] - [745c3cf4-7cb2-4ac6-a11a-86fd37de7293_config-0] Success to connect to server [127.0.0.1:8848] on start up, connectionId = 1752627800162_127.0.0.1_62095
|
||||
2025-07-16 09:03:20 [com.alibaba.nacos.client.remote.worker] INFO [com.alibaba.nacos.common.remote.client] - [745c3cf4-7cb2-4ac6-a11a-86fd37de7293_config-0] Notify connected event to listeners.
|
||||
2025-07-16 09:03:20 [com.alibaba.nacos.client.remote.worker] INFO [com.alibaba.nacos.client.config.impl.ClientWorker] - [745c3cf4-7cb2-4ac6-a11a-86fd37de7293_config-0] Connected,notify listen context...
|
||||
2025-07-16 09:03:20 [main] INFO [com.alibaba.nacos.common.remote.client] - [745c3cf4-7cb2-4ac6-a11a-86fd37de7293_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
|
||||
2025-07-16 09:03:20 [main] INFO [com.alibaba.nacos.common.remote.client] - [745c3cf4-7cb2-4ac6-a11a-86fd37de7293_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda/0x000000013d43f118
|
||||
2025-07-16 09:03:20 [main] INFO [com.alibaba.nacos.client.config.impl.Limiter] - limitTime:5.0
|
||||
2025-07-16 09:03:20 [main] WARN [c.a.cloud.nacos.client.NacosPropertySourceBuilder] - Ignore the empty nacos configuration and get it based on dataId[emotion-user] & group[DEFAULT_GROUP]
|
||||
2025-07-16 09:03:20 [main] WARN [c.a.cloud.nacos.client.NacosPropertySourceBuilder] - Ignore the empty nacos configuration and get it based on dataId[emotion-user.properties] & group[DEFAULT_GROUP]
|
||||
2025-07-16 09:03:20 [main] WARN [c.a.cloud.nacos.client.NacosPropertySourceBuilder] - Ignore the empty nacos configuration and get it based on dataId[emotion-user-local.properties] & group[DEFAULT_GROUP]
|
||||
2025-07-16 09:03:20 [main] INFO [o.s.c.b.c.PropertySourceBootstrapConfiguration] - Located property source: [BootstrapPropertySource {name='bootstrapProperties-emotion-user-local.properties,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-emotion-user.properties,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-emotion-user,DEFAULT_GROUP'}]
|
||||
2025-07-16 09:03:20 [main] WARN [com.alibaba.nacos.client.logging.NacosLogging] - Load Logback Configuration of Nacos fail, message: Could not initialize Logback Nacos logging from classpath:nacos-logback.xml
|
||||
2025-07-16 09:03:20 [main] INFO [com.emotionmuseum.user.UserApplication] - The following 1 profile is active: "local"
|
||||
2025-07-16 09:03:21 [main] INFO [o.s.d.r.config.RepositoryConfigurationDelegate] - Multiple Spring Data modules found, entering strict repository configuration mode
|
||||
2025-07-16 09:03:21 [main] INFO [o.s.d.r.config.RepositoryConfigurationDelegate] - Bootstrapping Spring Data Redis repositories in DEFAULT mode.
|
||||
2025-07-16 09:03:21 [main] INFO [o.s.d.r.config.RepositoryConfigurationDelegate] - Finished Spring Data repository scanning in 12 ms. Found 0 Redis repository interfaces.
|
||||
2025-07-16 09:03:21 [main] INFO [o.springframework.cloud.context.scope.GenericScope] - BeanFactory id=2c694ed0-114c-30e6-aed7-dcee6bca36f0
|
||||
2025-07-16 09:03:22 [main] INFO [o.s.boot.web.embedded.tomcat.TomcatWebServer] - Tomcat initialized with port(s): 19001 (http)
|
||||
2025-07-16 09:03:22 [main] INFO [org.apache.catalina.core.StandardService] - Starting service [Tomcat]
|
||||
2025-07-16 09:03:22 [main] INFO [org.apache.catalina.core.StandardEngine] - Starting Servlet engine: [Apache Tomcat/10.1.5]
|
||||
2025-07-16 09:03:22 [main] INFO [o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]] - Initializing Spring embedded WebApplicationContext
|
||||
2025-07-16 09:03:22 [main] INFO [o.s.b.w.s.c.ServletWebServerApplicationContext] - Root WebApplicationContext: initialization completed in 2214 ms
|
||||
Logging initialized using 'class org.apache.ibatis.logging.stdout.StdOutImpl' adapter.
|
||||
2025-07-16 09:03:23 [main] INFO [com.emotionmuseum.common.config.SnowflakeConfig] - 使用MAC地址生成的机器ID: 669
|
||||
2025-07-16 09:03:23 [main] INFO [com.emotionmuseum.common.config.SnowflakeConfig] - 雪花算法配置完成,使用机器ID: 669
|
||||
2025-07-16 09:03:23 [main] INFO [c.emotionmuseum.common.util.SnowflakeIdGenerator] - 雪花算法ID生成器初始化完成,机器ID: 669
|
||||
Registered plugin: 'com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor@76889e60'
|
||||
Parsed mapper file: 'URL [jar:file:/Users/huazhongmin/peanut/AppleDevelop/EmotionMuseum/backend/emotion-user/target/emotion-user-1.0.0.jar!/BOOT-INF/classes!/mapper/UserMapper.xml]'
|
||||
_ _ |_ _ _|_. ___ _ | _
|
||||
| | |\/|_)(_| | |_\ |_)||_|_\
|
||||
/ |
|
||||
3.5.3.1
|
||||
2025-07-16 09:03:24 [main] DEBUG [c.e.user.security.JwtAuthenticationFilter] - Filter 'jwtAuthenticationFilter' configured for use
|
||||
2025-07-16 09:03:24 [main] DEBUG [o.s.web.filter.ServerHttpObservationFilter] - Filter 'serverHttpObservationFilter' configured for use
|
||||
2025-07-16 09:03:24 [main] DEBUG [o.s.w.s.m.m.a.RequestMappingHandlerMapping] - 19 mappings in 'requestMappingHandlerMapping'
|
||||
2025-07-16 09:03:24 [main] DEBUG [o.s.web.servlet.handler.SimpleUrlHandlerMapping] - Patterns [/webjars/**, /**] in 'resourceHandlerMapping'
|
||||
2025-07-16 09:03:25 [main] INFO [o.s.b.actuate.endpoint.web.EndpointLinksResolver] - Exposing 3 endpoint(s) beneath base path '/actuator'
|
||||
2025-07-16 09:03:25 [main] INFO [o.s.security.web.DefaultSecurityFilterChain] - Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@6993c8df, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@57545c3f, org.springframework.security.web.context.SecurityContextHolderFilter@64920dc2, org.springframework.security.web.header.HeaderWriterFilter@794366a5, org.springframework.web.filter.CorsFilter@326e0b8e, org.springframework.security.web.authentication.logout.LogoutFilter@30839e44, com.emotionmuseum.user.security.JwtAuthenticationFilter@434514d8, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@493ac8d3, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@13dbed9e, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@36baa049, org.springframework.security.web.session.SessionManagementFilter@1ee47d9e, org.springframework.security.web.access.ExceptionTranslationFilter@3f36e8d1, org.springframework.security.web.access.intercept.AuthorizationFilter@7978e022]
|
||||
2025-07-16 09:03:25 [main] DEBUG [o.s.w.s.m.m.a.RequestMappingHandlerAdapter] - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
|
||||
2025-07-16 09:03:25 [main] DEBUG [o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver] - ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice
|
||||
2025-07-16 09:03:25 [main] INFO [o.s.boot.web.embedded.tomcat.TomcatWebServer] - Tomcat started on port(s): 19001 (http) with context path ''
|
||||
2025-07-16 09:03:25 [main] INFO [com.emotionmuseum.user.UserApplication] - Started UserApplication in 7.27 seconds (process running for 7.838)
|
||||
2025-07-16 09:03:57 [http-nio-19001-exec-1] INFO [o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]] - Initializing Spring DispatcherServlet 'dispatcherServlet'
|
||||
2025-07-16 09:03:57 [http-nio-19001-exec-1] INFO [org.springframework.web.servlet.DispatcherServlet] - Initializing Servlet 'dispatcherServlet'
|
||||
2025-07-16 09:03:57 [http-nio-19001-exec-1] DEBUG [org.springframework.web.servlet.DispatcherServlet] - Detected StandardServletMultipartResolver
|
||||
2025-07-16 09:03:57 [http-nio-19001-exec-1] DEBUG [org.springframework.web.servlet.DispatcherServlet] - Detected AcceptHeaderLocaleResolver
|
||||
2025-07-16 09:03:57 [http-nio-19001-exec-1] DEBUG [org.springframework.web.servlet.DispatcherServlet] - Detected FixedThemeResolver
|
||||
2025-07-16 09:03:57 [http-nio-19001-exec-1] DEBUG [org.springframework.web.servlet.DispatcherServlet] - Detected org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator@5e240cb6
|
||||
2025-07-16 09:03:57 [http-nio-19001-exec-1] DEBUG [org.springframework.web.servlet.DispatcherServlet] - Detected org.springframework.web.servlet.support.SessionFlashMapManager@2e21a5d9
|
||||
2025-07-16 09:03:57 [http-nio-19001-exec-1] DEBUG [org.springframework.web.servlet.DispatcherServlet] - enableLoggingRequestDetails='false': request parameters and headers will be masked to prevent unsafe logging of potentially sensitive data
|
||||
2025-07-16 09:03:57 [http-nio-19001-exec-1] INFO [org.springframework.web.servlet.DispatcherServlet] - Completed initialization in 2 ms
|
||||
2025-07-16 09:03:57 [http-nio-19001-exec-1] DEBUG [org.springframework.web.servlet.DispatcherServlet] - GET "/actuator/health", parameters={}
|
||||
2025-07-16 09:03:57 [http-nio-19001-exec-1] INFO [com.zaxxer.hikari.HikariDataSource] - HikariPool-1 - Starting...
|
||||
2025-07-16 09:03:57 [http-nio-19001-exec-1] INFO [com.zaxxer.hikari.pool.HikariPool] - HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@1703fbc9
|
||||
2025-07-16 09:03:57 [http-nio-19001-exec-1] INFO [com.zaxxer.hikari.HikariDataSource] - HikariPool-1 - Start completed.
|
||||
2025-07-16 09:03:58 [http-nio-19001-exec-1] DEBUG [o.s.w.s.m.m.annotation.HttpEntityMethodProcessor] - Using 'application/vnd.spring-boot.actuator.v3+json', given [*/*] and supported [application/vnd.spring-boot.actuator.v3+json, application/vnd.spring-boot.actuator.v2+json, application/json]
|
||||
2025-07-16 09:03:58 [http-nio-19001-exec-1] DEBUG [o.s.w.s.m.m.annotation.HttpEntityMethodProcessor] - Writing [org.springframework.boot.actuate.health.SystemHealth@178369bf]
|
||||
2025-07-16 09:03:58 [http-nio-19001-exec-1] DEBUG [org.springframework.web.servlet.DispatcherServlet] - Completed 200 OK
|
||||
2025-07-16 09:04:12 [http-nio-19001-exec-3] DEBUG [org.springframework.web.servlet.DispatcherServlet] - GET "/actuator/health", parameters={}
|
||||
2025-07-16 09:04:12 [http-nio-19001-exec-3] DEBUG [o.s.w.s.m.m.annotation.HttpEntityMethodProcessor] - Using 'application/vnd.spring-boot.actuator.v3+json', given [*/*] and supported [application/vnd.spring-boot.actuator.v3+json, application/vnd.spring-boot.actuator.v2+json, application/json]
|
||||
2025-07-16 09:04:12 [http-nio-19001-exec-3] DEBUG [o.s.w.s.m.m.annotation.HttpEntityMethodProcessor] - Writing [org.springframework.boot.actuate.health.SystemHealth@159e4af4]
|
||||
2025-07-16 09:04:12 [http-nio-19001-exec-3] DEBUG [org.springframework.web.servlet.DispatcherServlet] - Completed 200 OK
|
||||
2025-07-16 09:04:22 [http-nio-19001-exec-5] DEBUG [o.s.web.servlet.handler.SimpleUrlHandlerMapping] - Mapped to ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
|
||||
2025-07-16 09:04:22 [http-nio-19001-exec-5] DEBUG [o.s.web.servlet.handler.SimpleUrlHandlerMapping] - Mapped to ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
|
||||
2025-07-16 09:04:22 [http-nio-19001-exec-5] DEBUG [o.s.web.servlet.handler.SimpleUrlHandlerMapping] - Mapped to ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
|
||||
2025-07-16 09:04:22 [http-nio-19001-exec-5] DEBUG [o.s.web.servlet.handler.SimpleUrlHandlerMapping] - Mapped to ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
|
||||
2025-07-16 09:04:22 [http-nio-19001-exec-5] DEBUG [o.s.web.servlet.handler.SimpleUrlHandlerMapping] - Mapped to ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
|
||||
2025-07-16 09:04:22 [http-nio-19001-exec-5] DEBUG [o.s.web.servlet.handler.SimpleUrlHandlerMapping] - Mapped to ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
|
||||
2025-07-16 09:04:22 [http-nio-19001-exec-5] DEBUG [o.s.web.servlet.handler.SimpleUrlHandlerMapping] - Mapped to ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
|
||||
2025-07-16 09:04:22 [http-nio-19001-exec-5] DEBUG [o.s.web.servlet.handler.SimpleUrlHandlerMapping] - Mapped to ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
|
||||
2025-07-16 09:04:22 [http-nio-19001-exec-5] DEBUG [o.s.web.servlet.handler.SimpleUrlHandlerMapping] - Mapped to ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
|
||||
2025-07-16 09:04:22 [http-nio-19001-exec-5] DEBUG [o.s.web.servlet.handler.SimpleUrlHandlerMapping] - Mapped to ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
|
||||
2025-07-16 09:04:22 [http-nio-19001-exec-5] DEBUG [o.s.web.servlet.handler.SimpleUrlHandlerMapping] - Mapped to ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
|
||||
2025-07-16 09:04:22 [http-nio-19001-exec-5] DEBUG [o.s.web.servlet.handler.SimpleUrlHandlerMapping] - Mapped to ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
|
||||
2025-07-16 09:04:22 [http-nio-19001-exec-5] DEBUG [o.s.web.servlet.handler.SimpleUrlHandlerMapping] - Mapped to ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
|
||||
2025-07-16 09:04:22 [http-nio-19001-exec-5] DEBUG [o.s.w.s.m.m.a.RequestMappingHandlerMapping] - Mapped to org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest)
|
||||
2025-07-16 09:04:22 [http-nio-19001-exec-5] DEBUG [o.s.w.s.m.m.a.RequestMappingHandlerMapping] - Mapped to org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest)
|
||||
2025-07-16 09:04:22 [http-nio-19001-exec-5] DEBUG [o.s.w.s.m.m.a.RequestMappingHandlerMapping] - Mapped to org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest)
|
||||
2025-07-16 09:04:22 [http-nio-19001-exec-5] DEBUG [o.s.w.s.m.m.a.RequestMappingHandlerMapping] - Mapped to org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest)
|
||||
2025-07-16 09:04:22 [http-nio-19001-exec-5] DEBUG [o.s.w.s.m.m.a.RequestMappingHandlerMapping] - Mapped to org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest)
|
||||
2025-07-16 09:04:22 [http-nio-19001-exec-5] DEBUG [o.s.w.s.m.m.a.RequestMappingHandlerMapping] - Mapped to org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest)
|
||||
2025-07-16 09:04:22 [http-nio-19001-exec-5] DEBUG [o.s.w.s.m.m.a.RequestMappingHandlerMapping] - Mapped to org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest)
|
||||
2025-07-16 09:04:22 [http-nio-19001-exec-5] DEBUG [o.s.w.s.m.m.a.RequestMappingHandlerMapping] - Mapped to org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest)
|
||||
2025-07-16 09:04:22 [http-nio-19001-exec-5] DEBUG [o.s.w.s.m.m.a.RequestMappingHandlerMapping] - Mapped to org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest)
|
||||
2025-07-16 09:04:22 [http-nio-19001-exec-5] DEBUG [o.s.w.s.m.m.a.RequestMappingHandlerMapping] - Mapped to org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest)
|
||||
2025-07-16 09:04:22 [http-nio-19001-exec-5] DEBUG [o.s.w.s.m.m.a.RequestMappingHandlerMapping] - Mapped to org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest)
|
||||
2025-07-16 09:04:22 [http-nio-19001-exec-5] DEBUG [o.s.w.s.m.m.a.RequestMappingHandlerMapping] - Mapped to org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest)
|
||||
2025-07-16 09:04:22 [http-nio-19001-exec-5] DEBUG [o.s.w.s.m.m.a.RequestMappingHandlerMapping] - Mapped to org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest)
|
||||
2025-07-16 09:04:22 [http-nio-19001-exec-5] DEBUG [org.springframework.web.servlet.DispatcherServlet] - "ERROR" dispatch for GET "/error", parameters={}
|
||||
2025-07-16 09:04:22 [http-nio-19001-exec-5] DEBUG [o.s.w.s.m.m.a.RequestMappingHandlerMapping] - Mapped to org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest)
|
||||
2025-07-16 09:04:22 [http-nio-19001-exec-5] DEBUG [o.s.w.s.m.m.annotation.HttpEntityMethodProcessor] - Using 'application/json', given [*/*] and supported [application/json, application/*+json]
|
||||
2025-07-16 09:04:22 [http-nio-19001-exec-5] DEBUG [o.s.w.s.m.m.annotation.HttpEntityMethodProcessor] - Writing [{timestamp=Wed Jul 16 09:04:22 CST 2025, status=403, error=Forbidden, path=/user/actuator/health}]
|
||||
2025-07-16 09:04:22 [http-nio-19001-exec-5] DEBUG [org.springframework.web.servlet.DispatcherServlet] - Exiting from "ERROR" dispatch, status 403
|
||||
2025-07-16 09:46:48 [Thread-1] WARN [c.alibaba.nacos.common.http.HttpClientBeanHolder] - [HttpClientBeanHolder] Start destroying common HttpClient
|
||||
2025-07-16 09:46:48 [Thread-7] WARN [com.alibaba.nacos.common.notify.NotifyCenter] - [NotifyCenter] Start destroying Publisher
|
||||
2025-07-16 09:46:48 [Thread-7] WARN [com.alibaba.nacos.common.notify.NotifyCenter] - [NotifyCenter] Destruction of the end
|
||||
2025-07-16 09:46:48 [Thread-1] WARN [c.alibaba.nacos.common.http.HttpClientBeanHolder] - [HttpClientBeanHolder] Destruction of the end
|
||||
2025-07-16 09:46:49 [SpringApplicationShutdownHook] INFO [com.zaxxer.hikari.HikariDataSource] - HikariPool-1 - Shutdown initiated...
|
||||
2025-07-16 09:46:49 [SpringApplicationShutdownHook] INFO [com.zaxxer.hikari.HikariDataSource] - HikariPool-1 - Shutdown completed.
|
||||
@@ -0,0 +1 @@
|
||||
target/emotion-gateway-1.0.0.jar中没有主清单属性
|
||||
@@ -0,0 +1 @@
|
||||
63251
|
||||
@@ -0,0 +1,32 @@
|
||||
2025-07-15T17:59:48.763+08:00 WARN 62881 --- [ 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
|
||||
2025-07-15T17:59:48.862+08:00 WARN 62881 --- [ 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
|
||||
2025-07-15 17:59:49 [main] WARN com.alibaba.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.2)
|
||||
|
||||
2025-07-15 17:59:49 [main] WARN com.alibaba.nacos.client.logging.NacosLogging - Load Logback Configuration of Nacos fail, message: Could not initialize Logback Nacos logging from classpath:nacos-logback.xml
|
||||
2025-07-15 17:59:49 [main] INFO com.emotionmuseum.user.UserApplication - The following 1 profile is active: "local"
|
||||
2025-07-15 17:59:50 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.support.BeanDefinitionOverrideException: Invalid bean definition with name 'snowflakeIdGenerator' defined in class path resource [com/emotionmuseum/common/config/SnowflakeConfig.class]: Cannot register bean definition [Root bean: class [null]; scope=; abstract=false; lazyInit=null; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=snowflakeConfig; factoryMethodName=snowflakeIdGenerator; initMethodNames=null; destroyMethodNames=[(inferred)]; defined in class path resource [com/emotionmuseum/common/config/SnowflakeConfig.class]] for bean 'snowflakeIdGenerator' since there is already [Generic bean: class [com.emotionmuseum.common.util.SnowflakeIdGenerator]; scope=singleton; abstract=false; lazyInit=null; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodNames=null; destroyMethodNames=null; defined in URL [jar:file:/Users/huazhongmin/peanut/AppleDevelop/EmotionMuseum/backend/emotion-user/target/emotion-user-1.0.0.jar!/BOOT-INF/lib/emotion-common-1.0.0.jar!/com/emotionmuseum/common/util/SnowflakeIdGenerator.class]] bound.
|
||||
2025-07-15 17:59:50 [main] INFO o.s.b.a.logging.ConditionEvaluationReportLogger -
|
||||
|
||||
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
|
||||
2025-07-15 17:59:50 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter -
|
||||
|
||||
***************************
|
||||
APPLICATION FAILED TO START
|
||||
***************************
|
||||
|
||||
Description:
|
||||
|
||||
The bean 'snowflakeIdGenerator', defined in class path resource [com/emotionmuseum/common/config/SnowflakeConfig.class], could not be registered. A bean with that name has already been defined in URL [jar:file:/Users/huazhongmin/peanut/AppleDevelop/EmotionMuseum/backend/emotion-user/target/emotion-user-1.0.0.jar!/BOOT-INF/lib/emotion-common-1.0.0.jar!/com/emotionmuseum/common/util/SnowflakeIdGenerator.class] and overriding is disabled.
|
||||
|
||||
Action:
|
||||
|
||||
Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
62881
|
||||
Reference in New Issue
Block a user