feat: 添加.gitignore文件并清理编译产物

🔧 新增功能:
- 添加完整的.gitignore文件,覆盖所有编译产物和临时文件
- 从Git跟踪中移除Maven target目录下的编译产物
- 从Git跟踪中移除日志文件和临时文件

📁 忽略文件类型:
- Maven编译产物 (target/**, *.jar, *.war等)
- 日志文件 (logs/, *.log, *.log.*)
- IDE文件 (.idea/, *.iml, .vscode/等)
- Node.js文件 (node_modules/, dist/, .env等)
- 操作系统文件 (.DS_Store, Thumbs.db等)
- 临时文件 (*.tmp, *.bak, *.swp等)
- 部署包 (packages/, *.tar.gz, *.zip等)

 优化效果:
- 减少仓库大小,提高克隆速度
- 避免提交不必要的编译产物
- 保持仓库整洁,只包含源代码
- 防止敏感配置文件意外提交
This commit is contained in:
2025-07-18 11:49:36 +08:00
parent 620f38318e
commit 9f5a3601ea
245 changed files with 299 additions and 19813 deletions
@@ -1,305 +0,0 @@
2025-07-16T08:59:01.762+08:00 WARN 36358 --- [Thread-1] c.a.n.common.http.HttpClientBeanHolder : [HttpClientBeanHolder] Start destroying common HttpClient
2025-07-16T08:59:01.762+08:00 WARN 36358 --- [Thread-7] c.a.nacos.common.notify.NotifyCenter : [NotifyCenter] Start destroying Publisher
2025-07-16T08:59:01.864+08:00 WARN 36358 --- [Thread-7] c.a.nacos.common.notify.NotifyCenter : [NotifyCenter] Destruction of the end
2025-07-16T08:59:01.871+08:00 WARN 36358 --- [Thread-1] c.a.n.common.http.HttpClientBeanHolder : [HttpClientBeanHolder] Destruction of the end
2025-07-16T08:59:02.053+08:00 INFO 36358 --- [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
2025-07-16T08:59:02.060+08:00 INFO 36358 --- [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
2025-07-16T08:59:19.149+08:00 WARN 15828 --- [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-16T08:59:19.178+08:00 INFO 15828 --- [main] c.a.n.c.c.impl.LocalConfigInfoProcessor : LOCAL_SNAPSHOT_PATH:/Users/huazhongmin/nacos/config
2025-07-16T08:59:19.182+08:00 INFO 15828 --- [main] com.alibaba.nacos.common.remote.client : [RpcClientFactory] create a new rpc client of f264096d-5a79-4318-9f7b-d1a3577abfef_config-0
2025-07-16T08:59:19.203+08:00 INFO 15828 --- [main] com.alibaba.nacos.common.remote.client : [f264096d-5a79-4318-9f7b-d1a3577abfef_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda/0x000000012f2dc260
2025-07-16T08:59:19.204+08:00 INFO 15828 --- [main] com.alibaba.nacos.common.remote.client : [f264096d-5a79-4318-9f7b-d1a3577abfef_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda/0x000000012f2dc670
2025-07-16T08:59:19.204+08:00 INFO 15828 --- [main] com.alibaba.nacos.common.remote.client : [f264096d-5a79-4318-9f7b-d1a3577abfef_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
2025-07-16T08:59:19.204+08:00 INFO 15828 --- [main] com.alibaba.nacos.common.remote.client : [f264096d-5a79-4318-9f7b-d1a3577abfef_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
2025-07-16T08:59:19.218+08:00 INFO 15828 --- [main] com.alibaba.nacos.common.remote.client : [f264096d-5a79-4318-9f7b-d1a3577abfef_config-0] Try to connect to server on start up, server: {serverIp = '127.0.0.1', server main port = 8848}
2025-07-16T08:59:19.263+08:00 INFO 15828 --- [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}
2025-07-16T08:59:19.932+08:00 INFO 15828 --- [main] com.alibaba.nacos.common.remote.client : [f264096d-5a79-4318-9f7b-d1a3577abfef_config-0] Success to connect to server [127.0.0.1:8848] on start up, connectionId = 1752627559740_127.0.0.1_61370
2025-07-16T08:59:19.933+08:00 INFO 15828 --- [com.alibaba.nacos.client.remote.worker] com.alibaba.nacos.common.remote.client : [f264096d-5a79-4318-9f7b-d1a3577abfef_config-0] Notify connected event to listeners.
2025-07-16T08:59:19.933+08:00 INFO 15828 --- [com.alibaba.nacos.client.remote.worker] c.a.n.client.config.impl.ClientWorker : [f264096d-5a79-4318-9f7b-d1a3577abfef_config-0] Connected,notify listen context...
2025-07-16T08:59:19.933+08:00 INFO 15828 --- [main] com.alibaba.nacos.common.remote.client : [f264096d-5a79-4318-9f7b-d1a3577abfef_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
2025-07-16T08:59:19.934+08:00 INFO 15828 --- [main] com.alibaba.nacos.common.remote.client : [f264096d-5a79-4318-9f7b-d1a3577abfef_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda/0x000000012f43f118
2025-07-16T08:59:19.978+08:00 INFO 15828 --- [main] c.a.nacos.client.config.impl.Limiter : limitTime:5.0
2025-07-16T08:59:20.036+08:00 WARN 15828 --- [main] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it based on dataId[emotion-user] & group[DEFAULT_GROUP]
2025-07-16T08:59:20.042+08:00 WARN 15828 --- [main] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it based on dataId[emotion-user.properties] & group[DEFAULT_GROUP]
2025-07-16T08:59:20.051+08:00 WARN 15828 --- [main] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it based on dataId[emotion-user-local.properties] & group[DEFAULT_GROUP]
2025-07-16T08:59:20.052+08:00 INFO 15828 --- [main] 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-16T08:59:20.079+08:00 WARN 15828 --- [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-16T08:59:20.080+08:00 INFO 15828 --- [main] com.emotionmuseum.user.UserApplication : The following 1 profile is active: "local"
2025-07-16T08:59:21.224+08:00 INFO 15828 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode
2025-07-16T08:59:21.229+08:00 INFO 15828 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2025-07-16T08:59:21.266+08:00 INFO 15828 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 0 Redis repository interfaces.
2025-07-16T08:59:21.689+08:00 INFO 15828 --- [main] o.s.cloud.context.scope.GenericScope : BeanFactory id=2c694ed0-114c-30e6-aed7-dcee6bca36f0
2025-07-16T08:59:22.421+08:00 INFO 15828 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 19001 (http)
2025-07-16T08:59:22.451+08:00 INFO 15828 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2025-07-16T08:59:22.452+08:00 INFO 15828 --- [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.5]
2025-07-16T08:59:22.557+08:00 INFO 15828 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2025-07-16T08:59:22.558+08:00 INFO 15828 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 2449 ms
2025-07-16T08:59:23.525+08:00 INFO 15828 --- [main] c.e.common.config.SnowflakeConfig : 使用MAC地址生成的机器ID: 669
2025-07-16T08:59:23.527+08:00 INFO 15828 --- [main] c.e.common.config.SnowflakeConfig : 雪花算法配置完成,使用机器ID: 669
2025-07-16T08:59:23.527+08:00 INFO 15828 --- [main] c.e.common.util.SnowflakeIdGenerator : 雪花算法ID生成器初始化完成,机器ID: 669
2025-07-16T08:59:24.050+08:00 DEBUG 15828 --- [main] c.e.u.security.JwtAuthenticationFilter : Filter 'jwtAuthenticationFilter' configured for use
2025-07-16T08:59:24.054+08:00 DEBUG 15828 --- [main] o.s.w.f.ServerHttpObservationFilter : Filter 'serverHttpObservationFilter' configured for use
2025-07-16T08:59:24.740+08:00 DEBUG 15828 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : 19 mappings in 'requestMappingHandlerMapping'
2025-07-16T08:59:24.773+08:00 DEBUG 15828 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Patterns [/webjars/**, /**] in 'resourceHandlerMapping'
2025-07-16T08:59:25.010+08:00 INFO 15828 --- [main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 3 endpoint(s) beneath base path '/actuator'
2025-07-16T08:59:25.104+08:00 INFO 15828 --- [main] o.s.s.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-16T08:59:25.230+08:00 DEBUG 15828 --- [main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
2025-07-16T08:59:25.275+08:00 DEBUG 15828 --- [main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice
2025-07-16T08:59:25.597+08:00 INFO 15828 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 19001 (http) with context path ''
2025-07-16T08:59:25.626+08:00 INFO 15828 --- [main] com.emotionmuseum.user.UserApplication : Started UserApplication in 7.738 seconds (process running for 8.451)
2025-07-16T08:59:57.321+08:00 INFO 15828 --- [http-nio-19001-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
2025-07-16T08:59:57.322+08:00 INFO 15828 --- [http-nio-19001-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
2025-07-16T08:59:57.322+08:00 DEBUG 15828 --- [http-nio-19001-exec-1] o.s.web.servlet.DispatcherServlet : Detected StandardServletMultipartResolver
2025-07-16T08:59:57.322+08:00 DEBUG 15828 --- [http-nio-19001-exec-1] o.s.web.servlet.DispatcherServlet : Detected AcceptHeaderLocaleResolver
2025-07-16T08:59:57.322+08:00 DEBUG 15828 --- [http-nio-19001-exec-1] o.s.web.servlet.DispatcherServlet : Detected FixedThemeResolver
2025-07-16T08:59:57.323+08:00 DEBUG 15828 --- [http-nio-19001-exec-1] o.s.web.servlet.DispatcherServlet : Detected org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator@35e7e45f
2025-07-16T08:59:57.323+08:00 DEBUG 15828 --- [http-nio-19001-exec-1] o.s.web.servlet.DispatcherServlet : Detected org.springframework.web.servlet.support.SessionFlashMapManager@5dfd939f
2025-07-16T08:59:57.323+08:00 DEBUG 15828 --- [http-nio-19001-exec-1] o.s.web.servlet.DispatcherServlet : enableLoggingRequestDetails='false': request parameters and headers will be masked to prevent unsafe logging of potentially sensitive data
2025-07-16T08:59:57.324+08:00 INFO 15828 --- [http-nio-19001-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms
2025-07-16T08:59:57.373+08:00 DEBUG 15828 --- [http-nio-19001-exec-1] o.s.web.servlet.DispatcherServlet : GET "/actuator/health", parameters={}
2025-07-16T08:59:57.404+08:00 INFO 15828 --- [http-nio-19001-exec-1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
2025-07-16T08:59:57.629+08:00 INFO 15828 --- [http-nio-19001-exec-1] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@4cf3c80b
2025-07-16T08:59:57.633+08:00 INFO 15828 --- [http-nio-19001-exec-1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
2025-07-16T08:59:58.042+08:00 DEBUG 15828 --- [http-nio-19001-exec-1] o.s.w.s.m.m.a.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-16T08:59:58.052+08:00 DEBUG 15828 --- [http-nio-19001-exec-1] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [org.springframework.boot.actuate.health.SystemHealth@1ec7b554]
2025-07-16T08:59:58.069+08:00 DEBUG 15828 --- [http-nio-19001-exec-1] o.s.web.servlet.DispatcherServlet : Completed 200 OK
2025-07-16T09:01:08.310+08:00 DEBUG 15828 --- [http-nio-19001-exec-3] o.s.web.servlet.DispatcherServlet : GET "/actuator/health", parameters={}
2025-07-16T09:01:08.316+08:00 DEBUG 15828 --- [http-nio-19001-exec-3] o.s.w.s.m.m.a.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-16T09:01:08.316+08:00 DEBUG 15828 --- [http-nio-19001-exec-3] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [org.springframework.boot.actuate.health.SystemHealth@6fbe5cda]
2025-07-16T09:01:08.317+08:00 DEBUG 15828 --- [http-nio-19001-exec-3] o.s.web.servlet.DispatcherServlet : Completed 200 OK
2025-07-16T09:03:03.679+08:00 WARN 15828 --- [Thread-7] c.a.nacos.common.notify.NotifyCenter : [NotifyCenter] Start destroying Publisher
2025-07-16T09:03:03.679+08:00 WARN 15828 --- [Thread-1] c.a.n.common.http.HttpClientBeanHolder : [HttpClientBeanHolder] Start destroying common HttpClient
2025-07-16T09:03:03.680+08:00 WARN 15828 --- [Thread-7] c.a.nacos.common.notify.NotifyCenter : [NotifyCenter] Destruction of the end
2025-07-16T09:03:03.680+08:00 WARN 15828 --- [Thread-1] c.a.n.common.http.HttpClientBeanHolder : [HttpClientBeanHolder] Destruction of the end
2025-07-16T09:03:03.697+08:00 INFO 15828 --- [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
2025-07-16T09:03:03.705+08:00 INFO 15828 --- [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
2025-07-16T09:03:19.624+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.652+08:00 INFO 19784 --- [main] c.a.n.c.c.impl.LocalConfigInfoProcessor : LOCAL_SNAPSHOT_PATH:/Users/huazhongmin/nacos/config
2025-07-16T09:03:19.656+08:00 INFO 19784 --- [main] com.alibaba.nacos.common.remote.client : [RpcClientFactory] create a new rpc client of 745c3cf4-7cb2-4ac6-a11a-86fd37de7293_config-0
2025-07-16T09:03:19.675+08:00 INFO 19784 --- [main] 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-16T09:03:19.676+08:00 INFO 19784 --- [main] 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-16T09:03:19.676+08:00 INFO 19784 --- [main] 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-16T09:03:19.677+08:00 INFO 19784 --- [main] 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-16T09:03:19.689+08:00 INFO 19784 --- [main] 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-16T09:03:19.748+08:00 INFO 19784 --- [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}
2025-07-16T09:03:20.358+08:00 INFO 19784 --- [main] 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-16T09:03:20.358+08:00 INFO 19784 --- [com.alibaba.nacos.client.remote.worker] com.alibaba.nacos.common.remote.client : [745c3cf4-7cb2-4ac6-a11a-86fd37de7293_config-0] Notify connected event to listeners.
2025-07-16T09:03:20.359+08:00 INFO 19784 --- [com.alibaba.nacos.client.remote.worker] c.a.n.client.config.impl.ClientWorker : [745c3cf4-7cb2-4ac6-a11a-86fd37de7293_config-0] Connected,notify listen context...
2025-07-16T09:03:20.359+08:00 INFO 19784 --- [main] 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-16T09:03:20.359+08:00 INFO 19784 --- [main] 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-16T09:03:20.394+08:00 INFO 19784 --- [main] c.a.nacos.client.config.impl.Limiter : limitTime:5.0
2025-07-16T09:03:20.411+08:00 WARN 19784 --- [main] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it based on dataId[emotion-user] & group[DEFAULT_GROUP]
2025-07-16T09:03:20.417+08:00 WARN 19784 --- [main] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it based on dataId[emotion-user.properties] & group[DEFAULT_GROUP]
2025-07-16T09:03:20.422+08:00 WARN 19784 --- [main] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it based on dataId[emotion-user-local.properties] & group[DEFAULT_GROUP]
2025-07-16T09:03:20.423+08:00 INFO 19784 --- [main] 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-16T09:03:20.445+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:20.446+08:00 INFO 19784 --- [main] com.emotionmuseum.user.UserApplication : The following 1 profile is active: "local"
2025-07-16T09:03:21.462+08:00 INFO 19784 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode
2025-07-16T09:03:21.466+08:00 INFO 19784 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2025-07-16T09:03:21.498+08:00 INFO 19784 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 12 ms. Found 0 Redis repository interfaces.
2025-07-16T09:03:21.895+08:00 INFO 19784 --- [main] o.s.cloud.context.scope.GenericScope : BeanFactory id=2c694ed0-114c-30e6-aed7-dcee6bca36f0
2025-07-16T09:03:22.569+08:00 INFO 19784 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 19001 (http)
2025-07-16T09:03:22.584+08:00 INFO 19784 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2025-07-16T09:03:22.585+08:00 INFO 19784 --- [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.5]
2025-07-16T09:03:22.681+08:00 INFO 19784 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2025-07-16T09:03:22.682+08:00 INFO 19784 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 2214 ms
2025-07-16T09:03:23.440+08:00 INFO 19784 --- [main] c.e.common.config.SnowflakeConfig : 使用MAC地址生成的机器ID: 669
2025-07-16T09:03:23.440+08:00 INFO 19784 --- [main] c.e.common.config.SnowflakeConfig : 雪花算法配置完成,使用机器ID: 669
2025-07-16T09:03:23.440+08:00 INFO 19784 --- [main] c.e.common.util.SnowflakeIdGenerator : 雪花算法ID生成器初始化完成,机器ID: 669
2025-07-16T09:03:24.033+08:00 DEBUG 19784 --- [main] c.e.u.security.JwtAuthenticationFilter : Filter 'jwtAuthenticationFilter' configured for use
2025-07-16T09:03:24.037+08:00 DEBUG 19784 --- [main] o.s.w.f.ServerHttpObservationFilter : Filter 'serverHttpObservationFilter' configured for use
2025-07-16T09:03:24.837+08:00 DEBUG 19784 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : 19 mappings in 'requestMappingHandlerMapping'
2025-07-16T09:03:24.878+08:00 DEBUG 19784 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Patterns [/webjars/**, /**] in 'resourceHandlerMapping'
2025-07-16T09:03:25.069+08:00 INFO 19784 --- [main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 3 endpoint(s) beneath base path '/actuator'
2025-07-16T09:03:25.128+08:00 INFO 19784 --- [main] o.s.s.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-16T09:03:25.229+08:00 DEBUG 19784 --- [main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
2025-07-16T09:03:25.268+08:00 DEBUG 19784 --- [main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice
2025-07-16T09:03:25.658+08:00 INFO 19784 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 19001 (http) with context path ''
2025-07-16T09:03:25.689+08:00 INFO 19784 --- [main] com.emotionmuseum.user.UserApplication : Started UserApplication in 7.27 seconds (process running for 7.838)
2025-07-16T09:03:57.442+08:00 INFO 19784 --- [http-nio-19001-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
2025-07-16T09:03:57.443+08:00 INFO 19784 --- [http-nio-19001-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
2025-07-16T09:03:57.443+08:00 DEBUG 19784 --- [http-nio-19001-exec-1] o.s.web.servlet.DispatcherServlet : Detected StandardServletMultipartResolver
2025-07-16T09:03:57.443+08:00 DEBUG 19784 --- [http-nio-19001-exec-1] o.s.web.servlet.DispatcherServlet : Detected AcceptHeaderLocaleResolver
2025-07-16T09:03:57.443+08:00 DEBUG 19784 --- [http-nio-19001-exec-1] o.s.web.servlet.DispatcherServlet : Detected FixedThemeResolver
2025-07-16T09:03:57.444+08:00 DEBUG 19784 --- [http-nio-19001-exec-1] o.s.web.servlet.DispatcherServlet : Detected org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator@5e240cb6
2025-07-16T09:03:57.444+08:00 DEBUG 19784 --- [http-nio-19001-exec-1] o.s.web.servlet.DispatcherServlet : Detected org.springframework.web.servlet.support.SessionFlashMapManager@2e21a5d9
2025-07-16T09:03:57.445+08:00 DEBUG 19784 --- [http-nio-19001-exec-1] o.s.web.servlet.DispatcherServlet : enableLoggingRequestDetails='false': request parameters and headers will be masked to prevent unsafe logging of potentially sensitive data
2025-07-16T09:03:57.445+08:00 INFO 19784 --- [http-nio-19001-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms
2025-07-16T09:03:57.509+08:00 DEBUG 19784 --- [http-nio-19001-exec-1] o.s.web.servlet.DispatcherServlet : GET "/actuator/health", parameters={}
2025-07-16T09:03:57.546+08:00 INFO 19784 --- [http-nio-19001-exec-1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
2025-07-16T09:03:57.793+08:00 INFO 19784 --- [http-nio-19001-exec-1] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@1703fbc9
2025-07-16T09:03:57.797+08:00 INFO 19784 --- [http-nio-19001-exec-1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
2025-07-16T09:03:58.405+08:00 DEBUG 19784 --- [http-nio-19001-exec-1] o.s.w.s.m.m.a.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-16T09:03:58.416+08:00 DEBUG 19784 --- [http-nio-19001-exec-1] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [org.springframework.boot.actuate.health.SystemHealth@178369bf]
2025-07-16T09:03:58.433+08:00 DEBUG 19784 --- [http-nio-19001-exec-1] o.s.web.servlet.DispatcherServlet : Completed 200 OK
2025-07-16T09:04:12.530+08:00 DEBUG 19784 --- [http-nio-19001-exec-3] o.s.web.servlet.DispatcherServlet : GET "/actuator/health", parameters={}
2025-07-16T09:04:12.544+08:00 DEBUG 19784 --- [http-nio-19001-exec-3] o.s.w.s.m.m.a.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-16T09:04:12.545+08:00 DEBUG 19784 --- [http-nio-19001-exec-3] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [org.springframework.boot.actuate.health.SystemHealth@159e4af4]
2025-07-16T09:04:12.545+08:00 DEBUG 19784 --- [http-nio-19001-exec-3] o.s.web.servlet.DispatcherServlet : Completed 200 OK
2025-07-16T09:04:22.221+08:00 DEBUG 19784 --- [http-nio-19001-exec-5] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped to ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
2025-07-16T09:04:22.223+08:00 DEBUG 19784 --- [http-nio-19001-exec-5] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped to ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
2025-07-16T09:04:22.224+08:00 DEBUG 19784 --- [http-nio-19001-exec-5] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped to ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
2025-07-16T09:04:22.224+08:00 DEBUG 19784 --- [http-nio-19001-exec-5] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped to ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
2025-07-16T09:04:22.225+08:00 DEBUG 19784 --- [http-nio-19001-exec-5] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped to ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
2025-07-16T09:04:22.225+08:00 DEBUG 19784 --- [http-nio-19001-exec-5] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped to ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
2025-07-16T09:04:22.226+08:00 DEBUG 19784 --- [http-nio-19001-exec-5] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped to ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
2025-07-16T09:04:22.226+08:00 DEBUG 19784 --- [http-nio-19001-exec-5] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped to ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
2025-07-16T09:04:22.227+08:00 DEBUG 19784 --- [http-nio-19001-exec-5] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped to ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
2025-07-16T09:04:22.227+08:00 DEBUG 19784 --- [http-nio-19001-exec-5] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped to ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
2025-07-16T09:04:22.228+08:00 DEBUG 19784 --- [http-nio-19001-exec-5] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped to ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
2025-07-16T09:04:22.228+08:00 DEBUG 19784 --- [http-nio-19001-exec-5] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped to ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
2025-07-16T09:04:22.229+08:00 DEBUG 19784 --- [http-nio-19001-exec-5] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped to ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
2025-07-16T09:04:22.237+08:00 DEBUG 19784 --- [http-nio-19001-exec-5] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest)
2025-07-16T09:04:22.237+08:00 DEBUG 19784 --- [http-nio-19001-exec-5] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest)
2025-07-16T09:04:22.238+08:00 DEBUG 19784 --- [http-nio-19001-exec-5] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest)
2025-07-16T09:04:22.238+08:00 DEBUG 19784 --- [http-nio-19001-exec-5] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest)
2025-07-16T09:04:22.238+08:00 DEBUG 19784 --- [http-nio-19001-exec-5] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest)
2025-07-16T09:04:22.239+08:00 DEBUG 19784 --- [http-nio-19001-exec-5] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest)
2025-07-16T09:04:22.239+08:00 DEBUG 19784 --- [http-nio-19001-exec-5] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest)
2025-07-16T09:04:22.239+08:00 DEBUG 19784 --- [http-nio-19001-exec-5] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest)
2025-07-16T09:04:22.240+08:00 DEBUG 19784 --- [http-nio-19001-exec-5] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest)
2025-07-16T09:04:22.240+08:00 DEBUG 19784 --- [http-nio-19001-exec-5] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest)
2025-07-16T09:04:22.240+08:00 DEBUG 19784 --- [http-nio-19001-exec-5] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest)
2025-07-16T09:04:22.241+08:00 DEBUG 19784 --- [http-nio-19001-exec-5] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest)
2025-07-16T09:04:22.241+08:00 DEBUG 19784 --- [http-nio-19001-exec-5] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest)
2025-07-16T09:04:22.242+08:00 DEBUG 19784 --- [http-nio-19001-exec-5] o.s.web.servlet.DispatcherServlet : "ERROR" dispatch for GET "/error", parameters={}
2025-07-16T09:04:22.242+08:00 DEBUG 19784 --- [http-nio-19001-exec-5] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest)
2025-07-16T09:04:22.245+08:00 DEBUG 19784 --- [http-nio-19001-exec-5] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json]
2025-07-16T09:04:22.245+08:00 DEBUG 19784 --- [http-nio-19001-exec-5] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [{timestamp=Wed Jul 16 09:04:22 CST 2025, status=403, error=Forbidden, path=/user/actuator/health}]
2025-07-16T09:04:22.249+08:00 DEBUG 19784 --- [http-nio-19001-exec-5] o.s.web.servlet.DispatcherServlet : Exiting from "ERROR" dispatch, status 403
2025-07-16T09:45:38.808+08:00 WARN 56575 --- [restartedMain] 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:45:38.828+08:00 INFO 56575 --- [restartedMain] c.a.n.c.c.impl.LocalConfigInfoProcessor : LOCAL_SNAPSHOT_PATH:/Users/huazhongmin/nacos/config
2025-07-16T09:45:38.832+08:00 INFO 56575 --- [restartedMain] com.alibaba.nacos.common.remote.client : [RpcClientFactory] create a new rpc client of ecde1dfa-90a6-49ad-97db-0a748b10d78c_config-0
2025-07-16T09:45:38.850+08:00 INFO 56575 --- [restartedMain] com.alibaba.nacos.common.remote.client : [ecde1dfa-90a6-49ad-97db-0a748b10d78c_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda/0x00000001273239b8
2025-07-16T09:45:38.850+08:00 INFO 56575 --- [restartedMain] com.alibaba.nacos.common.remote.client : [ecde1dfa-90a6-49ad-97db-0a748b10d78c_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda/0x0000000127323de8
2025-07-16T09:45:38.851+08:00 INFO 56575 --- [restartedMain] com.alibaba.nacos.common.remote.client : [ecde1dfa-90a6-49ad-97db-0a748b10d78c_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
2025-07-16T09:45:38.851+08:00 INFO 56575 --- [restartedMain] com.alibaba.nacos.common.remote.client : [ecde1dfa-90a6-49ad-97db-0a748b10d78c_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
2025-07-16T09:45:38.857+08:00 INFO 56575 --- [restartedMain] com.alibaba.nacos.common.remote.client : [ecde1dfa-90a6-49ad-97db-0a748b10d78c_config-0] Try to connect to server on start up, server: {serverIp = '127.0.0.1', server main port = 8848}
2025-07-16T09:45:38.890+08:00 INFO 56575 --- [restartedMain] 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}
2025-07-16T09:45:39.587+08:00 INFO 56575 --- [restartedMain] com.alibaba.nacos.common.remote.client : [ecde1dfa-90a6-49ad-97db-0a748b10d78c_config-0] Success to connect to server [127.0.0.1:8848] on start up, connectionId = 1752630339357_127.0.0.1_52952
2025-07-16T09:45:39.589+08:00 INFO 56575 --- [restartedMain] com.alibaba.nacos.common.remote.client : [ecde1dfa-90a6-49ad-97db-0a748b10d78c_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
2025-07-16T09:45:39.589+08:00 INFO 56575 --- [com.alibaba.nacos.client.remote.worker] com.alibaba.nacos.common.remote.client : [ecde1dfa-90a6-49ad-97db-0a748b10d78c_config-0] Notify connected event to listeners.
2025-07-16T09:45:39.589+08:00 INFO 56575 --- [com.alibaba.nacos.client.remote.worker] c.a.n.client.config.impl.ClientWorker : [ecde1dfa-90a6-49ad-97db-0a748b10d78c_config-0] Connected,notify listen context...
2025-07-16T09:45:39.590+08:00 INFO 56575 --- [restartedMain] com.alibaba.nacos.common.remote.client : [ecde1dfa-90a6-49ad-97db-0a748b10d78c_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda/0x000000012748f730
2025-07-16T09:45:39.641+08:00 INFO 56575 --- [restartedMain] c.a.nacos.client.config.impl.Limiter : limitTime:5.0
2025-07-16T09:45:39.679+08:00 WARN 56575 --- [restartedMain] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it based on dataId[emotion-user] & group[DEFAULT_GROUP]
2025-07-16T09:45:39.684+08:00 WARN 56575 --- [restartedMain] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it based on dataId[emotion-user.properties] & group[DEFAULT_GROUP]
2025-07-16T09:45:39.691+08:00 WARN 56575 --- [restartedMain] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it based on dataId[emotion-user-local.properties] & group[DEFAULT_GROUP]
2025-07-16T09:45:39.691+08:00 INFO 56575 --- [restartedMain] 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-16T09:45:39.707+08:00 WARN 56575 --- [restartedMain] 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:45:39.707+08:00 INFO 56575 --- [restartedMain] com.emotionmuseum.user.UserApplication : The following 1 profile is active: "local"
2025-07-16T09:45:40.656+08:00 INFO 56575 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode
2025-07-16T09:45:40.660+08:00 INFO 56575 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2025-07-16T09:45:40.691+08:00 INFO 56575 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 13 ms. Found 0 Redis repository interfaces.
2025-07-16T09:45:40.909+08:00 INFO 56575 --- [restartedMain] o.s.cloud.context.scope.GenericScope : BeanFactory id=46ac2086-60cb-34f0-84ae-496767f2402a
2025-07-16T09:45:41.566+08:00 INFO 56575 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 19001 (http)
2025-07-16T09:45:41.578+08:00 INFO 56575 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2025-07-16T09:45:41.578+08:00 INFO 56575 --- [restartedMain] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.5]
2025-07-16T09:45:41.632+08:00 INFO 56575 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2025-07-16T09:45:41.633+08:00 INFO 56575 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1902 ms
2025-07-16T09:45:42.183+08:00 INFO 56575 --- [restartedMain] c.e.common.config.SnowflakeConfig : 使用MAC地址生成的机器ID: 217
2025-07-16T09:45:42.183+08:00 INFO 56575 --- [restartedMain] c.e.common.config.SnowflakeConfig : 雪花算法配置完成,使用机器ID: 217
2025-07-16T09:45:42.183+08:00 INFO 56575 --- [restartedMain] c.e.common.util.SnowflakeIdGenerator : 雪花算法ID生成器初始化完成,机器ID: 217
2025-07-16T09:45:42.424+08:00 DEBUG 56575 --- [restartedMain] c.e.u.security.JwtAuthenticationFilter : Filter 'jwtAuthenticationFilter' configured for use
2025-07-16T09:45:42.426+08:00 DEBUG 56575 --- [restartedMain] o.s.w.f.ServerHttpObservationFilter : Filter 'serverHttpObservationFilter' configured for use
2025-07-16T09:45:43.011+08:00 DEBUG 56575 --- [restartedMain] s.w.s.m.m.a.RequestMappingHandlerMapping : 19 mappings in 'requestMappingHandlerMapping'
2025-07-16T09:45:43.044+08:00 DEBUG 56575 --- [restartedMain] o.s.w.s.handler.SimpleUrlHandlerMapping : Patterns [/webjars/**, /**] in 'resourceHandlerMapping'
2025-07-16T09:45:43.167+08:00 INFO 56575 --- [restartedMain] o.s.b.a.e.web.EndpointLinksResolver : Exposing 3 endpoint(s) beneath base path '/actuator'
2025-07-16T09:45:43.225+08:00 INFO 56575 --- [restartedMain] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@6197bfc3, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@19b14e61, org.springframework.security.web.context.SecurityContextHolderFilter@4c11c4d5, org.springframework.security.web.header.HeaderWriterFilter@467455d6, org.springframework.web.filter.CorsFilter@390f1c1, org.springframework.security.web.authentication.logout.LogoutFilter@335ca7f9, com.emotionmuseum.user.security.JwtAuthenticationFilter@32d98a3b, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@76defa49, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@52afd65a, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@1624e51e, org.springframework.security.web.session.SessionManagementFilter@3aee12aa, org.springframework.security.web.access.ExceptionTranslationFilter@1c7422d0, org.springframework.security.web.access.intercept.AuthorizationFilter@6503bbb3]
2025-07-16T09:45:43.297+08:00 DEBUG 56575 --- [restartedMain] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
2025-07-16T09:45:43.336+08:00 DEBUG 56575 --- [restartedMain] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice
2025-07-16T09:45:43.536+08:00 INFO 56575 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729
2025-07-16T09:45:43.600+08:00 WARN 56575 --- [restartedMain] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop'
2025-07-16T09:45:43.618+08:00 INFO 56575 --- [restartedMain] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
2025-07-16T09:45:43.732+08:00 INFO 56575 --- [restartedMain] .s.b.a.l.ConditionEvaluationReportLogger :
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
2025-07-16T09:45:43.749+08:00 ERROR 56575 --- [restartedMain] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
Web server failed to start. Port 19001 was already in use.
Action:
Identify and stop the process that's listening on port 19001 or configure this application to listen on another port.
2025-07-16T09:46:36.096+08:00 WARN 56575 --- [Thread-10] c.a.nacos.common.notify.NotifyCenter : [NotifyCenter] Start destroying Publisher
2025-07-16T09:46:36.096+08:00 WARN 56575 --- [Thread-4] c.a.n.common.http.HttpClientBeanHolder : [HttpClientBeanHolder] Start destroying common HttpClient
2025-07-16T09:46:36.096+08:00 WARN 56575 --- [Thread-10] c.a.nacos.common.notify.NotifyCenter : [NotifyCenter] Destruction of the end
2025-07-16T09:46:48.938+08:00 WARN 19784 --- [Thread-7] c.a.nacos.common.notify.NotifyCenter : [NotifyCenter] Start destroying Publisher
2025-07-16T09:46:48.938+08:00 WARN 19784 --- [Thread-1] c.a.n.common.http.HttpClientBeanHolder : [HttpClientBeanHolder] Start destroying common HttpClient
2025-07-16T09:46:48.964+08:00 WARN 19784 --- [Thread-7] c.a.nacos.common.notify.NotifyCenter : [NotifyCenter] Destruction of the end
2025-07-16T09:46:48.973+08:00 WARN 19784 --- [Thread-1] c.a.n.common.http.HttpClientBeanHolder : [HttpClientBeanHolder] Destruction of the end
2025-07-16T09:46:49.141+08:00 INFO 19784 --- [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
2025-07-16T09:46:49.151+08:00 INFO 19784 --- [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
2025-07-16T09:48:19.128+08:00 WARN 59407 --- [restartedMain] 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:48:19.155+08:00 INFO 59407 --- [restartedMain] c.a.n.c.c.impl.LocalConfigInfoProcessor : LOCAL_SNAPSHOT_PATH:/Users/huazhongmin/nacos/config
2025-07-16T09:48:19.158+08:00 INFO 59407 --- [restartedMain] com.alibaba.nacos.common.remote.client : [RpcClientFactory] create a new rpc client of 55011ce6-21c3-4e3d-aef7-8b1bc89c6930_config-0
2025-07-16T09:48:19.177+08:00 INFO 59407 --- [restartedMain] com.alibaba.nacos.common.remote.client : [55011ce6-21c3-4e3d-aef7-8b1bc89c6930_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda/0x00000001283221c0
2025-07-16T09:48:19.177+08:00 INFO 59407 --- [restartedMain] com.alibaba.nacos.common.remote.client : [55011ce6-21c3-4e3d-aef7-8b1bc89c6930_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda/0x00000001283225f0
2025-07-16T09:48:19.177+08:00 INFO 59407 --- [restartedMain] com.alibaba.nacos.common.remote.client : [55011ce6-21c3-4e3d-aef7-8b1bc89c6930_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
2025-07-16T09:48:19.177+08:00 INFO 59407 --- [restartedMain] com.alibaba.nacos.common.remote.client : [55011ce6-21c3-4e3d-aef7-8b1bc89c6930_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
2025-07-16T09:48:19.183+08:00 INFO 59407 --- [restartedMain] com.alibaba.nacos.common.remote.client : [55011ce6-21c3-4e3d-aef7-8b1bc89c6930_config-0] Try to connect to server on start up, server: {serverIp = '127.0.0.1', server main port = 8848}
2025-07-16T09:48:19.215+08:00 INFO 59407 --- [restartedMain] 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}
2025-07-16T09:48:19.832+08:00 INFO 59407 --- [restartedMain] com.alibaba.nacos.common.remote.client : [55011ce6-21c3-4e3d-aef7-8b1bc89c6930_config-0] Success to connect to server [127.0.0.1:8848] on start up, connectionId = 1752630499650_127.0.0.1_53418
2025-07-16T09:48:19.832+08:00 INFO 59407 --- [com.alibaba.nacos.client.remote.worker] com.alibaba.nacos.common.remote.client : [55011ce6-21c3-4e3d-aef7-8b1bc89c6930_config-0] Notify connected event to listeners.
2025-07-16T09:48:19.832+08:00 INFO 59407 --- [restartedMain] com.alibaba.nacos.common.remote.client : [55011ce6-21c3-4e3d-aef7-8b1bc89c6930_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
2025-07-16T09:48:19.832+08:00 INFO 59407 --- [com.alibaba.nacos.client.remote.worker] c.a.n.client.config.impl.ClientWorker : [55011ce6-21c3-4e3d-aef7-8b1bc89c6930_config-0] Connected,notify listen context...
2025-07-16T09:48:19.833+08:00 INFO 59407 --- [restartedMain] com.alibaba.nacos.common.remote.client : [55011ce6-21c3-4e3d-aef7-8b1bc89c6930_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda/0x000000012848b618
2025-07-16T09:48:19.871+08:00 INFO 59407 --- [restartedMain] c.a.nacos.client.config.impl.Limiter : limitTime:5.0
2025-07-16T09:48:19.889+08:00 WARN 59407 --- [restartedMain] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it based on dataId[emotion-user] & group[DEFAULT_GROUP]
2025-07-16T09:48:19.895+08:00 WARN 59407 --- [restartedMain] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it based on dataId[emotion-user.properties] & group[DEFAULT_GROUP]
2025-07-16T09:48:19.899+08:00 WARN 59407 --- [restartedMain] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it based on dataId[emotion-user-local.properties] & group[DEFAULT_GROUP]
2025-07-16T09:48:19.900+08:00 INFO 59407 --- [restartedMain] 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-16T09:48:19.918+08:00 WARN 59407 --- [restartedMain] 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:48:19.919+08:00 INFO 59407 --- [restartedMain] com.emotionmuseum.user.UserApplication : The following 1 profile is active: "local"
2025-07-16T09:48:20.767+08:00 INFO 59407 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode
2025-07-16T09:48:20.771+08:00 INFO 59407 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2025-07-16T09:48:20.797+08:00 INFO 59407 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 11 ms. Found 0 Redis repository interfaces.
2025-07-16T09:48:21.020+08:00 INFO 59407 --- [restartedMain] o.s.cloud.context.scope.GenericScope : BeanFactory id=46ac2086-60cb-34f0-84ae-496767f2402a
2025-07-16T09:48:21.786+08:00 INFO 59407 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 19001 (http)
2025-07-16T09:48:21.797+08:00 INFO 59407 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2025-07-16T09:48:21.798+08:00 INFO 59407 --- [restartedMain] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.5]
2025-07-16T09:48:21.851+08:00 INFO 59407 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2025-07-16T09:48:21.851+08:00 INFO 59407 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1904 ms
2025-07-16T09:48:22.859+08:00 INFO 59407 --- [restartedMain] c.e.common.config.SnowflakeConfig : 使用MAC地址生成的机器ID: 652
2025-07-16T09:48:22.860+08:00 INFO 59407 --- [restartedMain] c.e.common.config.SnowflakeConfig : 雪花算法配置完成,使用机器ID: 652
2025-07-16T09:48:22.860+08:00 INFO 59407 --- [restartedMain] c.e.common.util.SnowflakeIdGenerator : 雪花算法ID生成器初始化完成,机器ID: 652
2025-07-16T09:48:23.723+08:00 DEBUG 59407 --- [restartedMain] c.e.u.security.JwtAuthenticationFilter : Filter 'jwtAuthenticationFilter' configured for use
2025-07-16T09:48:23.726+08:00 DEBUG 59407 --- [restartedMain] o.s.w.f.ServerHttpObservationFilter : Filter 'serverHttpObservationFilter' configured for use
2025-07-16T09:48:24.530+08:00 DEBUG 59407 --- [restartedMain] s.w.s.m.m.a.RequestMappingHandlerMapping : 19 mappings in 'requestMappingHandlerMapping'
2025-07-16T09:48:24.598+08:00 DEBUG 59407 --- [restartedMain] o.s.w.s.handler.SimpleUrlHandlerMapping : Patterns [/webjars/**, /**] in 'resourceHandlerMapping'
2025-07-16T09:48:24.845+08:00 INFO 59407 --- [restartedMain] o.s.b.a.e.web.EndpointLinksResolver : Exposing 3 endpoint(s) beneath base path '/actuator'
2025-07-16T09:48:24.941+08:00 INFO 59407 --- [restartedMain] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@45cfcad, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@c053d77, org.springframework.security.web.context.SecurityContextHolderFilter@45f2ef0, org.springframework.security.web.header.HeaderWriterFilter@6ae52284, org.springframework.web.filter.CorsFilter@78f6eda5, org.springframework.security.web.authentication.logout.LogoutFilter@333894cb, com.emotionmuseum.user.security.JwtAuthenticationFilter@5e26f22e, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@75d7738, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@6c5ba2aa, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@4dfa0a5, org.springframework.security.web.session.SessionManagementFilter@5d5c7ca2, org.springframework.security.web.access.ExceptionTranslationFilter@25061101, org.springframework.security.web.access.intercept.AuthorizationFilter@14938851]
2025-07-16T09:48:25.117+08:00 DEBUG 59407 --- [restartedMain] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
2025-07-16T09:48:25.165+08:00 DEBUG 59407 --- [restartedMain] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice
2025-07-16T09:48:25.472+08:00 INFO 59407 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729
2025-07-16T09:48:25.568+08:00 INFO 59407 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 19001 (http) with context path ''
2025-07-16T09:48:25.592+08:00 INFO 59407 --- [restartedMain] com.emotionmuseum.user.UserApplication : Started UserApplication in 7.306 seconds (process running for 7.799)
2025-07-16T09:49:18.783+08:00 INFO 59407 --- [http-nio-19001-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
2025-07-16T09:49:18.783+08:00 INFO 59407 --- [http-nio-19001-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
2025-07-16T09:49:18.783+08:00 DEBUG 59407 --- [http-nio-19001-exec-1] o.s.web.servlet.DispatcherServlet : Detected StandardServletMultipartResolver
2025-07-16T09:49:18.783+08:00 DEBUG 59407 --- [http-nio-19001-exec-1] o.s.web.servlet.DispatcherServlet : Detected AcceptHeaderLocaleResolver
2025-07-16T09:49:18.783+08:00 DEBUG 59407 --- [http-nio-19001-exec-1] o.s.web.servlet.DispatcherServlet : Detected FixedThemeResolver
2025-07-16T09:49:18.785+08:00 DEBUG 59407 --- [http-nio-19001-exec-1] o.s.web.servlet.DispatcherServlet : Detected org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator@10bf8750
2025-07-16T09:49:18.785+08:00 DEBUG 59407 --- [http-nio-19001-exec-1] o.s.web.servlet.DispatcherServlet : Detected org.springframework.web.servlet.support.SessionFlashMapManager@a8815ac
2025-07-16T09:49:18.785+08:00 DEBUG 59407 --- [http-nio-19001-exec-1] o.s.web.servlet.DispatcherServlet : enableLoggingRequestDetails='false': request parameters and headers will be masked to prevent unsafe logging of potentially sensitive data
2025-07-16T09:49:18.786+08:00 INFO 59407 --- [http-nio-19001-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 3 ms
2025-07-16T09:49:18.845+08:00 DEBUG 59407 --- [http-nio-19001-exec-1] o.s.web.servlet.DispatcherServlet : GET "/actuator/health", parameters={}
2025-07-16T09:49:18.877+08:00 INFO 59407 --- [http-nio-19001-exec-1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
2025-07-16T09:49:19.066+08:00 INFO 59407 --- [http-nio-19001-exec-1] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@22c2045e
2025-07-16T09:49:19.069+08:00 INFO 59407 --- [http-nio-19001-exec-1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
2025-07-16T09:49:19.516+08:00 DEBUG 59407 --- [http-nio-19001-exec-1] o.s.w.s.m.m.a.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-16T09:49:19.525+08:00 DEBUG 59407 --- [http-nio-19001-exec-1] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [org.springframework.boot.actuate.health.SystemHealth@5e85c0c]
2025-07-16T09:49:19.539+08:00 DEBUG 59407 --- [http-nio-19001-exec-1] o.s.web.servlet.DispatcherServlet : Completed 200 OK
2025-07-16T09:49:31.721+08:00 WARN 59407 --- [Thread-4] c.a.n.common.http.HttpClientBeanHolder : [HttpClientBeanHolder] Start destroying common HttpClient
2025-07-16T09:49:31.721+08:00 WARN 59407 --- [Thread-10] c.a.nacos.common.notify.NotifyCenter : [NotifyCenter] Start destroying Publisher
2025-07-16T09:49:31.721+08:00 WARN 59407 --- [Thread-10] c.a.nacos.common.notify.NotifyCenter : [NotifyCenter] Destruction of the end
2025-07-16T09:49:31.722+08:00 WARN 59407 --- [Thread-4] c.a.n.common.http.HttpClientBeanHolder : [HttpClientBeanHolder] Destruction of the end
2025-07-16T09:49:31.740+08:00 INFO 59407 --- [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
2025-07-16T09:49:31.746+08:00 INFO 59407 --- [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
@@ -1,80 +0,0 @@
# 用户服务 Docker环境配置
server:
port: 9001
spring:
application:
name: emotion-user
profiles:
active: docker
cloud:
nacos:
discovery:
server-addr: ${NACOS_SERVER_ADDR:nacos:8848}
namespace: public
group: DEFAULT_GROUP
config:
server-addr: ${NACOS_SERVER_ADDR:nacos:8848}
file-extension: yml
namespace: public
group: DEFAULT_GROUP
datasource:
url: jdbc:mysql://${MYSQL_HOST:mysql}:${MYSQL_PORT:3306}/emotion_museum?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
username: root
password: 123456
driver-class-name: com.mysql.cj.jdbc.Driver
hikari:
pool-name: EmotionUserHikariCP
minimum-idle: 5
maximum-pool-size: 20
auto-commit: true
idle-timeout: 30000
max-lifetime: 1800000
connection-timeout: 30000
data:
redis:
host: ${REDIS_HOST:redis}
port: ${REDIS_PORT:6379}
password:
database: 2
timeout: 6000ms
lettuce:
pool:
max-active: 8
max-wait: -1ms
max-idle: 8
min-idle: 0
# MyBatis Plus配置
mybatis-plus:
configuration:
map-underscore-to-camel-case: true
cache-enabled: false
call-setters-on-nulls: true
jdbc-type-for-null: 'null'
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
global-config:
db-config:
id-type: assign_uuid
logic-delete-field: isDeleted
logic-delete-value: 1
logic-not-delete-value: 0
banner: false
# 日志配置
logging:
level:
com.emotionmuseum: DEBUG
com.emotionmuseum.user.mapper: DEBUG
pattern:
console: "%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level [%logger{50}] - %msg%n"
# 管理端点
management:
endpoints:
web:
exposure:
include: health,info,metrics,prometheus
endpoint:
health:
show-details: always
@@ -1,55 +0,0 @@
# 本地开发环境配置
spring:
cloud:
nacos:
discovery:
server-addr: localhost:8848
namespace:
group: DEFAULT_GROUP
enabled: true
username: nacos
password: Peanut2817*#
metadata:
version: 1.0.0
zone: local
register-enabled: true
ephemeral: true
cluster-name: DEFAULT
service: ${spring.application.name}
weight: 1
heart-beat-interval: 5000
heart-beat-timeout: 15000
ip-delete-timeout: 30000
config:
server-addr: localhost:8848
namespace:
group: DEFAULT_GROUP
file-extension: yml
enabled: false
username: nacos
password: Peanut2817*#
# 数据源配置
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/emotion_museum?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
username: root
password: 123456
# Redis配置
data:
redis:
host: localhost
port: 6379
password:
database: 0
# 日志配置
logging:
level:
com.emotionmuseum: debug
com.baomidou.mybatisplus: debug
com.alibaba.nacos: info
file:
name: logs/emotion-user-local.log
@@ -1,55 +0,0 @@
# 本地开发环境配置
spring:
cloud:
nacos:
discovery:
server-addr: localhost:8848
namespace:
group: DEFAULT_GROUP
enabled: true
username: nacos
password: nacos
metadata:
version: 1.0.0
zone: local
register-enabled: true
ephemeral: true
cluster-name: DEFAULT
service: ${spring.application.name}
weight: 1
heart-beat-interval: 5000
heart-beat-timeout: 15000
ip-delete-timeout: 30000
config:
server-addr: localhost:8848
namespace:
group: DEFAULT_GROUP
file-extension: yml
enabled: false
username: nacos
password: nacos
# 数据源配置
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/emotion_museum?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
username: root
password: 123456
# Redis配置
data:
redis:
host: localhost
port: 6379
password:
database: 0
# 日志配置
logging:
level:
com.emotionmuseum: debug
com.baomidou.mybatisplus: debug
com.alibaba.nacos: info
file:
name: logs/emotion-user-local.log
@@ -1,55 +0,0 @@
# 生产环境配置
spring:
cloud:
nacos:
discovery:
server-addr: 47.111.10.27:8848
namespace: prod
group: DEFAULT_GROUP
enabled: true
username: nacos
password: EmotionMuseum2025
metadata:
version: 1.0.0
zone: prod
register-enabled: true
ephemeral: true
cluster-name: DEFAULT
service: ${spring.application.name}
weight: 1
heart-beat-interval: 5000
heart-beat-timeout: 15000
ip-delete-timeout: 30000
config:
server-addr: 47.111.10.27:8848
namespace: prod
group: DEFAULT_GROUP
file-extension: yml
enabled: false
username: nacos
password: EmotionMuseum2025
# 数据源配置
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://47.111.10.27:3306/emotion_museum?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
username: root
password: EmotionMuseum2025*#
# Redis配置
data:
redis:
host: 47.111.10.27
port: 6379
password: EmotionMuseum2025*#
database: 0
# 日志配置
logging:
level:
com.emotionmuseum: warn
com.baomidou.mybatisplus: warn
com.alibaba.nacos: error
file:
name: logs/emotion-user-prod.log
@@ -1,55 +0,0 @@
# 测试环境配置
spring:
cloud:
nacos:
discovery:
server-addr: 47.111.10.27:8848
namespace: test
group: DEFAULT_GROUP
enabled: true
username: nacos
password: EmotionMuseum2025
metadata:
version: 1.0.0
zone: test
register-enabled: true
ephemeral: true
cluster-name: DEFAULT
service: ${spring.application.name}
weight: 1
heart-beat-interval: 5000
heart-beat-timeout: 15000
ip-delete-timeout: 30000
config:
server-addr: 47.111.10.27:8848
namespace: test
group: DEFAULT_GROUP
file-extension: yml
enabled: false
username: nacos
password: EmotionMuseum2025
# 数据源配置
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://47.111.10.27:3306/emotion_museum?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
username: root
password: EmotionMuseum2025*#
# Redis配置
data:
redis:
host: 47.111.10.27
port: 6379
password: EmotionMuseum2025*#
database: 0
# 日志配置
logging:
level:
com.emotionmuseum: info
com.baomidou.mybatisplus: info
com.alibaba.nacos: warn
file:
name: logs/emotion-user-test.log
@@ -1,128 +0,0 @@
server:
port: 19001
spring:
application:
name: emotion-user
# 配置文件激活
profiles:
active: ${SPRING_PROFILES_ACTIVE:local}
# 允许Bean覆盖和循环引用
main:
allow-bean-definition-overriding: true
allow-circular-references: true
# 数据源配置
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://${MYSQL_HOST:localhost}:${MYSQL_PORT:3306}/${MYSQL_DATABASE:emotion_museum}?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
username: ${MYSQL_USERNAME:root}
password: ${MYSQL_PASSWORD:123456}
hikari:
minimum-idle: 5
maximum-pool-size: 20
idle-timeout: 30000
max-lifetime: 1800000
connection-timeout: 30000
connection-test-query: SELECT 1
# Redis配置
data:
redis:
host: ${REDIS_HOST:localhost}
port: ${REDIS_PORT:6379}
password: ${REDIS_PASSWORD:}
database: 0
timeout: 10000ms
lettuce:
pool:
max-active: 8
max-wait: -1ms
max-idle: 8
min-idle: 0
# Nacos配置
cloud:
nacos:
discovery:
server-addr: ${NACOS_HOST:localhost}:${NACOS_PORT:8848}
namespace: ${NACOS_NAMESPACE:}
group: ${NACOS_GROUP:DEFAULT_GROUP}
enabled: ${NACOS_DISCOVERY_ENABLED:true}
username: ${NACOS_USERNAME:nacos}
password: ${NACOS_PASSWORD:nacos}
metadata:
version: 1.0.0
zone: ${NACOS_ZONE:default}
register-enabled: true
ephemeral: true
cluster-name: DEFAULT
service: ${spring.application.name}
weight: 1
heart-beat-interval: 5000
heart-beat-timeout: 15000
ip-delete-timeout: 30000
config:
server-addr: ${NACOS_HOST:localhost}:${NACOS_PORT:8848}
namespace: ${NACOS_NAMESPACE:}
group: ${NACOS_GROUP:DEFAULT_GROUP}
file-extension: yml
enabled: ${NACOS_CONFIG_ENABLED:false}
username: ${NACOS_USERNAME:nacos}
password: ${NACOS_PASSWORD:nacos}
mybatis-plus:
configuration:
map-underscore-to-camel-case: true
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
global-config:
db-config:
id-type: assign_uuid
logic-delete-field: deleted
logic-delete-value: 1
logic-not-delete-value: 0
# 监控配置
management:
endpoints:
web:
exposure:
include: health,info,metrics,prometheus
endpoint:
health:
show-details: always
metrics:
export:
prometheus:
enabled: true
# 日志配置
logging:
level:
com.emotionmuseum: debug
com.baomidou.mybatisplus: debug
pattern:
console: "%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level [%logger{50}] - %msg%n"
# JWT配置
jwt:
secret: emotion-museum-secret-key-2025
expiration: 86400
refresh-expiration: 604800
# 第三方登录配置
oauth:
wechat:
client-id: ${WECHAT_CLIENT_ID:your_wechat_client_id}
client-secret: ${WECHAT_CLIENT_SECRET:your_wechat_client_secret}
redirect-uri: ${WECHAT_REDIRECT_URI:http://localhost:9001/oauth/callback/wechat}
wechat-mp:
client-id: ${WECHAT_MP_CLIENT_ID:your_wechat_mp_client_id}
client-secret: ${WECHAT_MP_CLIENT_SECRET:your_wechat_mp_client_secret}
redirect-uri: ${WECHAT_MP_REDIRECT_URI:http://localhost:9001/oauth/callback/wechat-mp}
qq:
client-id: ${QQ_CLIENT_ID:your_qq_client_id}
client-secret: ${QQ_CLIENT_SECRET:your_qq_client_secret}
redirect-uri: ${QQ_REDIRECT_URI:http://localhost:9001/oauth/callback/qq}
@@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.emotionmuseum.user.mapper.UserMapper">
<!-- 更新最后活跃时间 -->
<update id="updateLastActiveTime"> UPDATE user SET last_active_time = NOW(), update_time = NOW()
WHERE id = #{userId} AND is_deleted = 0 </update>
</mapper>
@@ -1,3 +0,0 @@
artifactId=emotion-user
groupId=com.emotionmuseum
version=1.0.0
@@ -1,17 +0,0 @@
com/emotionmuseum/user/security/UserDetailsServiceImpl$SecurityUser.class
com/emotionmuseum/user/config/SecurityConfig.class
com/emotionmuseum/user/config/RedisConfig.class
com/emotionmuseum/user/vo/UserInfoResponse.class
com/emotionmuseum/user/config/CaptchaConfig.class
com/emotionmuseum/user/config/OAuthConfig.class
com/emotionmuseum/user/dto/UserUpdateRequest.class
com/emotionmuseum/user/UserApplication.class
com/emotionmuseum/user/controller/UserController.class
com/emotionmuseum/user/config/AuthenticationConfig.class
com/emotionmuseum/user/service/UserService.class
com/emotionmuseum/user/security/JwtAuthenticationFilter.class
com/emotionmuseum/user/entity/User.class
com/emotionmuseum/user/service/impl/UserServiceImpl.class
com/emotionmuseum/user/security/UserDetailsServiceImpl.class
com/emotionmuseum/user/vo/UserInfoResponse$GrowthStatsVO.class
com/emotionmuseum/user/mapper/UserMapper.class
@@ -1,15 +0,0 @@
/Users/huazhongmin/peanut/AppleDevelop/EmotionMuseum/backend/emotion-user/src/main/java/com/emotionmuseum/user/config/SecurityConfig.java
/Users/huazhongmin/peanut/AppleDevelop/EmotionMuseum/backend/emotion-user/src/main/java/com/emotionmuseum/user/security/JwtAuthenticationFilter.java
/Users/huazhongmin/peanut/AppleDevelop/EmotionMuseum/backend/emotion-user/src/main/java/com/emotionmuseum/user/service/impl/UserServiceImpl.java
/Users/huazhongmin/peanut/AppleDevelop/EmotionMuseum/backend/emotion-user/src/main/java/com/emotionmuseum/user/controller/UserController.java
/Users/huazhongmin/peanut/AppleDevelop/EmotionMuseum/backend/emotion-user/src/main/java/com/emotionmuseum/user/config/CaptchaConfig.java
/Users/huazhongmin/peanut/AppleDevelop/EmotionMuseum/backend/emotion-user/src/main/java/com/emotionmuseum/user/config/OAuthConfig.java
/Users/huazhongmin/peanut/AppleDevelop/EmotionMuseum/backend/emotion-user/src/main/java/com/emotionmuseum/user/service/UserService.java
/Users/huazhongmin/peanut/AppleDevelop/EmotionMuseum/backend/emotion-user/src/main/java/com/emotionmuseum/user/config/RedisConfig.java
/Users/huazhongmin/peanut/AppleDevelop/EmotionMuseum/backend/emotion-user/src/main/java/com/emotionmuseum/user/vo/UserInfoResponse.java
/Users/huazhongmin/peanut/AppleDevelop/EmotionMuseum/backend/emotion-user/src/main/java/com/emotionmuseum/user/dto/UserUpdateRequest.java
/Users/huazhongmin/peanut/AppleDevelop/EmotionMuseum/backend/emotion-user/src/main/java/com/emotionmuseum/user/entity/User.java
/Users/huazhongmin/peanut/AppleDevelop/EmotionMuseum/backend/emotion-user/src/main/java/com/emotionmuseum/user/mapper/UserMapper.java
/Users/huazhongmin/peanut/AppleDevelop/EmotionMuseum/backend/emotion-user/src/main/java/com/emotionmuseum/user/config/AuthenticationConfig.java
/Users/huazhongmin/peanut/AppleDevelop/EmotionMuseum/backend/emotion-user/src/main/java/com/emotionmuseum/user/security/UserDetailsServiceImpl.java
/Users/huazhongmin/peanut/AppleDevelop/EmotionMuseum/backend/emotion-user/src/main/java/com/emotionmuseum/user/UserApplication.java