[INFO] Scanning for projects... [INFO] [INFO] ------------------< com.emotionmuseum:emotion-stats >------------------- [INFO] Building emotion-stats 1.0.0 [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] >>> spring-boot:3.0.2:run (default-cli) > test-compile @ emotion-stats >>> [WARNING] The artifact mysql:mysql-connector-java:jar:8.0.33 has been relocated to com.mysql:mysql-connector-j:jar:8.0.33: MySQL Connector/J artifacts moved to reverse-DNS compliant Maven 2+ coordinates. [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ emotion-stats --- [INFO] Copying 1 resource from src/main/resources to target/classes [INFO] [INFO] --- compiler:3.10.1:compile (default-compile) @ emotion-stats --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ emotion-stats --- [INFO] skip non existing resourceDirectory /Users/huazhongmin/peanut/AppleDevelop/EmotionMuseum/backend/emotion-stats/src/test/resources [INFO] [INFO] --- compiler:3.10.1:testCompile (default-testCompile) @ emotion-stats --- [INFO] No sources to compile [INFO] [INFO] <<< spring-boot:3.0.2:run (default-cli) < test-compile @ emotion-stats <<< [INFO] [INFO] [INFO] --- spring-boot:3.0.2:run (default-cli) @ emotion-stats --- [INFO] Attaching agents: [] 2025-07-13T08:45:58.270+08:00  WARN 7167 --- [ 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-13T08:45:58.356+08:00  WARN 7167 --- [ 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-13T08:45:58.403+08:00  INFO 7167 --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable 2025-07-13T08:45:58.635+08:00  WARN 7167 --- [ 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-13T08:45:58.637+08:00  INFO 7167 --- [ restartedMain] c.alibaba.nacos.client.utils.ParamUtil  : [settings] [req-serv] nacos-server port:8848 2025-07-13T08:45:58.637+08:00  INFO 7167 --- [ restartedMain] c.alibaba.nacos.client.utils.ParamUtil  : [settings] [http-client] connect timeout:1000 2025-07-13T08:45:58.638+08:00  INFO 7167 --- [ restartedMain] c.alibaba.nacos.client.utils.ParamUtil  : PER_TASK_CONFIG_SIZE: 3000.0 2025-07-13T08:45:58.691+08:00  INFO 7167 --- [ restartedMain] c.a.n.p.a.s.c.ClientAuthPluginManager  : [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success. 2025-07-13T08:45:58.691+08:00  INFO 7167 --- [ restartedMain] c.a.n.p.a.s.c.ClientAuthPluginManager  : [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success. 2025-07-13T08:45:58.712+08:00  INFO 7167 --- [ restartedMain] c.a.n.c.a.r.identify.CredentialWatcher  : null No credential found 2025-07-13 08:45:58 [restartedMain] 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-13 08:45:58 [restartedMain] INFO [c.a.n.client.config.impl.LocalConfigInfoProcessor] - LOCAL_SNAPSHOT_PATH:/Users/huazhongmin/nacos/config 2025-07-13 08:45:58 [restartedMain] INFO [com.alibaba.nacos.common.remote.client] - [RpcClientFactory] create a new rpc client of 51a04bce-977d-489e-ba5c-8147a68680fb_config-0 2025-07-13 08:45:58 [restartedMain] INFO [com.alibaba.nacos.common.remote.client] - [51a04bce-977d-489e-ba5c-8147a68680fb_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda/0x000000012d31bc18 2025-07-13 08:45:58 [restartedMain] INFO [com.alibaba.nacos.common.remote.client] - [51a04bce-977d-489e-ba5c-8147a68680fb_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda/0x000000012d31c048 2025-07-13 08:45:58 [restartedMain] INFO [com.alibaba.nacos.common.remote.client] - [51a04bce-977d-489e-ba5c-8147a68680fb_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1 2025-07-13 08:45:58 [restartedMain] INFO [com.alibaba.nacos.common.remote.client] - [51a04bce-977d-489e-ba5c-8147a68680fb_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2 2025-07-13 08:45:58 [restartedMain] INFO [com.alibaba.nacos.common.remote.client] - [51a04bce-977d-489e-ba5c-8147a68680fb_config-0] Try to connect to server on start up, server: {serverIp = '127.0.0.1', server main port = 8848} 2025-07-13 08:45:58 [restartedMain] 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-13 08:45:59 [restartedMain] INFO [com.alibaba.nacos.common.remote.client] - [51a04bce-977d-489e-ba5c-8147a68680fb_config-0] Success to connect to server [127.0.0.1:8848] on start up, connectionId = 1752367559501_127.0.0.1_51348 2025-07-13 08:45:59 [com.alibaba.nacos.client.remote.worker] INFO [com.alibaba.nacos.common.remote.client] - [51a04bce-977d-489e-ba5c-8147a68680fb_config-0] Notify connected event to listeners. 2025-07-13 08:45:59 [com.alibaba.nacos.client.remote.worker] INFO [com.alibaba.nacos.client.config.impl.ClientWorker] - [51a04bce-977d-489e-ba5c-8147a68680fb_config-0] Connected,notify listen context... 2025-07-13 08:45:59 [restartedMain] INFO [com.alibaba.nacos.common.remote.client] - [51a04bce-977d-489e-ba5c-8147a68680fb_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler 2025-07-13 08:45:59 [restartedMain] INFO [com.alibaba.nacos.common.remote.client] - [51a04bce-977d-489e-ba5c-8147a68680fb_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda/0x000000012d4a7d30 2025-07-13 08:45:59 [restartedMain] INFO [com.alibaba.nacos.client.config.impl.Limiter] - limitTime:5.0 2025-07-13 08:45:59 [restartedMain] WARN [c.a.cloud.nacos.client.NacosPropertySourceBuilder] - Ignore the empty nacos configuration and get it based on dataId[emotion-stats] & group[DEFAULT_GROUP] 2025-07-13 08:45:59 [restartedMain] WARN [c.a.cloud.nacos.client.NacosPropertySourceBuilder] - Ignore the empty nacos configuration and get it based on dataId[emotion-stats.properties] & group[DEFAULT_GROUP] 2025-07-13 08:45:59 [restartedMain] WARN [c.a.cloud.nacos.client.NacosPropertySourceBuilder] - Ignore the empty nacos configuration and get it based on dataId[emotion-stats-dev.properties] & group[DEFAULT_GROUP] 2025-07-13 08:45:59 [restartedMain] INFO [o.s.c.b.c.PropertySourceBootstrapConfiguration] - Located property source: [BootstrapPropertySource {name='bootstrapProperties-emotion-stats-dev.properties,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-emotion-stats.properties,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-emotion-stats,DEFAULT_GROUP'}] 2025-07-13 08:45:59 [restartedMain] 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-13 08:45:59 [restartedMain] INFO [com.emotionmuseum.stats.StatsApplication] - The following 1 profile is active: "dev" 2025-07-13 08:46:00 [restartedMain] INFO [o.s.d.r.config.RepositoryConfigurationDelegate] - Multiple Spring Data modules found, entering strict repository configuration mode 2025-07-13 08:46:00 [restartedMain] INFO [o.s.d.r.config.RepositoryConfigurationDelegate] - Bootstrapping Spring Data Redis repositories in DEFAULT mode. 2025-07-13 08:46:00 [restartedMain] INFO [o.s.d.r.config.RepositoryConfigurationDelegate] - Finished Spring Data repository scanning in 6 ms. Found 0 Redis repository interfaces. 2025-07-13 08:46:01 [restartedMain] WARN [org.mybatis.spring.mapper.ClassPathMapperScanner] - No MyBatis mapper was found in '[com.emotionmuseum.stats.mapper]' package. Please check your configuration. 2025-07-13 08:46:01 [restartedMain] INFO [o.springframework.cloud.context.scope.GenericScope] - BeanFactory id=af125b37-688d-3aab-bf37-e7a7060f4920 2025-07-13 08:46:01 [restartedMain] INFO [o.s.boot.web.embedded.tomcat.TomcatWebServer] - Tomcat initialized with port(s): 9007 (http) 2025-07-13 08:46:01 [restartedMain] INFO [org.apache.catalina.core.StandardService] - Starting service [Tomcat] 2025-07-13 08:46:01 [restartedMain] INFO [org.apache.catalina.core.StandardEngine] - Starting Servlet engine: [Apache Tomcat/10.1.5] 2025-07-13 08:46:01 [restartedMain] INFO [o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]] - Initializing Spring embedded WebApplicationContext 2025-07-13 08:46:01 [restartedMain] INFO [o.s.b.w.s.c.ServletWebServerApplicationContext] - Root WebApplicationContext: initialization completed in 2077 ms 2025-07-13 08:46:02 [restartedMain] DEBUG [c.b.m.e.spring.MybatisSqlSessionFactoryBean] - Property 'mapperLocations' was not specified. _ _ |_ _ _|_. ___ _ | _ | | |\/|_)(_| | |_\ |_)||_|_\ / | 3.5.3.1 2025-07-13 08:46:02 [restartedMain] WARN [o.s.b.d.autoconfigure.OptionalLiveReloadServer] - Unable to start LiveReload server 2025-07-13 08:46:02 [restartedMain] INFO [o.s.b.actuate.endpoint.web.EndpointLinksResolver] - Exposing 3 endpoint(s) beneath base path '/actuator' 2025-07-13 08:46:03 [restartedMain] WARN [o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext] - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop' 2025-07-13 08:46:03 [restartedMain] INFO [com.alibaba.druid.pool.DruidDataSource] - {dataSource-0} closing ... 2025-07-13 08:46:03 [restartedMain] INFO [org.apache.catalina.core.StandardService] - Stopping service [Tomcat] 2025-07-13 08:46:03 [restartedMain] 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-13 08:46:03 [restartedMain] ERROR [o.s.b.diagnostics.LoggingFailureAnalysisReporter] - *************************** APPLICATION FAILED TO START *************************** Description: Web server failed to start. Port 9007 was already in use. Action: Identify and stop the process that's listening on port 9007 or configure this application to listen on another port. 2025-07-13 08:46:03 [Thread-4] WARN [c.alibaba.nacos.common.http.HttpClientBeanHolder] - [HttpClientBeanHolder] Start destroying common HttpClient 2025-07-13 08:46:03 [Thread-10] WARN [com.alibaba.nacos.common.notify.NotifyCenter] - [NotifyCenter] Start destroying Publisher 2025-07-13 08:46:03 [Thread-10] WARN [com.alibaba.nacos.common.notify.NotifyCenter] - [NotifyCenter] Destruction of the end 2025-07-13 08:46:03 [Thread-4] WARN [c.alibaba.nacos.common.http.HttpClientBeanHolder] - [HttpClientBeanHolder] Destruction of the end [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 9.734 s [INFO] Finished at: 2025-07-13T08:46:03+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:3.0.2:run (default-cli) on project emotion-stats: Process terminated with exit code: 1 -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException