diff --git a/deviceInfo_1731551615.json b/deviceInfo_1731551615.json new file mode 100644 index 0000000..617e0e1 --- /dev/null +++ b/deviceInfo_1731551615.json @@ -0,0 +1,30 @@ +{ + "deviceInfoVersion": 3, + "data": { + "display": "MIRAI.539626.001", + "product": "mirai", + "device": "mirai", + "board": "mirai", + "brand": "mamoe", + "model": "mirai", + "bootloader": "unknown", + "fingerprint": "mamoe/mirai/mirai:10/MIRAI.200122.001/5055987:user/release-keys", + "bootId": "59745C91-0242-65B0-00D4-8E3290FCFC49", + "procVersion": "Linux version 3.0.31-SG5coicS (android-build@xxx.xxx.xxx.xxx.com)", + "baseBand": "", + "version": { + "incremental": "5891938", + "release": "10", + "codename": "REL" + }, + "simInfo": "T-Mobile", + "osType": "android", + "macAddress": "02:00:00:00:00:00", + "wifiBSSID": "02:00:00:00:00:00", + "wifiSSID": "", + "imsiMd5": "bc67549307e94f006b05ce79d1913800", + "imei": "866001451756366", + "apn": "wifi", + "androidId": "f5dc3e012955d466" + } +} \ No newline at end of file diff --git a/logs/application.2024-11-26.log b/logs/application.2024-11-26.log new file mode 100644 index 0000000..8f1a166 --- /dev/null +++ b/logs/application.2024-11-26.log @@ -0,0 +1,1440 @@ +10:01:53.349 [main] INFO c.l.homework.HomeworkApplication - Starting HomeworkApplication using Java 21.0.2 on wenxin with PID 5852 (D:\job\homework\target\classes started by wx_20 in D:\job\homework) +10:01:53.351 [main] INFO c.l.homework.HomeworkApplication - No active profile set, falling back to 1 default profile: "default" +10:01:54.196 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port(s): 8080 (http) +10:01:54.203 [main] INFO o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"] +10:01:54.203 [main] INFO o.a.catalina.core.StandardService - Starting service [Tomcat] +10:01:54.204 [main] INFO o.a.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.69] +10:01:54.318 [main] INFO o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext +10:01:54.318 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 936 ms +10:01:54.388 [main] INFO c.a.d.s.b.a.DruidDataSourceAutoConfigure - Init DruidDataSource +10:01:54.473 [main] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} inited +10:01:55.064 [main] INFO o.s.b.a.w.s.WelcomePageHandlerMapping - Adding welcome page: class path resource [static/index.html] +10:01:55.238 [main] INFO o.a.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8080"] +10:01:55.257 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port(s): 8080 (http) with context path '' +10:01:55.264 [main] INFO c.l.homework.HomeworkApplication - Started HomeworkApplication in 2.165 seconds (JVM running for 2.898) +10:01:55.266 [main] INFO com.linxyun.homework.bot.MyBot - 开始加载需要处理的群和老师 +10:01:55.610 [main] INFO com.linxyun.homework.bot.MyBot - 加载完成 +10:03:17.991 [SpringApplicationShutdownHook] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} closing ... +10:03:18.002 [SpringApplicationShutdownHook] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} closed +10:03:21.835 [main] INFO c.l.homework.HomeworkApplication - Starting HomeworkApplication using Java 21.0.2 on wenxin with PID 9604 (D:\job\homework\target\classes started by wx_20 in D:\job\homework) +10:03:21.837 [main] INFO c.l.homework.HomeworkApplication - No active profile set, falling back to 1 default profile: "default" +10:03:22.757 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port(s): 8080 (http) +10:03:22.765 [main] INFO o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"] +10:03:22.765 [main] INFO o.a.catalina.core.StandardService - Starting service [Tomcat] +10:03:22.765 [main] INFO o.a.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.69] +10:03:22.887 [main] INFO o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext +10:03:22.887 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 1016 ms +10:03:22.966 [main] INFO c.a.d.s.b.a.DruidDataSourceAutoConfigure - Init DruidDataSource +10:03:23.054 [main] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} inited +10:03:23.676 [main] INFO o.s.b.a.w.s.WelcomePageHandlerMapping - Adding welcome page: class path resource [static/index.html] +10:03:23.862 [main] INFO o.a.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8080"] +10:03:23.880 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port(s): 8080 (http) with context path '' +10:03:23.889 [main] INFO c.l.homework.HomeworkApplication - Started HomeworkApplication in 2.339 seconds (JVM running for 3.195) +10:03:23.891 [main] INFO com.linxyun.homework.bot.MyBot - 开始加载需要处理的群和老师 +10:03:24.257 [main] INFO com.linxyun.homework.bot.MyBot - 加载完成 +10:04:44.640 [main] INFO o.s.b.t.c.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.linxyun.homework.HomeworkApplicationTests], using SpringBootContextLoader +10:04:44.646 [main] INFO o.s.t.c.s.AbstractContextLoader - Could not detect default resource locations for test class [com.linxyun.homework.HomeworkApplicationTests]: no resource found for suffixes {-context.xml, Context.groovy}. +10:04:44.646 [main] INFO o.s.t.c.s.AnnotationConfigContextLoaderUtils - Could not detect default configuration classes for test class [com.linxyun.homework.HomeworkApplicationTests]: HomeworkApplicationTests does not declare any static, non-private, non-final, nested classes annotated with @Configuration. +10:04:44.730 [main] INFO o.s.b.t.c.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration com.linxyun.homework.HomeworkApplication for test class com.linxyun.homework.HomeworkApplicationTests +10:04:44.794 [main] INFO o.s.b.t.c.SpringBootTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener] +10:04:44.805 [main] INFO o.s.b.t.c.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@51cd7ffc, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@30d4b288, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@4cc6fa2a, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@40f1be1b, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@7a791b66, org.springframework.test.context.support.DirtiesContextTestExecutionListener@6f2cb653, org.springframework.test.context.transaction.TransactionalTestExecutionListener@14c01636, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@590c73d3, org.springframework.test.context.event.EventPublishingTestExecutionListener@6b9ce1bf, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@61884cb1, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@75ed9710, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@4fc5e095, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@435871cb, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@609640d5, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@79da1ec0] +10:04:45.114 [main] INFO c.l.h.HomeworkApplicationTests - Starting HomeworkApplicationTests using Java 21.0.2 on wenxin with PID 2056 (started by wx_20 in D:\job\homework) +10:04:45.114 [main] INFO c.l.h.HomeworkApplicationTests - No active profile set, falling back to 1 default profile: "default" +10:04:46.193 [main] INFO c.a.d.s.b.a.DruidDataSourceAutoConfigure - Init DruidDataSource +10:04:46.410 [main] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} inited +10:04:47.707 [main] INFO o.s.b.a.w.s.WelcomePageHandlerMapping - Adding welcome page: class path resource [static/index.html] +10:04:48.143 [main] INFO c.l.h.HomeworkApplicationTests - Started HomeworkApplicationTests in 3.311 seconds (JVM running for 4.185) +10:04:48.144 [main] INFO com.linxyun.homework.bot.MyBot - 开始加载需要处理的群和老师 +10:04:48.663 [main] INFO com.linxyun.homework.bot.MyBot - 加载完成 +10:05:18.828 [SpringApplicationShutdownHook] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} closing ... +10:05:18.835 [SpringApplicationShutdownHook] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} closed +10:05:39.617 [SpringApplicationShutdownHook] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} closing ... +10:05:39.622 [SpringApplicationShutdownHook] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} closed +10:05:47.430 [main] INFO o.s.b.t.c.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.linxyun.homework.HomeworkApplicationTests], using SpringBootContextLoader +10:05:47.435 [main] INFO o.s.t.c.s.AbstractContextLoader - Could not detect default resource locations for test class [com.linxyun.homework.HomeworkApplicationTests]: no resource found for suffixes {-context.xml, Context.groovy}. +10:05:47.436 [main] INFO o.s.t.c.s.AnnotationConfigContextLoaderUtils - Could not detect default configuration classes for test class [com.linxyun.homework.HomeworkApplicationTests]: HomeworkApplicationTests does not declare any static, non-private, non-final, nested classes annotated with @Configuration. +10:05:47.518 [main] INFO o.s.b.t.c.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration com.linxyun.homework.HomeworkApplication for test class com.linxyun.homework.HomeworkApplicationTests +10:05:47.581 [main] INFO o.s.b.t.c.SpringBootTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener] +10:05:47.592 [main] INFO o.s.b.t.c.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@51cd7ffc, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@30d4b288, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@4cc6fa2a, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@40f1be1b, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@7a791b66, org.springframework.test.context.support.DirtiesContextTestExecutionListener@6f2cb653, org.springframework.test.context.transaction.TransactionalTestExecutionListener@14c01636, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@590c73d3, org.springframework.test.context.event.EventPublishingTestExecutionListener@6b9ce1bf, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@61884cb1, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@75ed9710, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@4fc5e095, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@435871cb, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@609640d5, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@79da1ec0] +10:05:47.876 [main] INFO c.l.h.HomeworkApplicationTests - Starting HomeworkApplicationTests using Java 21.0.2 on wenxin with PID 9444 (started by wx_20 in D:\job\homework) +10:05:47.877 [main] INFO c.l.h.HomeworkApplicationTests - No active profile set, falling back to 1 default profile: "default" +10:05:48.963 [main] INFO c.a.d.s.b.a.DruidDataSourceAutoConfigure - Init DruidDataSource +10:05:49.168 [main] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} inited +10:05:50.449 [main] INFO o.s.b.a.w.s.WelcomePageHandlerMapping - Adding welcome page: class path resource [static/index.html] +10:05:50.900 [main] INFO c.l.h.HomeworkApplicationTests - Started HomeworkApplicationTests in 3.282 seconds (JVM running for 4.148) +10:05:50.902 [main] INFO com.linxyun.homework.bot.MyBot - 开始加载需要处理的群和老师 +10:05:51.322 [main] INFO com.linxyun.homework.bot.MyBot - 加载完成 +10:06:11.796 [SpringApplicationShutdownHook] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} closing ... +10:06:11.802 [SpringApplicationShutdownHook] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} closed +10:09:48.171 [main] INFO o.s.b.t.c.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.linxyun.homework.HomeworkApplicationTests], using SpringBootContextLoader +10:09:48.177 [main] INFO o.s.t.c.s.AbstractContextLoader - Could not detect default resource locations for test class [com.linxyun.homework.HomeworkApplicationTests]: no resource found for suffixes {-context.xml, Context.groovy}. +10:09:48.177 [main] INFO o.s.t.c.s.AnnotationConfigContextLoaderUtils - Could not detect default configuration classes for test class [com.linxyun.homework.HomeworkApplicationTests]: HomeworkApplicationTests does not declare any static, non-private, non-final, nested classes annotated with @Configuration. +10:09:48.262 [main] INFO o.s.b.t.c.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration com.linxyun.homework.HomeworkApplication for test class com.linxyun.homework.HomeworkApplicationTests +10:09:48.327 [main] INFO o.s.b.t.c.SpringBootTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener] +10:09:48.337 [main] INFO o.s.b.t.c.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@51cd7ffc, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@30d4b288, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@4cc6fa2a, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@40f1be1b, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@7a791b66, org.springframework.test.context.support.DirtiesContextTestExecutionListener@6f2cb653, org.springframework.test.context.transaction.TransactionalTestExecutionListener@14c01636, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@590c73d3, org.springframework.test.context.event.EventPublishingTestExecutionListener@6b9ce1bf, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@61884cb1, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@75ed9710, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@4fc5e095, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@435871cb, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@609640d5, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@79da1ec0] +10:09:48.624 [main] INFO c.l.h.HomeworkApplicationTests - Starting HomeworkApplicationTests using Java 21.0.2 on wenxin with PID 7692 (started by wx_20 in D:\job\homework) +10:09:48.625 [main] INFO c.l.h.HomeworkApplicationTests - No active profile set, falling back to 1 default profile: "default" +10:09:49.720 [main] INFO c.a.d.s.b.a.DruidDataSourceAutoConfigure - Init DruidDataSource +10:09:49.937 [main] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} inited +10:09:51.375 [main] INFO o.s.b.a.w.s.WelcomePageHandlerMapping - Adding welcome page: class path resource [static/index.html] +10:09:51.822 [main] INFO c.l.h.HomeworkApplicationTests - Started HomeworkApplicationTests in 3.458 seconds (JVM running for 4.382) +10:09:51.825 [main] INFO com.linxyun.homework.bot.MyBot - 开始加载需要处理的群和老师 +10:09:52.466 [main] INFO com.linxyun.homework.bot.MyBot - 加载完成 +10:09:56.132 [SpringApplicationShutdownHook] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} closing ... +10:09:56.137 [SpringApplicationShutdownHook] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} closed +10:11:38.692 [main] INFO o.s.b.t.c.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.linxyun.homework.HomeworkApplicationTests], using SpringBootContextLoader +10:11:38.698 [main] INFO o.s.t.c.s.AbstractContextLoader - Could not detect default resource locations for test class [com.linxyun.homework.HomeworkApplicationTests]: no resource found for suffixes {-context.xml, Context.groovy}. +10:11:38.699 [main] INFO o.s.t.c.s.AnnotationConfigContextLoaderUtils - Could not detect default configuration classes for test class [com.linxyun.homework.HomeworkApplicationTests]: HomeworkApplicationTests does not declare any static, non-private, non-final, nested classes annotated with @Configuration. +10:11:38.810 [main] INFO o.s.b.t.c.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration com.linxyun.homework.HomeworkApplication for test class com.linxyun.homework.HomeworkApplicationTests +10:11:38.895 [main] INFO o.s.b.t.c.SpringBootTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener] +10:11:38.909 [main] INFO o.s.b.t.c.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@51cd7ffc, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@30d4b288, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@4cc6fa2a, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@40f1be1b, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@7a791b66, org.springframework.test.context.support.DirtiesContextTestExecutionListener@6f2cb653, org.springframework.test.context.transaction.TransactionalTestExecutionListener@14c01636, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@590c73d3, org.springframework.test.context.event.EventPublishingTestExecutionListener@6b9ce1bf, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@61884cb1, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@75ed9710, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@4fc5e095, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@435871cb, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@609640d5, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@79da1ec0] +10:11:39.224 [main] INFO c.l.h.HomeworkApplicationTests - Starting HomeworkApplicationTests using Java 21.0.2 on wenxin with PID 14068 (started by wx_20 in D:\job\homework) +10:11:39.225 [main] INFO c.l.h.HomeworkApplicationTests - No active profile set, falling back to 1 default profile: "default" +10:11:40.293 [main] INFO c.a.d.s.b.a.DruidDataSourceAutoConfigure - Init DruidDataSource +10:11:40.480 [main] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} inited +10:11:41.838 [main] INFO o.s.b.a.w.s.WelcomePageHandlerMapping - Adding welcome page: class path resource [static/index.html] +10:11:42.277 [main] INFO c.l.h.HomeworkApplicationTests - Started HomeworkApplicationTests in 3.338 seconds (JVM running for 4.443) +10:11:42.279 [main] INFO com.linxyun.homework.bot.MyBot - 开始加载需要处理的群和老师 +10:11:43.161 [main] INFO com.linxyun.homework.bot.MyBot - 加载完成 +10:31:54.522 [main] INFO o.s.b.t.c.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.linxyun.homework.HomeworkApplicationTests], using SpringBootContextLoader +10:31:54.528 [main] INFO o.s.t.c.s.AbstractContextLoader - Could not detect default resource locations for test class [com.linxyun.homework.HomeworkApplicationTests]: no resource found for suffixes {-context.xml, Context.groovy}. +10:31:54.529 [main] INFO o.s.t.c.s.AnnotationConfigContextLoaderUtils - Could not detect default configuration classes for test class [com.linxyun.homework.HomeworkApplicationTests]: HomeworkApplicationTests does not declare any static, non-private, non-final, nested classes annotated with @Configuration. +10:31:54.614 [main] INFO o.s.b.t.c.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration com.linxyun.homework.HomeworkApplication for test class com.linxyun.homework.HomeworkApplicationTests +10:31:54.678 [main] INFO o.s.b.t.c.SpringBootTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener] +10:31:54.691 [main] INFO o.s.b.t.c.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@51cd7ffc, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@30d4b288, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@4cc6fa2a, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@40f1be1b, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@7a791b66, org.springframework.test.context.support.DirtiesContextTestExecutionListener@6f2cb653, org.springframework.test.context.transaction.TransactionalTestExecutionListener@14c01636, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@590c73d3, org.springframework.test.context.event.EventPublishingTestExecutionListener@6b9ce1bf, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@61884cb1, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@75ed9710, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@4fc5e095, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@435871cb, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@609640d5, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@79da1ec0] +10:31:55.021 [main] INFO c.l.h.HomeworkApplicationTests - Starting HomeworkApplicationTests using Java 21.0.2 on wenxin with PID 22908 (started by wx_20 in D:\job\homework) +10:31:55.022 [main] INFO c.l.h.HomeworkApplicationTests - No active profile set, falling back to 1 default profile: "default" +10:31:56.114 [main] INFO c.a.d.s.b.a.DruidDataSourceAutoConfigure - Init DruidDataSource +10:31:56.348 [main] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} inited +10:31:57.765 [main] INFO o.s.b.a.w.s.WelcomePageHandlerMapping - Adding welcome page: class path resource [static/index.html] +10:31:58.194 [main] INFO c.l.h.HomeworkApplicationTests - Started HomeworkApplicationTests in 3.478 seconds (JVM running for 4.39) +10:31:58.196 [main] INFO com.linxyun.homework.bot.MyBot - 开始加载需要处理的群和老师 +10:31:58.654 [main] INFO com.linxyun.homework.bot.MyBot - 加载完成 +10:32:19.218 [SpringApplicationShutdownHook] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} closing ... +10:32:19.225 [SpringApplicationShutdownHook] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} closed +10:35:26.154 [main] INFO o.s.b.t.c.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.linxyun.homework.HomeworkApplicationTests], using SpringBootContextLoader +10:35:26.160 [main] INFO o.s.t.c.s.AbstractContextLoader - Could not detect default resource locations for test class [com.linxyun.homework.HomeworkApplicationTests]: no resource found for suffixes {-context.xml, Context.groovy}. +10:35:26.161 [main] INFO o.s.t.c.s.AnnotationConfigContextLoaderUtils - Could not detect default configuration classes for test class [com.linxyun.homework.HomeworkApplicationTests]: HomeworkApplicationTests does not declare any static, non-private, non-final, nested classes annotated with @Configuration. +10:35:26.257 [main] INFO o.s.b.t.c.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration com.linxyun.homework.HomeworkApplication for test class com.linxyun.homework.HomeworkApplicationTests +10:35:26.326 [main] INFO o.s.b.t.c.SpringBootTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener] +10:35:26.337 [main] INFO o.s.b.t.c.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@51cd7ffc, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@30d4b288, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@4cc6fa2a, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@40f1be1b, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@7a791b66, org.springframework.test.context.support.DirtiesContextTestExecutionListener@6f2cb653, org.springframework.test.context.transaction.TransactionalTestExecutionListener@14c01636, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@590c73d3, org.springframework.test.context.event.EventPublishingTestExecutionListener@6b9ce1bf, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@61884cb1, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@75ed9710, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@4fc5e095, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@435871cb, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@609640d5, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@79da1ec0] +10:35:26.668 [main] INFO c.l.h.HomeworkApplicationTests - Starting HomeworkApplicationTests using Java 21.0.2 on wenxin with PID 20376 (started by wx_20 in D:\job\homework) +10:35:26.669 [main] INFO c.l.h.HomeworkApplicationTests - No active profile set, falling back to 1 default profile: "default" +10:35:27.881 [main] INFO c.a.d.s.b.a.DruidDataSourceAutoConfigure - Init DruidDataSource +10:35:28.113 [main] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} inited +10:35:29.627 [main] INFO o.s.b.a.w.s.WelcomePageHandlerMapping - Adding welcome page: class path resource [static/index.html] +10:35:30.110 [main] INFO c.l.h.HomeworkApplicationTests - Started HomeworkApplicationTests in 3.745 seconds (JVM running for 4.67) +10:35:30.112 [main] INFO com.linxyun.homework.bot.MyBot - 开始加载需要处理的群和老师 +10:35:30.564 [main] INFO com.linxyun.homework.bot.MyBot - 加载完成 +12:57:16.334 [main] INFO c.l.homework.HomeworkApplication - Starting HomeworkApplication using Java 17.0.6 on wenxin with PID 22996 (D:\job\homework\target\classes started by wx_20 in D:\job\homework) +12:57:16.336 [main] INFO c.l.homework.HomeworkApplication - No active profile set, falling back to 1 default profile: "default" +12:57:17.181 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port(s): 8080 (http) +12:57:17.189 [main] INFO o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"] +12:57:17.190 [main] INFO o.a.catalina.core.StandardService - Starting service [Tomcat] +12:57:17.190 [main] INFO o.a.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.69] +12:57:17.307 [main] INFO o.a.c.c.C.[.[.[/customService] - Initializing Spring embedded WebApplicationContext +12:57:17.307 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 938 ms +12:57:17.377 [main] INFO c.a.d.s.b.a.DruidDataSourceAutoConfigure - Init DruidDataSource +12:57:17.467 [main] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} inited +12:57:18.343 [main] INFO o.s.b.a.w.s.WelcomePageHandlerMapping - Adding welcome page: class path resource [static/index.html] +12:57:18.513 [main] INFO o.a.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8080"] +12:57:18.532 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port(s): 8080 (http) with context path '/customService' +12:57:18.540 [main] INFO c.l.homework.HomeworkApplication - Started HomeworkApplication in 2.45 seconds (JVM running for 4.732) +12:57:18.541 [main] INFO com.linxyun.homework.bot.MyBot - 开始加载需要处理的群和老师 +12:57:18.660 [Druid-ConnectionPool-Create-2120532393] ERROR c.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/homeworkor?serverTimezone=GMT%2B8&useSSL=FALSE, errorCode 0, state 08001 +java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:111) + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1682) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1803) + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2928) +Caused by: com.mysql.cj.exceptions.UnableToConnectException: Public Key Retrieval is not allowed + at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) + at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) + at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) + at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) + at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:86) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:130) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:49) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:443) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:213) + at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1430) + at com.mysql.cj.NativeSession.connect(NativeSession.java:134) + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) + ... 6 common frames omitted +12:57:18.663 [Druid-ConnectionPool-Create-2120532393] ERROR c.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/homeworkor?serverTimezone=GMT%2B8&useSSL=FALSE, errorCode 0, state 08001 +java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:111) + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1682) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1803) + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2928) +Caused by: com.mysql.cj.exceptions.UnableToConnectException: Public Key Retrieval is not allowed + at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) + at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) + at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) + at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) + at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:86) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:130) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:49) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:443) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:213) + at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1430) + at com.mysql.cj.NativeSession.connect(NativeSession.java:134) + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) + ... 6 common frames omitted +12:57:18.663 [Druid-ConnectionPool-Create-2120532393] INFO c.a.d.pool.DruidAbstractDataSource - {dataSource-1} failContinuous is true +12:57:19.176 [Druid-ConnectionPool-Create-2120532393] ERROR c.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/homeworkor?serverTimezone=GMT%2B8&useSSL=FALSE, errorCode 0, state 08001 +java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:111) + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1682) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1803) + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2928) +Caused by: com.mysql.cj.exceptions.UnableToConnectException: Public Key Retrieval is not allowed + at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) + at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) + at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) + at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) + at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:86) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:130) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:49) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:443) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:213) + at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1430) + at com.mysql.cj.NativeSession.connect(NativeSession.java:134) + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) + ... 6 common frames omitted +12:57:19.688 [Druid-ConnectionPool-Create-2120532393] ERROR c.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/homeworkor?serverTimezone=GMT%2B8&useSSL=FALSE, errorCode 0, state 08001 +java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:111) + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1682) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1803) + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2928) +Caused by: com.mysql.cj.exceptions.UnableToConnectException: Public Key Retrieval is not allowed + at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) + at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) + at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) + at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) + at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:86) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:130) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:49) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:443) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:213) + at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1430) + at com.mysql.cj.NativeSession.connect(NativeSession.java:134) + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) + ... 6 common frames omitted +12:57:20.195 [Druid-ConnectionPool-Create-2120532393] ERROR c.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/homeworkor?serverTimezone=GMT%2B8&useSSL=FALSE, errorCode 0, state 08001 +java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:111) + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1682) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1803) + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2928) +Caused by: com.mysql.cj.exceptions.UnableToConnectException: Public Key Retrieval is not allowed + at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) + at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) + at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) + at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) + at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:86) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:130) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:49) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:443) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:213) + at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1430) + at com.mysql.cj.NativeSession.connect(NativeSession.java:134) + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) + ... 6 common frames omitted +12:57:20.702 [Druid-ConnectionPool-Create-2120532393] ERROR c.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/homeworkor?serverTimezone=GMT%2B8&useSSL=FALSE, errorCode 0, state 08001 +java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:111) + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1682) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1803) + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2928) +Caused by: com.mysql.cj.exceptions.UnableToConnectException: Public Key Retrieval is not allowed + at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) + at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) + at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) + at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) + at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:86) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:130) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:49) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:443) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:213) + at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1430) + at com.mysql.cj.NativeSession.connect(NativeSession.java:134) + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) + ... 6 common frames omitted +12:57:21.209 [Druid-ConnectionPool-Create-2120532393] ERROR c.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/homeworkor?serverTimezone=GMT%2B8&useSSL=FALSE, errorCode 0, state 08001 +java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:111) + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1682) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1803) + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2928) +Caused by: com.mysql.cj.exceptions.UnableToConnectException: Public Key Retrieval is not allowed + at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) + at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) + at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) + at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) + at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:86) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:130) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:49) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:443) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:213) + at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1430) + at com.mysql.cj.NativeSession.connect(NativeSession.java:134) + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) + ... 6 common frames omitted +12:57:21.716 [Druid-ConnectionPool-Create-2120532393] ERROR c.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/homeworkor?serverTimezone=GMT%2B8&useSSL=FALSE, errorCode 0, state 08001 +java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:111) + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1682) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1803) + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2928) +Caused by: com.mysql.cj.exceptions.UnableToConnectException: Public Key Retrieval is not allowed + at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) + at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) + at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) + at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) + at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:86) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:130) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:49) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:443) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:213) + at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1430) + at com.mysql.cj.NativeSession.connect(NativeSession.java:134) + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) + ... 6 common frames omitted +12:57:22.223 [Druid-ConnectionPool-Create-2120532393] ERROR c.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/homeworkor?serverTimezone=GMT%2B8&useSSL=FALSE, errorCode 0, state 08001 +java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:111) + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1682) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1803) + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2928) +Caused by: com.mysql.cj.exceptions.UnableToConnectException: Public Key Retrieval is not allowed + at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) + at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) + at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) + at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) + at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:86) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:130) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:49) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:443) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:213) + at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1430) + at com.mysql.cj.NativeSession.connect(NativeSession.java:134) + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) + ... 6 common frames omitted +12:57:22.729 [Druid-ConnectionPool-Create-2120532393] ERROR c.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/homeworkor?serverTimezone=GMT%2B8&useSSL=FALSE, errorCode 0, state 08001 +java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:111) + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1682) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1803) + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2928) +Caused by: com.mysql.cj.exceptions.UnableToConnectException: Public Key Retrieval is not allowed + at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) + at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) + at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) + at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) + at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:86) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:130) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:49) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:443) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:213) + at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1430) + at com.mysql.cj.NativeSession.connect(NativeSession.java:134) + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) + ... 6 common frames omitted +12:57:23.235 [Druid-ConnectionPool-Create-2120532393] ERROR c.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/homeworkor?serverTimezone=GMT%2B8&useSSL=FALSE, errorCode 0, state 08001 +java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:111) + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1682) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1803) + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2928) +Caused by: com.mysql.cj.exceptions.UnableToConnectException: Public Key Retrieval is not allowed + at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) + at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) + at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) + at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) + at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:86) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:130) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:49) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:443) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:213) + at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1430) + at com.mysql.cj.NativeSession.connect(NativeSession.java:134) + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) + ... 6 common frames omitted +12:57:23.742 [Druid-ConnectionPool-Create-2120532393] ERROR c.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/homeworkor?serverTimezone=GMT%2B8&useSSL=FALSE, errorCode 0, state 08001 +java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:111) + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1682) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1803) + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2928) +Caused by: com.mysql.cj.exceptions.UnableToConnectException: Public Key Retrieval is not allowed + at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) + at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) + at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) + at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) + at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:86) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:130) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:49) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:443) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:213) + at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1430) + at com.mysql.cj.NativeSession.connect(NativeSession.java:134) + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) + ... 6 common frames omitted +12:57:24.253 [Druid-ConnectionPool-Create-2120532393] ERROR c.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/homeworkor?serverTimezone=GMT%2B8&useSSL=FALSE, errorCode 0, state 08001 +java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:111) + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1682) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1803) + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2928) +Caused by: com.mysql.cj.exceptions.UnableToConnectException: Public Key Retrieval is not allowed + at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) + at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) + at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) + at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) + at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:86) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:130) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:49) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:443) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:213) + at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1430) + at com.mysql.cj.NativeSession.connect(NativeSession.java:134) + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) + ... 6 common frames omitted +12:57:24.763 [Druid-ConnectionPool-Create-2120532393] ERROR c.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/homeworkor?serverTimezone=GMT%2B8&useSSL=FALSE, errorCode 0, state 08001 +java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:111) + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1682) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1803) + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2928) +Caused by: com.mysql.cj.exceptions.UnableToConnectException: Public Key Retrieval is not allowed + at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) + at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) + at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) + at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) + at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:86) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:130) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:49) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:443) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:213) + at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1430) + at com.mysql.cj.NativeSession.connect(NativeSession.java:134) + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) + ... 6 common frames omitted +12:57:25.267 [Druid-ConnectionPool-Create-2120532393] ERROR c.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/homeworkor?serverTimezone=GMT%2B8&useSSL=FALSE, errorCode 0, state 08001 +java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:111) + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1682) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1803) + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2928) +Caused by: com.mysql.cj.exceptions.UnableToConnectException: Public Key Retrieval is not allowed + at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) + at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) + at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) + at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) + at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:86) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:130) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:49) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:443) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:213) + at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1430) + at com.mysql.cj.NativeSession.connect(NativeSession.java:134) + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) + ... 6 common frames omitted +12:57:25.775 [Druid-ConnectionPool-Create-2120532393] ERROR c.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/homeworkor?serverTimezone=GMT%2B8&useSSL=FALSE, errorCode 0, state 08001 +java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:111) + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1682) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1803) + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2928) +Caused by: com.mysql.cj.exceptions.UnableToConnectException: Public Key Retrieval is not allowed + at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) + at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) + at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) + at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) + at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:86) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:130) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:49) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:443) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:213) + at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1430) + at com.mysql.cj.NativeSession.connect(NativeSession.java:134) + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) + ... 6 common frames omitted +12:57:26.279 [Druid-ConnectionPool-Create-2120532393] ERROR c.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/homeworkor?serverTimezone=GMT%2B8&useSSL=FALSE, errorCode 0, state 08001 +java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:111) + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1682) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1803) + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2928) +Caused by: com.mysql.cj.exceptions.UnableToConnectException: Public Key Retrieval is not allowed + at jdk.internal.reflect.GeneratedConstructorAccessor44.newInstance(Unknown Source) + at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) + at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) + at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:86) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:130) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:49) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:443) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:213) + at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1430) + at com.mysql.cj.NativeSession.connect(NativeSession.java:134) + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) + ... 6 common frames omitted +12:57:26.786 [Druid-ConnectionPool-Create-2120532393] ERROR c.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/homeworkor?serverTimezone=GMT%2B8&useSSL=FALSE, errorCode 0, state 08001 +java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:111) + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1682) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1803) + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2928) +Caused by: com.mysql.cj.exceptions.UnableToConnectException: Public Key Retrieval is not allowed + at jdk.internal.reflect.GeneratedConstructorAccessor44.newInstance(Unknown Source) + at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) + at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) + at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:86) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:130) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:49) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:443) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:213) + at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1430) + at com.mysql.cj.NativeSession.connect(NativeSession.java:134) + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) + ... 6 common frames omitted +12:57:27.293 [Druid-ConnectionPool-Create-2120532393] ERROR c.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/homeworkor?serverTimezone=GMT%2B8&useSSL=FALSE, errorCode 0, state 08001 +java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:111) + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1682) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1803) + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2928) +Caused by: com.mysql.cj.exceptions.UnableToConnectException: Public Key Retrieval is not allowed + at jdk.internal.reflect.GeneratedConstructorAccessor44.newInstance(Unknown Source) + at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) + at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) + at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:86) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:130) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:49) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:443) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:213) + at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1430) + at com.mysql.cj.NativeSession.connect(NativeSession.java:134) + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) + ... 6 common frames omitted +12:57:27.799 [Druid-ConnectionPool-Create-2120532393] ERROR c.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/homeworkor?serverTimezone=GMT%2B8&useSSL=FALSE, errorCode 0, state 08001 +java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:111) + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1682) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1803) + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2928) +Caused by: com.mysql.cj.exceptions.UnableToConnectException: Public Key Retrieval is not allowed + at jdk.internal.reflect.GeneratedConstructorAccessor44.newInstance(Unknown Source) + at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) + at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) + at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:86) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:130) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:49) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:443) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:213) + at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1430) + at com.mysql.cj.NativeSession.connect(NativeSession.java:134) + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) + ... 6 common frames omitted +12:57:28.304 [Druid-ConnectionPool-Create-2120532393] ERROR c.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/homeworkor?serverTimezone=GMT%2B8&useSSL=FALSE, errorCode 0, state 08001 +java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:111) + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1682) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1803) + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2928) +Caused by: com.mysql.cj.exceptions.UnableToConnectException: Public Key Retrieval is not allowed + at jdk.internal.reflect.GeneratedConstructorAccessor44.newInstance(Unknown Source) + at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) + at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) + at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:86) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:130) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:49) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:443) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:213) + at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1430) + at com.mysql.cj.NativeSession.connect(NativeSession.java:134) + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) + ... 6 common frames omitted +12:57:28.809 [Druid-ConnectionPool-Create-2120532393] ERROR c.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/homeworkor?serverTimezone=GMT%2B8&useSSL=FALSE, errorCode 0, state 08001 +java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:111) + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1682) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1803) + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2928) +Caused by: com.mysql.cj.exceptions.UnableToConnectException: Public Key Retrieval is not allowed + at jdk.internal.reflect.GeneratedConstructorAccessor44.newInstance(Unknown Source) + at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) + at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) + at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:86) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:130) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:49) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:443) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:213) + at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1430) + at com.mysql.cj.NativeSession.connect(NativeSession.java:134) + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) + ... 6 common frames omitted +12:57:29.318 [Druid-ConnectionPool-Create-2120532393] ERROR c.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/homeworkor?serverTimezone=GMT%2B8&useSSL=FALSE, errorCode 0, state 08001 +java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:111) + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1682) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1803) + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2928) +Caused by: com.mysql.cj.exceptions.UnableToConnectException: Public Key Retrieval is not allowed + at jdk.internal.reflect.GeneratedConstructorAccessor44.newInstance(Unknown Source) + at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) + at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) + at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:86) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:130) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:49) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:443) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:213) + at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1430) + at com.mysql.cj.NativeSession.connect(NativeSession.java:134) + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) + ... 6 common frames omitted +12:57:29.826 [Druid-ConnectionPool-Create-2120532393] ERROR c.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/homeworkor?serverTimezone=GMT%2B8&useSSL=FALSE, errorCode 0, state 08001 +java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:111) + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1682) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1803) + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2928) +Caused by: com.mysql.cj.exceptions.UnableToConnectException: Public Key Retrieval is not allowed + at jdk.internal.reflect.GeneratedConstructorAccessor44.newInstance(Unknown Source) + at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) + at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) + at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:86) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:130) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:49) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:443) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:213) + at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1430) + at com.mysql.cj.NativeSession.connect(NativeSession.java:134) + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) + ... 6 common frames omitted +12:57:30.330 [Druid-ConnectionPool-Create-2120532393] ERROR c.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/homeworkor?serverTimezone=GMT%2B8&useSSL=FALSE, errorCode 0, state 08001 +java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:111) + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1682) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1803) + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2928) +Caused by: com.mysql.cj.exceptions.UnableToConnectException: Public Key Retrieval is not allowed + at jdk.internal.reflect.GeneratedConstructorAccessor44.newInstance(Unknown Source) + at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) + at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) + at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:86) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:130) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:49) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:443) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:213) + at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1430) + at com.mysql.cj.NativeSession.connect(NativeSession.java:134) + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) + ... 6 common frames omitted +12:57:30.838 [Druid-ConnectionPool-Create-2120532393] ERROR c.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/homeworkor?serverTimezone=GMT%2B8&useSSL=FALSE, errorCode 0, state 08001 +java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:111) + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1682) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1803) + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2928) +Caused by: com.mysql.cj.exceptions.UnableToConnectException: Public Key Retrieval is not allowed + at jdk.internal.reflect.GeneratedConstructorAccessor44.newInstance(Unknown Source) + at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) + at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) + at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:86) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:130) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:49) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:443) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:213) + at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1430) + at com.mysql.cj.NativeSession.connect(NativeSession.java:134) + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) + ... 6 common frames omitted +12:57:31.345 [Druid-ConnectionPool-Create-2120532393] ERROR c.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/homeworkor?serverTimezone=GMT%2B8&useSSL=FALSE, errorCode 0, state 08001 +java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:111) + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1682) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1803) + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2928) +Caused by: com.mysql.cj.exceptions.UnableToConnectException: Public Key Retrieval is not allowed + at jdk.internal.reflect.GeneratedConstructorAccessor44.newInstance(Unknown Source) + at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) + at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) + at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:86) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:130) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:49) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:443) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:213) + at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1430) + at com.mysql.cj.NativeSession.connect(NativeSession.java:134) + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) + ... 6 common frames omitted +12:57:31.855 [Druid-ConnectionPool-Create-2120532393] ERROR c.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/homeworkor?serverTimezone=GMT%2B8&useSSL=FALSE, errorCode 0, state 08001 +java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:111) + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1682) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1803) + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2928) +Caused by: com.mysql.cj.exceptions.UnableToConnectException: Public Key Retrieval is not allowed + at jdk.internal.reflect.GeneratedConstructorAccessor44.newInstance(Unknown Source) + at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) + at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) + at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:86) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:130) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:49) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:443) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:213) + at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1430) + at com.mysql.cj.NativeSession.connect(NativeSession.java:134) + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) + ... 6 common frames omitted +12:57:32.371 [Druid-ConnectionPool-Create-2120532393] ERROR c.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/homeworkor?serverTimezone=GMT%2B8&useSSL=FALSE, errorCode 0, state 08001 +java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:111) + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1682) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1803) + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2928) +Caused by: com.mysql.cj.exceptions.UnableToConnectException: Public Key Retrieval is not allowed + at jdk.internal.reflect.GeneratedConstructorAccessor44.newInstance(Unknown Source) + at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) + at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) + at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:86) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:130) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:49) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:443) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:213) + at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1430) + at com.mysql.cj.NativeSession.connect(NativeSession.java:134) + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) + ... 6 common frames omitted +12:57:32.878 [Druid-ConnectionPool-Create-2120532393] ERROR c.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/homeworkor?serverTimezone=GMT%2B8&useSSL=FALSE, errorCode 0, state 08001 +java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:111) + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1682) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1803) + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2928) +Caused by: com.mysql.cj.exceptions.UnableToConnectException: Public Key Retrieval is not allowed + at jdk.internal.reflect.GeneratedConstructorAccessor44.newInstance(Unknown Source) + at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) + at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) + at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:86) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:130) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:49) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:443) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:213) + at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1430) + at com.mysql.cj.NativeSession.connect(NativeSession.java:134) + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) + ... 6 common frames omitted +12:57:33.388 [Druid-ConnectionPool-Create-2120532393] ERROR c.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/homeworkor?serverTimezone=GMT%2B8&useSSL=FALSE, errorCode 0, state 08001 +java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:111) + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1682) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1803) + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2928) +Caused by: com.mysql.cj.exceptions.UnableToConnectException: Public Key Retrieval is not allowed + at jdk.internal.reflect.GeneratedConstructorAccessor44.newInstance(Unknown Source) + at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) + at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) + at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:86) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:130) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:49) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:443) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:213) + at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1430) + at com.mysql.cj.NativeSession.connect(NativeSession.java:134) + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) + ... 6 common frames omitted +12:57:33.897 [Druid-ConnectionPool-Create-2120532393] ERROR c.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/homeworkor?serverTimezone=GMT%2B8&useSSL=FALSE, errorCode 0, state 08001 +java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:111) + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1682) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1803) + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2928) +Caused by: com.mysql.cj.exceptions.UnableToConnectException: Public Key Retrieval is not allowed + at jdk.internal.reflect.GeneratedConstructorAccessor44.newInstance(Unknown Source) + at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) + at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) + at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:86) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:130) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:49) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:443) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:213) + at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1430) + at com.mysql.cj.NativeSession.connect(NativeSession.java:134) + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) + ... 6 common frames omitted +12:57:34.406 [Druid-ConnectionPool-Create-2120532393] ERROR c.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/homeworkor?serverTimezone=GMT%2B8&useSSL=FALSE, errorCode 0, state 08001 +java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:111) + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1682) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1803) + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2928) +Caused by: com.mysql.cj.exceptions.UnableToConnectException: Public Key Retrieval is not allowed + at jdk.internal.reflect.GeneratedConstructorAccessor44.newInstance(Unknown Source) + at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) + at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) + at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:86) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:130) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:49) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:443) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:213) + at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1430) + at com.mysql.cj.NativeSession.connect(NativeSession.java:134) + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) + ... 6 common frames omitted +12:57:34.912 [Druid-ConnectionPool-Create-2120532393] ERROR c.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/homeworkor?serverTimezone=GMT%2B8&useSSL=FALSE, errorCode 0, state 08001 +java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:111) + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) + at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) + at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) + at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1682) + at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1803) + at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2928) +Caused by: com.mysql.cj.exceptions.UnableToConnectException: Public Key Retrieval is not allowed + at jdk.internal.reflect.GeneratedConstructorAccessor44.newInstance(Unknown Source) + at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) + at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) + at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) + at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:86) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:130) + at com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin.nextAuthenticationStep(CachingSha2PasswordPlugin.java:49) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:443) + at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:213) + at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1430) + at com.mysql.cj.NativeSession.connect(NativeSession.java:134) + at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) + at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) + ... 6 common frames omitted +12:57:35.347 [SpringApplicationShutdownHook] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} closing ... +12:57:35.348 [SpringApplicationShutdownHook] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} closed +12:57:37.868 [main] INFO c.l.homework.HomeworkApplication - Starting HomeworkApplication using Java 17.0.6 on wenxin with PID 17500 (D:\job\homework\target\classes started by wx_20 in D:\job\homework) +12:57:37.871 [main] INFO c.l.homework.HomeworkApplication - No active profile set, falling back to 1 default profile: "default" +12:57:38.727 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port(s): 8080 (http) +12:57:38.733 [main] INFO o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"] +12:57:38.733 [main] INFO o.a.catalina.core.StandardService - Starting service [Tomcat] +12:57:38.733 [main] INFO o.a.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.69] +12:57:38.846 [main] INFO o.a.c.c.C.[.[.[/customService] - Initializing Spring embedded WebApplicationContext +12:57:38.846 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 937 ms +12:57:38.919 [main] INFO c.a.d.s.b.a.DruidDataSourceAutoConfigure - Init DruidDataSource +12:57:39.002 [main] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} inited +12:57:39.880 [main] INFO o.s.b.a.w.s.WelcomePageHandlerMapping - Adding welcome page: class path resource [static/index.html] +12:57:40.049 [main] INFO o.a.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8080"] +12:57:40.066 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port(s): 8080 (http) with context path '/customService' +12:57:40.074 [main] INFO c.l.homework.HomeworkApplication - Started HomeworkApplication in 2.494 seconds (JVM running for 3.242) +12:57:40.075 [main] INFO com.linxyun.homework.bot.MyBot - 开始加载需要处理的群和老师 +12:57:40.321 [main] INFO com.linxyun.homework.bot.MyBot - 加载完成 +12:58:51.335 [SpringApplicationShutdownHook] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} closing ... +12:58:51.343 [SpringApplicationShutdownHook] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} closed +14:28:15.474 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener - + +Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. +14:28:15.517 [main] ERROR o.s.boot.SpringApplication - Application run failed +java.lang.IllegalStateException: Failed to execute ApplicationRunner + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:762) + at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:749) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:314) + at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:136) + at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:141) + at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:90) + at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) + at org.springframework.test.context.web.ServletTestExecutionListener.setUpRequestContextIfNecessary(ServletTestExecutionListener.java:190) + at org.springframework.test.context.web.ServletTestExecutionListener.prepareTestInstance(ServletTestExecutionListener.java:132) + at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:248) + at org.springframework.test.context.junit.jupiter.SpringExtension.postProcessTestInstance(SpringExtension.java:138) + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeTestInstancePostProcessors$8(ClassBasedTestDescriptor.java:363) + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.executeAndMaskThrowable(ClassBasedTestDescriptor.java:368) + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeTestInstancePostProcessors$9(ClassBasedTestDescriptor.java:363) + at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) + at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) + at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708) + at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) + at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) + at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:310) + at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:735) + at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734) + at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeTestInstancePostProcessors(ClassBasedTestDescriptor.java:362) + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$instantiateAndPostProcessTestInstance$6(ClassBasedTestDescriptor.java:283) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.instantiateAndPostProcessTestInstance(ClassBasedTestDescriptor.java:282) + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$4(ClassBasedTestDescriptor.java:272) + at java.base/java.util.Optional.orElseGet(Optional.java:364) + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$5(ClassBasedTestDescriptor.java:271) + at org.junit.jupiter.engine.execution.TestInstancesProvider.getTestInstances(TestInstancesProvider.java:31) + at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$prepare$0(TestMethodTestDescriptor.java:102) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.prepare(TestMethodTestDescriptor.java:101) + at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.prepare(TestMethodTestDescriptor.java:66) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$prepare$2(NodeTestTask.java:123) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.prepare(NodeTestTask.java:123) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:90) + at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) + at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) + at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) + at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) + at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) + at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) + at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35) + at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) + at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54) + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107) + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) + at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114) + at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86) + at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86) + at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56) + at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184) + at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148) + at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122) + at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) + at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) + at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) + at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495) +Caused by: net.mamoe.mirai.network.BotAuthorizationException: BotAuthorization(BotAuthorization.byQRCode()) threw an exception during authorization process. See cause below. + at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.login(SsoProcessor.kt:263) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$StateConnecting$startState$2.invokeSuspend(CommonNetworkHandler.kt:247) + at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) + at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) + at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) + at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) + at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) + at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) + Suppressed: java.lang.IllegalStateException: unknown code 49 while parsing wtlogin.trans_emp with command 0x12. + at net.mamoe.mirai.internal.network.protocol.packet.login.WtLogin$TransEmp.decode(WtLogin.kt:911) + at net.mamoe.mirai.internal.network.components.PacketCodecImpl.processBody(PacketCodec.kt:585) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline.processBody(CommonNetworkHandler.kt:158) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline.access$processBody(CommonNetworkHandler.kt:103) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1$3$1.invokeSuspend(CommonNetworkHandler.kt:127) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1$3$1.invoke(CommonNetworkHandler.kt) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1$3$1.invoke(CommonNetworkHandler.kt) + at kotlinx.coroutines.intrinsics.UndispatchedKt.startCoroutineUndispatched(Undispatched.kt:55) + at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:112) + at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:126) + at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:56) + at kotlinx.coroutines.BuildersKt.launch(Unknown Source) + at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch$default(Builders.common.kt:47) + at kotlinx.coroutines.BuildersKt.launch$default(Unknown Source) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1.invokeSuspend(CommonNetworkHandler.kt:127) + at (Coroutine boundary.() + at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport$sendAndExpect$3$1$1.invokeSuspend(NetworkHandlerSupport.kt:127) + at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport.sendAndExpect(NetworkHandlerSupport.kt:126) + at net.mamoe.mirai.internal.network.components.QRCodeLoginProcessorImpl.queryQRCodeStatus(QRCodeLoginProcessor.kt:99) + at net.mamoe.mirai.internal.network.components.QRCodeLoginProcessorImpl.process0(QRCodeLoginProcessor.kt:127) + at net.mamoe.mirai.internal.network.components.QRCodeLoginProcessorImpl.process(QRCodeLoginProcessor.kt:115) + at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.login(SsoProcessor.kt:279) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$StateConnecting$startState$2.invokeSuspend(CommonNetworkHandler.kt:247) + Caused by: java.lang.IllegalStateException: unknown code 49 while parsing wtlogin.trans_emp with command 0x12. +Caused by: java.lang.IllegalStateException: unknown code 49 while parsing wtlogin.trans_emp with command 0x12. + at net.mamoe.mirai.internal.network.protocol.packet.login.WtLogin$TransEmp.decode(WtLogin.kt:911) + at net.mamoe.mirai.internal.network.components.PacketCodecImpl.processBody(PacketCodec.kt:585) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline.processBody(CommonNetworkHandler.kt:158) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline.access$processBody(CommonNetworkHandler.kt:103) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1$3$1.invokeSuspend(CommonNetworkHandler.kt:127) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1$3$1.invoke(CommonNetworkHandler.kt) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1$3$1.invoke(CommonNetworkHandler.kt) + at kotlinx.coroutines.intrinsics.UndispatchedKt.startCoroutineUndispatched(Undispatched.kt:55) + at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:112) + at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:126) + at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:56) + at kotlinx.coroutines.BuildersKt.launch(Unknown Source) + at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch$default(Builders.common.kt:47) + at kotlinx.coroutines.BuildersKt.launch$default(Unknown Source) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1.invokeSuspend(CommonNetworkHandler.kt:127) + at (Coroutine boundary.() + at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport$sendAndExpect$3$1$1.invokeSuspend(NetworkHandlerSupport.kt:127) + at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport.sendAndExpect(NetworkHandlerSupport.kt:126) + at net.mamoe.mirai.internal.network.components.QRCodeLoginProcessorImpl.queryQRCodeStatus(QRCodeLoginProcessor.kt:99) + at net.mamoe.mirai.internal.network.components.QRCodeLoginProcessorImpl.process0(QRCodeLoginProcessor.kt:127) + at net.mamoe.mirai.internal.network.components.QRCodeLoginProcessorImpl.process(QRCodeLoginProcessor.kt:115) + at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.login(SsoProcessor.kt:279) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$StateConnecting$startState$2.invokeSuspend(CommonNetworkHandler.kt:247) + at net.mamoe.mirai.utils.channels.CoroutineOnDemandReceiveChannel.receiveOrNull(OnDemandChannelImpl.kt:237) + at net.mamoe.mirai.internal.network.auth.AuthControl.acquireAuth(AuthControl.kt:56) + at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.login(SsoProcessor.kt:260) +Caused by: java.lang.IllegalStateException: unknown code 49 while parsing wtlogin.trans_emp with command 0x12. + at net.mamoe.mirai.internal.network.protocol.packet.login.WtLogin$TransEmp.decode(WtLogin.kt:911) + at net.mamoe.mirai.internal.network.components.PacketCodecImpl.processBody(PacketCodec.kt:585) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline.processBody(CommonNetworkHandler.kt:158) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline.access$processBody(CommonNetworkHandler.kt:103) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1$3$1.invokeSuspend(CommonNetworkHandler.kt:127) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1$3$1.invoke(CommonNetworkHandler.kt) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1$3$1.invoke(CommonNetworkHandler.kt) + at kotlinx.coroutines.intrinsics.UndispatchedKt.startCoroutineUndispatched(Undispatched.kt:55) + at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:112) + at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:126) + at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:56) + at kotlinx.coroutines.BuildersKt.launch(Unknown Source) + at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch$default(Builders.common.kt:47) + at kotlinx.coroutines.BuildersKt.launch$default(Unknown Source) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1.invokeSuspend(CommonNetworkHandler.kt:127) + at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) + at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) + at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) + at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) + at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:569) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.base/java.lang.Thread.run(Thread.java:1583) +14:28:15.523 [main] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} closing ... +14:28:15.526 [main] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} closed +14:28:15.527 [main] ERROR o.s.test.context.TestContextManager - Caught exception while allowing TestExecutionListener [org.springframework.test.context.web.ServletTestExecutionListener@51cd7ffc] to prepare test instance [com.linxyun.homework.HomeworkApplicationTests@31dd0e2e] +java.lang.IllegalStateException: Failed to load ApplicationContext + at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:98) + at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) + at org.springframework.test.context.web.ServletTestExecutionListener.setUpRequestContextIfNecessary(ServletTestExecutionListener.java:190) + at org.springframework.test.context.web.ServletTestExecutionListener.prepareTestInstance(ServletTestExecutionListener.java:132) + at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:248) + at org.springframework.test.context.junit.jupiter.SpringExtension.postProcessTestInstance(SpringExtension.java:138) + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeTestInstancePostProcessors$8(ClassBasedTestDescriptor.java:363) + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.executeAndMaskThrowable(ClassBasedTestDescriptor.java:368) + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeTestInstancePostProcessors$9(ClassBasedTestDescriptor.java:363) + at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) + at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) + at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708) + at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) + at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) + at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:310) + at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:735) + at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734) + at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeTestInstancePostProcessors(ClassBasedTestDescriptor.java:362) + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$instantiateAndPostProcessTestInstance$6(ClassBasedTestDescriptor.java:283) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.instantiateAndPostProcessTestInstance(ClassBasedTestDescriptor.java:282) + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$4(ClassBasedTestDescriptor.java:272) + at java.base/java.util.Optional.orElseGet(Optional.java:364) + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$5(ClassBasedTestDescriptor.java:271) + at org.junit.jupiter.engine.execution.TestInstancesProvider.getTestInstances(TestInstancesProvider.java:31) + at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$prepare$0(TestMethodTestDescriptor.java:102) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.prepare(TestMethodTestDescriptor.java:101) + at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.prepare(TestMethodTestDescriptor.java:66) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$prepare$2(NodeTestTask.java:123) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.prepare(NodeTestTask.java:123) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:90) + at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) + at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) + at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) + at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) + at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) + at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) + at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35) + at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) + at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54) + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107) + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) + at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114) + at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86) + at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86) + at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56) + at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184) + at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148) + at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122) + at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) + at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) + at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) + at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495) +Caused by: java.lang.IllegalStateException: Failed to execute ApplicationRunner + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:762) + at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:749) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:314) + at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:136) + at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:141) + at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:90) + ... 72 common frames omitted +Caused by: net.mamoe.mirai.network.BotAuthorizationException: BotAuthorization(BotAuthorization.byQRCode()) threw an exception during authorization process. See cause below. + at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.login(SsoProcessor.kt:263) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$StateConnecting$startState$2.invokeSuspend(CommonNetworkHandler.kt:247) + at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) + at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) + at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) + at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) + at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) + at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) + Suppressed: java.lang.IllegalStateException: unknown code 49 while parsing wtlogin.trans_emp with command 0x12. + at net.mamoe.mirai.internal.network.protocol.packet.login.WtLogin$TransEmp.decode(WtLogin.kt:911) + at net.mamoe.mirai.internal.network.components.PacketCodecImpl.processBody(PacketCodec.kt:585) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline.processBody(CommonNetworkHandler.kt:158) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline.access$processBody(CommonNetworkHandler.kt:103) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1$3$1.invokeSuspend(CommonNetworkHandler.kt:127) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1$3$1.invoke(CommonNetworkHandler.kt) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1$3$1.invoke(CommonNetworkHandler.kt) + at kotlinx.coroutines.intrinsics.UndispatchedKt.startCoroutineUndispatched(Undispatched.kt:55) + at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:112) + at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:126) + at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:56) + at kotlinx.coroutines.BuildersKt.launch(Unknown Source) + at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch$default(Builders.common.kt:47) + at kotlinx.coroutines.BuildersKt.launch$default(Unknown Source) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1.invokeSuspend(CommonNetworkHandler.kt:127) + at (Coroutine boundary.() + at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport$sendAndExpect$3$1$1.invokeSuspend(NetworkHandlerSupport.kt:127) + at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport.sendAndExpect(NetworkHandlerSupport.kt:126) + at net.mamoe.mirai.internal.network.components.QRCodeLoginProcessorImpl.queryQRCodeStatus(QRCodeLoginProcessor.kt:99) + at net.mamoe.mirai.internal.network.components.QRCodeLoginProcessorImpl.process0(QRCodeLoginProcessor.kt:127) + at net.mamoe.mirai.internal.network.components.QRCodeLoginProcessorImpl.process(QRCodeLoginProcessor.kt:115) + at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.login(SsoProcessor.kt:279) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$StateConnecting$startState$2.invokeSuspend(CommonNetworkHandler.kt:247) + Caused by: java.lang.IllegalStateException: unknown code 49 while parsing wtlogin.trans_emp with command 0x12. +Caused by: java.lang.IllegalStateException: unknown code 49 while parsing wtlogin.trans_emp with command 0x12. + at net.mamoe.mirai.internal.network.protocol.packet.login.WtLogin$TransEmp.decode(WtLogin.kt:911) + at net.mamoe.mirai.internal.network.components.PacketCodecImpl.processBody(PacketCodec.kt:585) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline.processBody(CommonNetworkHandler.kt:158) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline.access$processBody(CommonNetworkHandler.kt:103) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1$3$1.invokeSuspend(CommonNetworkHandler.kt:127) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1$3$1.invoke(CommonNetworkHandler.kt) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1$3$1.invoke(CommonNetworkHandler.kt) + at kotlinx.coroutines.intrinsics.UndispatchedKt.startCoroutineUndispatched(Undispatched.kt:55) + at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:112) + at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:126) + at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:56) + at kotlinx.coroutines.BuildersKt.launch(Unknown Source) + at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch$default(Builders.common.kt:47) + at kotlinx.coroutines.BuildersKt.launch$default(Unknown Source) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1.invokeSuspend(CommonNetworkHandler.kt:127) + at (Coroutine boundary.() + at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport$sendAndExpect$3$1$1.invokeSuspend(NetworkHandlerSupport.kt:127) + at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport.sendAndExpect(NetworkHandlerSupport.kt:126) + at net.mamoe.mirai.internal.network.components.QRCodeLoginProcessorImpl.queryQRCodeStatus(QRCodeLoginProcessor.kt:99) + at net.mamoe.mirai.internal.network.components.QRCodeLoginProcessorImpl.process0(QRCodeLoginProcessor.kt:127) + at net.mamoe.mirai.internal.network.components.QRCodeLoginProcessorImpl.process(QRCodeLoginProcessor.kt:115) + at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.login(SsoProcessor.kt:279) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$StateConnecting$startState$2.invokeSuspend(CommonNetworkHandler.kt:247) + at net.mamoe.mirai.utils.channels.CoroutineOnDemandReceiveChannel.receiveOrNull(OnDemandChannelImpl.kt:237) + at net.mamoe.mirai.internal.network.auth.AuthControl.acquireAuth(AuthControl.kt:56) + at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.login(SsoProcessor.kt:260) +Caused by: java.lang.IllegalStateException: unknown code 49 while parsing wtlogin.trans_emp with command 0x12. + at net.mamoe.mirai.internal.network.protocol.packet.login.WtLogin$TransEmp.decode(WtLogin.kt:911) + at net.mamoe.mirai.internal.network.components.PacketCodecImpl.processBody(PacketCodec.kt:585) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline.processBody(CommonNetworkHandler.kt:158) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline.access$processBody(CommonNetworkHandler.kt:103) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1$3$1.invokeSuspend(CommonNetworkHandler.kt:127) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1$3$1.invoke(CommonNetworkHandler.kt) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1$3$1.invoke(CommonNetworkHandler.kt) + at kotlinx.coroutines.intrinsics.UndispatchedKt.startCoroutineUndispatched(Undispatched.kt:55) + at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:112) + at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:126) + at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:56) + at kotlinx.coroutines.BuildersKt.launch(Unknown Source) + at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch$default(Builders.common.kt:47) + at kotlinx.coroutines.BuildersKt.launch$default(Unknown Source) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1.invokeSuspend(CommonNetworkHandler.kt:127) + at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) + at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) + at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) + at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) + at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:569) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.base/java.lang.Thread.run(Thread.java:1583) diff --git a/logs/application.2024-11-27.log b/logs/application.2024-11-27.log new file mode 100644 index 0000000..487594d --- /dev/null +++ b/logs/application.2024-11-27.log @@ -0,0 +1,300 @@ +08:27:46.151 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener - + +Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. +08:27:46.227 [main] ERROR o.s.boot.SpringApplication - Application run failed +java.lang.IllegalStateException: Failed to execute ApplicationRunner + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:762) + at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:749) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:314) + at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:136) + at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:141) + at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:90) + at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) + at org.springframework.test.context.web.ServletTestExecutionListener.setUpRequestContextIfNecessary(ServletTestExecutionListener.java:190) + at org.springframework.test.context.web.ServletTestExecutionListener.prepareTestInstance(ServletTestExecutionListener.java:132) + at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:248) + at org.springframework.test.context.junit.jupiter.SpringExtension.postProcessTestInstance(SpringExtension.java:138) + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeTestInstancePostProcessors$8(ClassBasedTestDescriptor.java:363) + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.executeAndMaskThrowable(ClassBasedTestDescriptor.java:368) + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeTestInstancePostProcessors$9(ClassBasedTestDescriptor.java:363) + at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) + at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) + at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708) + at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) + at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) + at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:310) + at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:735) + at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734) + at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeTestInstancePostProcessors(ClassBasedTestDescriptor.java:362) + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$instantiateAndPostProcessTestInstance$6(ClassBasedTestDescriptor.java:283) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.instantiateAndPostProcessTestInstance(ClassBasedTestDescriptor.java:282) + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$4(ClassBasedTestDescriptor.java:272) + at java.base/java.util.Optional.orElseGet(Optional.java:364) + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$5(ClassBasedTestDescriptor.java:271) + at org.junit.jupiter.engine.execution.TestInstancesProvider.getTestInstances(TestInstancesProvider.java:31) + at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$prepare$0(TestMethodTestDescriptor.java:102) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.prepare(TestMethodTestDescriptor.java:101) + at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.prepare(TestMethodTestDescriptor.java:66) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$prepare$2(NodeTestTask.java:123) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.prepare(NodeTestTask.java:123) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:90) + at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) + at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) + at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) + at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) + at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) + at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) + at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35) + at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) + at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54) + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107) + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) + at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114) + at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86) + at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86) + at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56) + at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184) + at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148) + at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122) + at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) + at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) + at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) + at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495) +Caused by: net.mamoe.mirai.network.BotAuthorizationException: BotAuthorization(BotAuthorization.byQRCode()) threw an exception during authorization process. See cause below. + at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.login(SsoProcessor.kt:263) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$StateConnecting$startState$2.invokeSuspend(CommonNetworkHandler.kt:247) + at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) + at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) + at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) + at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) + at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) + at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) + Suppressed: net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport$StateSwitchingException: State is switched from StateConnecting to StateClosed +Caused by: net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport$StateSwitchingException: State is switched from StateConnecting to StateClosed + at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport.setStateImpl$mirai_core(NetworkHandlerSupport.kt:352) + at net.mamoe.mirai.internal.network.impl.netty.NettyNetworkHandler.handlePipelineException(NettyNetworkHandler.kt:152) + at net.mamoe.mirai.internal.network.impl.netty.NettyNetworkHandler$setupChannelPipeline$1.exceptionCaught(NettyNetworkHandler.kt:72) + at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:346) + at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:325) + at io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:317) + at io.netty.channel.DefaultChannelPipeline$HeadContext.exceptionCaught(DefaultChannelPipeline.java:1377) + at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:346) + at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:325) + at io.netty.channel.DefaultChannelPipeline.fireExceptionCaught(DefaultChannelPipeline.java:907) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.handleReadException(AbstractNioByteChannel.java:125) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:177) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.base/java.lang.Thread.run(Thread.java:1583) + Suppressed: kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 5000 ms + at (Coroutine boundary.() + at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport$sendAndExpect$3$1$1.invokeSuspend(NetworkHandlerSupport.kt:127) + at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport.sendAndExpect(NetworkHandlerSupport.kt:126) + at net.mamoe.mirai.internal.network.components.QRCodeLoginProcessorImpl.queryQRCodeStatus(QRCodeLoginProcessor.kt:99) + at net.mamoe.mirai.internal.network.components.QRCodeLoginProcessorImpl.process0(QRCodeLoginProcessor.kt:127) + at net.mamoe.mirai.internal.network.components.QRCodeLoginProcessorImpl.process(QRCodeLoginProcessor.kt:115) + at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.login(SsoProcessor.kt:279) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$StateConnecting$startState$2.invokeSuspend(CommonNetworkHandler.kt:247) + Caused by: kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 5000 ms + at kotlinx.coroutines.TimeoutKt.TimeoutCancellationException(Timeout.kt:184) + at kotlinx.coroutines.TimeoutCoroutine.run(Timeout.kt:154) + at kotlinx.coroutines.EventLoopImplBase$DelayedRunnableTask.run(EventLoop.common.kt:508) + at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:284) + at kotlinx.coroutines.DefaultExecutor.run(DefaultExecutor.kt:108) + at java.base/java.lang.Thread.run(Thread.java:1583) +Caused by: net.mamoe.mirai.internal.network.impl.netty.NettyChannelException: An unexpected exception was received from netty pipeline. (context=NetworkHandlerContextImpl(bot=20243037, storage=CombinedComponentStorage { +* main: + ConcurrentComponentStorage(size=3) +*** fallback: + ConcurrentComponentStorage(size=28) +} +), address=msfwifi.3g.qq.com/:8080) + at net.mamoe.mirai.internal.network.impl.netty.NettyNetworkHandler$handlePipelineException$1.invoke(NettyNetworkHandler.kt:46) + at net.mamoe.mirai.internal.network.impl.netty.NettyNetworkHandler$handlePipelineException$1.invoke(NettyNetworkHandler.kt:46) + at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport.setStateImpl$mirai_core(NetworkHandlerSupport.kt:329) + ... 19 common frames omitted +Caused by: java.net.SocketException: Connection reset + at java.base/sun.nio.ch.SocketChannelImpl.throwConnectionReset(SocketChannelImpl.java:401) + at java.base/sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:434) + at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:259) + at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1132) + at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:357) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:151) + ... 8 common frames omitted +08:27:46.237 [main] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} closing ... +08:27:46.240 [main] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} closed +08:27:46.241 [main] ERROR o.s.test.context.TestContextManager - Caught exception while allowing TestExecutionListener [org.springframework.test.context.web.ServletTestExecutionListener@51cd7ffc] to prepare test instance [com.linxyun.homework.HomeworkApplicationTests@10508ba6] +java.lang.IllegalStateException: Failed to load ApplicationContext + at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:98) + at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) + at org.springframework.test.context.web.ServletTestExecutionListener.setUpRequestContextIfNecessary(ServletTestExecutionListener.java:190) + at org.springframework.test.context.web.ServletTestExecutionListener.prepareTestInstance(ServletTestExecutionListener.java:132) + at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:248) + at org.springframework.test.context.junit.jupiter.SpringExtension.postProcessTestInstance(SpringExtension.java:138) + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeTestInstancePostProcessors$8(ClassBasedTestDescriptor.java:363) + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.executeAndMaskThrowable(ClassBasedTestDescriptor.java:368) + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeTestInstancePostProcessors$9(ClassBasedTestDescriptor.java:363) + at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) + at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) + at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708) + at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) + at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) + at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:310) + at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:735) + at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734) + at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeTestInstancePostProcessors(ClassBasedTestDescriptor.java:362) + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$instantiateAndPostProcessTestInstance$6(ClassBasedTestDescriptor.java:283) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.instantiateAndPostProcessTestInstance(ClassBasedTestDescriptor.java:282) + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$4(ClassBasedTestDescriptor.java:272) + at java.base/java.util.Optional.orElseGet(Optional.java:364) + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$5(ClassBasedTestDescriptor.java:271) + at org.junit.jupiter.engine.execution.TestInstancesProvider.getTestInstances(TestInstancesProvider.java:31) + at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$prepare$0(TestMethodTestDescriptor.java:102) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.prepare(TestMethodTestDescriptor.java:101) + at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.prepare(TestMethodTestDescriptor.java:66) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$prepare$2(NodeTestTask.java:123) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.prepare(NodeTestTask.java:123) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:90) + at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) + at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) + at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) + at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) + at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) + at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) + at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35) + at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) + at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54) + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107) + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) + at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114) + at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86) + at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86) + at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56) + at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184) + at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148) + at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122) + at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) + at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) + at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) + at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495) +Caused by: java.lang.IllegalStateException: Failed to execute ApplicationRunner + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:762) + at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:749) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:314) + at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:136) + at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:141) + at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:90) + ... 72 common frames omitted +Caused by: net.mamoe.mirai.network.BotAuthorizationException: BotAuthorization(BotAuthorization.byQRCode()) threw an exception during authorization process. See cause below. + at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.login(SsoProcessor.kt:263) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$StateConnecting$startState$2.invokeSuspend(CommonNetworkHandler.kt:247) + at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) + at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) + at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) + at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) + at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) + at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) + Suppressed: net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport$StateSwitchingException: State is switched from StateConnecting to StateClosed +Caused by: net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport$StateSwitchingException: State is switched from StateConnecting to StateClosed + at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport.setStateImpl$mirai_core(NetworkHandlerSupport.kt:352) + at net.mamoe.mirai.internal.network.impl.netty.NettyNetworkHandler.handlePipelineException(NettyNetworkHandler.kt:152) + at net.mamoe.mirai.internal.network.impl.netty.NettyNetworkHandler$setupChannelPipeline$1.exceptionCaught(NettyNetworkHandler.kt:72) + at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:346) + at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:325) + at io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:317) + at io.netty.channel.DefaultChannelPipeline$HeadContext.exceptionCaught(DefaultChannelPipeline.java:1377) + at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:346) + at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:325) + at io.netty.channel.DefaultChannelPipeline.fireExceptionCaught(DefaultChannelPipeline.java:907) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.handleReadException(AbstractNioByteChannel.java:125) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:177) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.base/java.lang.Thread.run(Thread.java:1583) + Suppressed: kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 5000 ms + at (Coroutine boundary.() + at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport$sendAndExpect$3$1$1.invokeSuspend(NetworkHandlerSupport.kt:127) + at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport.sendAndExpect(NetworkHandlerSupport.kt:126) + at net.mamoe.mirai.internal.network.components.QRCodeLoginProcessorImpl.queryQRCodeStatus(QRCodeLoginProcessor.kt:99) + at net.mamoe.mirai.internal.network.components.QRCodeLoginProcessorImpl.process0(QRCodeLoginProcessor.kt:127) + at net.mamoe.mirai.internal.network.components.QRCodeLoginProcessorImpl.process(QRCodeLoginProcessor.kt:115) + at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.login(SsoProcessor.kt:279) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$StateConnecting$startState$2.invokeSuspend(CommonNetworkHandler.kt:247) + Caused by: kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 5000 ms + at kotlinx.coroutines.TimeoutKt.TimeoutCancellationException(Timeout.kt:184) + at kotlinx.coroutines.TimeoutCoroutine.run(Timeout.kt:154) + at kotlinx.coroutines.EventLoopImplBase$DelayedRunnableTask.run(EventLoop.common.kt:508) + at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:284) + at kotlinx.coroutines.DefaultExecutor.run(DefaultExecutor.kt:108) + at java.base/java.lang.Thread.run(Thread.java:1583) +Caused by: net.mamoe.mirai.internal.network.impl.netty.NettyChannelException: An unexpected exception was received from netty pipeline. (context=NetworkHandlerContextImpl(bot=20243037, storage=CombinedComponentStorage { +* main: + ConcurrentComponentStorage(size=3) +*** fallback: + ConcurrentComponentStorage(size=28) +} +), address=msfwifi.3g.qq.com/:8080) + at net.mamoe.mirai.internal.network.impl.netty.NettyNetworkHandler$handlePipelineException$1.invoke(NettyNetworkHandler.kt:46) + at net.mamoe.mirai.internal.network.impl.netty.NettyNetworkHandler$handlePipelineException$1.invoke(NettyNetworkHandler.kt:46) + at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport.setStateImpl$mirai_core(NetworkHandlerSupport.kt:329) + ... 19 common frames omitted +Caused by: java.net.SocketException: Connection reset + at java.base/sun.nio.ch.SocketChannelImpl.throwConnectionReset(SocketChannelImpl.java:401) + at java.base/sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:434) + at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:259) + at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1132) + at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:357) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:151) + ... 8 common frames omitted diff --git a/logs/application.log b/logs/application.log new file mode 100644 index 0000000..7da3293 --- /dev/null +++ b/logs/application.log @@ -0,0 +1,67 @@ +16:18:49.808 [main] INFO c.l.homework.HomeworkApplication - Starting HomeworkApplication using Java 17.0.6 on wenxin with PID 1460 (D:\job\homework\target\classes started by wx_20 in D:\job\homework) +16:18:49.815 [main] INFO c.l.homework.HomeworkApplication - No active profile set, falling back to 1 default profile: "default" +16:18:50.744 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port(s): 8080 (http) +16:18:50.751 [main] INFO o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"] +16:18:50.751 [main] INFO o.a.catalina.core.StandardService - Starting service [Tomcat] +16:18:50.751 [main] INFO o.a.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.69] +16:18:50.871 [main] INFO o.a.c.c.C.[.[.[/customService] - Initializing Spring embedded WebApplicationContext +16:18:50.871 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 1018 ms +16:18:50.948 [main] INFO c.a.d.s.b.a.DruidDataSourceAutoConfigure - Init DruidDataSource +16:18:51.042 [main] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} inited +16:18:51.978 [main] INFO o.s.b.a.w.s.WelcomePageHandlerMapping - Adding welcome page: class path resource [static/index.html] +16:18:52.155 [main] INFO o.a.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8080"] +16:18:52.174 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port(s): 8080 (http) with context path '/customService' +16:18:52.181 [main] INFO c.l.homework.HomeworkApplication - Started HomeworkApplication in 2.684 seconds (JVM running for 3.617) +16:18:52.183 [main] INFO com.linxyun.homework.bot.MyBot - 开始加载需要处理的群和老师 +16:18:52.183 [main] INFO com.linxyun.homework.bot.MyBot - 监听指定群群 +16:18:52.557 [main] INFO com.linxyun.homework.bot.MyBot - 加载完成 +16:19:06.809 [SpringApplicationShutdownHook] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} closing ... +16:19:06.815 [SpringApplicationShutdownHook] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} closed +16:23:01.777 [main] INFO c.l.homework.HomeworkApplication - Starting HomeworkApplication using Java 17.0.6 on wenxin with PID 28404 (D:\job\homework\target\classes started by wx_20 in D:\job\homework) +16:23:01.780 [main] INFO c.l.homework.HomeworkApplication - No active profile set, falling back to 1 default profile: "default" +16:23:02.692 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port(s): 8080 (http) +16:23:02.701 [main] INFO o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"] +16:23:02.701 [main] INFO o.a.catalina.core.StandardService - Starting service [Tomcat] +16:23:02.701 [main] INFO o.a.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.69] +16:23:02.821 [main] INFO o.a.c.c.C.[.[.[/customService] - Initializing Spring embedded WebApplicationContext +16:23:02.821 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 996 ms +16:23:02.891 [main] INFO c.a.d.s.b.a.DruidDataSourceAutoConfigure - Init DruidDataSource +16:23:02.975 [main] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} inited +16:23:03.889 [main] INFO o.s.b.a.w.s.WelcomePageHandlerMapping - Adding welcome page: class path resource [static/index.html] +16:23:04.118 [main] INFO o.a.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8080"] +16:23:04.139 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port(s): 8080 (http) with context path '/customService' +16:23:04.147 [main] INFO c.l.homework.HomeworkApplication - Started HomeworkApplication in 2.629 seconds (JVM running for 3.387) +16:23:04.149 [main] INFO com.linxyun.homework.bot.MyBot - 开始加载需要处理的群和老师 +16:23:04.149 [main] INFO com.linxyun.homework.bot.MyBot - 监听指定群群 +16:23:04.498 [main] INFO com.linxyun.homework.bot.MyBot - 加载完成 +16:23:26.302 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener - + +Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. +16:23:26.316 [main] ERROR o.s.boot.SpringApplication - Application run failed +java.lang.IllegalStateException: Failed to execute ApplicationRunner + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:762) + at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:749) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:314) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1303) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1292) + at com.linxyun.homework.HomeworkApplication.main(HomeworkApplication.java:11) +Caused by: net.mamoe.mirai.network.BotAuthorizationException: BotAuthorization(BotAuthorization.byQRCode()) threw an exception during authorization process. See cause below. + at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.login(SsoProcessor.kt:263) + at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$StateConnecting$startState$2.invokeSuspend(CommonNetworkHandler.kt:247) + at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) + at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) + at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) + at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) + at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) + at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) + Suppressed: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(939948263), code=45, title=禁止登录, message=你当前使用的QQ版本过低,请前往QQ官网im.qq.com下载最新版QQ后重试。, errorInfo=) +Caused by: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(939948263), code=45, title=禁止登录, message=你当前使用的QQ版本过低,请前往QQ官网im.qq.com下载最新版QQ后重试。, errorInfo=) + at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl.doLogin(SsoProcessor.kt:490) + at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl$doLogin$1.invokeSuspend(SsoProcessor.kt) + at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) + at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33) + at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102) + at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) + ... 5 common frames omitted +16:23:26.358 [main] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} closing ... +16:23:26.364 [main] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} closed diff --git a/pom.xml b/pom.xml index 8b0a528..a117ab6 100644 --- a/pom.xml +++ b/pom.xml @@ -67,6 +67,37 @@ lombok 1.18.34 + + ch.qos.logback + logback-classic + 1.2.11 + + + + + net.coobird + thumbnailator + 0.4.20 + + + + ws.schild + jave-all-deps + 3.5.0 + + + ws.schild + jave-core + 3.5.0 + + + ws.schild + jave-nativebin-win64 + 3.5.0 + + + + @@ -98,7 +129,6 @@ ${spring-boot.version} com.linxyun.homework.HomeworkApplication - true diff --git a/src/main/java/com/linxyun/homework/bot/MyBot.java b/src/main/java/com/linxyun/homework/bot/MyBot.java index 760354e..20d54c8 100644 --- a/src/main/java/com/linxyun/homework/bot/MyBot.java +++ b/src/main/java/com/linxyun/homework/bot/MyBot.java @@ -1,9 +1,13 @@ package com.linxyun.homework.bot; +import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.linxyun.homework.bot.handler.MyEventHandler; import com.linxyun.homework.domain.dto.ClassGroupTeacher; +import com.linxyun.homework.domain.po.Class; +import com.linxyun.homework.mapper.ClassMapper; import com.linxyun.homework.mapper.ClassQqGroupTeacherMapper; import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; import net.mamoe.mirai.BotFactory; import net.mamoe.mirai.auth.BotAuthorization; import net.mamoe.mirai.event.EventChannel; @@ -20,15 +24,19 @@ import java.util.List; import java.util.Objects; import java.util.concurrent.CopyOnWriteArrayList; - +@Slf4j @Component @RequiredArgsConstructor public class MyBot implements ApplicationRunner { + + @Value("${mirai.bot.listening-type}") + private Integer listeningType; /* 监听对象 */ - public static CopyOnWriteArrayList listeningTarget; + public static CopyOnWriteArrayList listeningTarget; private final ClassQqGroupTeacherMapper classQqGroupTeacherMapper; + private final ClassMapper classMapper; private final MyEventHandler myEventHandler; /* 登录QQ */ @@ -38,15 +46,26 @@ public class MyBot implements ApplicationRunner { @Override public void run(ApplicationArguments args) { // 先加载需要处理的群和老师 + log.info("开始加载需要处理的群和老师"); getListeningTarget(); + log.info("加载完成"); // 启动BOT runBot(); } public void getListeningTarget() { - List classGroupTeachers = classQqGroupTeacherMapper.selectClassAndGroupTeacher(); - System.out.println(classGroupTeachers); - listeningTarget = new CopyOnWriteArrayList<>(classGroupTeachers); + if (1 == listeningType) { + log.info("监听指定群群"); + LambdaQueryWrapper queryWrapper = new LambdaQueryWrapper<>(); + queryWrapper.isNotNull(Class::getQqGroupId); + List ClassList = classMapper.selectList(queryWrapper); + listeningTarget = new CopyOnWriteArrayList<>(ClassList); + } else if (2 == listeningType) { + log.info("监听指定群指定老师"); + List classGroupTeachers = classQqGroupTeacherMapper.selectClassAndGroupTeacher(); + System.out.println(classGroupTeachers); + listeningTarget = new CopyOnWriteArrayList<>(classGroupTeachers); + } } public void runBot() { @@ -61,10 +80,22 @@ public class MyBot implements ApplicationRunner { .filterIsInstance(GroupMessageEvent.class) .filter(ev -> { long groupId = ev.getGroup().getId(); - long senderId = ev.getSender().getId(); - for (ClassGroupTeacher item : listeningTarget) { - if (groupId == Long.parseLong(item.getQqGroupId()) && senderId == Long.parseLong(item.getTeacherGroupId())) { - return true; + if (1 == listeningType) { + for (Object item : listeningTarget) { + Class clazz = (Class) item; + // 指定群 + if (groupId == Long.parseLong(clazz.getQqGroupId())) { + return true; + } + } + } else if (2 == listeningType) { + long senderId = ev.getSender().getId(); + for (Object item : listeningTarget) { + ClassGroupTeacher teacher = (ClassGroupTeacher) item; + // 指定群和老师同时满足 + if (groupId == Long.parseLong(teacher.getQqGroupId()) && senderId == Long.parseLong(teacher.getTeacherGroupId())) { + return true; + } } } return false; @@ -73,10 +104,10 @@ public class MyBot implements ApplicationRunner { new Thread(bot::join).start(); } - public static ClassGroupTeacher getClassGroupTeacherByTeacherGroupId(String teacherGroupId) { - return listeningTarget.stream() - .filter(item -> Objects.equals(item.getTeacherGroupId(), teacherGroupId)) - .findFirst() - .orElse(null); - } +// public static ClassGroupTeacher getClassGroupTeacherByTeacherGroupId(String teacherGroupId) { +// return listeningTarget.stream() +// .filter(item -> Objects.equals(item.getTeacherGroupId(), teacherGroupId)) +// .findFirst() +// .orElse(null); +// } } diff --git a/src/main/java/com/linxyun/homework/bot/handler/MyEventHandler.java b/src/main/java/com/linxyun/homework/bot/handler/MyEventHandler.java index f29de02..962c8e1 100644 --- a/src/main/java/com/linxyun/homework/bot/handler/MyEventHandler.java +++ b/src/main/java/com/linxyun/homework/bot/handler/MyEventHandler.java @@ -36,7 +36,7 @@ public class MyEventHandler extends SimpleListenerHost { @NotNull @EventHandler public ListeningStatus onMessage(@NotNull GroupMessageEvent event) { // 可以抛出任何异常, 将在 handleException 处理 - System.out.println("收到消息: " + event.getMessage()); + log.debug("收到消息: " + event.getMessage()); MessageChain messages = event.getMessage(); // 发送人QQ String teacherId = String.valueOf(event.getSender().getId()); @@ -52,6 +52,7 @@ public class MyEventHandler extends SimpleListenerHost { } if (message instanceof Image image) { log.info("图片: " + image.getImageId()); + // 如果是表情那就下一个 if (image.isEmoji()) continue; if (contentBuilder == null) contentBuilder = new StringBuilder(); String url = Image.queryUrl(image); @@ -75,12 +76,12 @@ public class MyEventHandler extends SimpleListenerHost { } } // 插入数据库 - ClassGroupTeacher classGroupTeacher = MyBot.getClassGroupTeacherByTeacherGroupId(teacherId); +// ClassGroupTeacher classGroupTeacher = MyBot.getClassGroupTeacherByTeacherGroupId(teacherId); TeacherQqMsgs teacherQqMsgs = new TeacherQqMsgs(); teacherQqMsgs.setCreateTime(TimeUtils.getCurrentTime()); teacherQqMsgs.setTeacherQqId(teacherId); - teacherQqMsgs.setClassId(classGroupTeacher.getClassId()); - teacherQqMsgs.setCourseType(classGroupTeacher.getCourseType()); +// teacherQqMsgs.setClassId(classGroupTeacher.getClassId()); +// teacherQqMsgs.setCourseType(classGroupTeacher.getCourseType()); Optional.ofNullable(strBuilder).ifPresent(item -> { String remarks = item.substring(0, item.length() - 3); log.info("提交的文本: " + remarks); @@ -88,7 +89,7 @@ public class MyEventHandler extends SimpleListenerHost { }); Optional.ofNullable(contentBuilder).ifPresent(item -> { String msgContent = item.deleteCharAt(item.length() - 1).toString(); - log.info("提交的图片: " + msgContent); + log.info("提交的图片或文件: " + msgContent); teacherQqMsgs.setMsgContent(msgContent); }); int row = teacherQqMsgsMapper.insert(teacherQqMsgs); diff --git a/src/main/java/com/linxyun/homework/common/entity/Result.java b/src/main/java/com/linxyun/homework/common/entity/Result.java index 25dea4c..91eff7e 100644 --- a/src/main/java/com/linxyun/homework/common/entity/Result.java +++ b/src/main/java/com/linxyun/homework/common/entity/Result.java @@ -27,7 +27,10 @@ public class Result { public static Result error(ErrorCode codeEnum) { return new Result<>(null, codeEnum.getCode(), codeEnum.getMessage(), false); + } + public static Result error(ErrorCode codeEnum, String message) { + return new Result<>(null, codeEnum.getCode(), message, false); } public static Result error(String code, String msg) { diff --git a/src/main/java/com/linxyun/homework/common/enums/FileType.java b/src/main/java/com/linxyun/homework/common/enums/FileType.java new file mode 100644 index 0000000..1cf9649 --- /dev/null +++ b/src/main/java/com/linxyun/homework/common/enums/FileType.java @@ -0,0 +1,26 @@ +package com.linxyun.homework.common.enums; + +import java.util.Arrays; +import java.util.List; + +public enum FileType { + IMAGE(Arrays.asList(".jpg", ".jpeg", ".png", ".gif", ".bmp")), + VIDEO(Arrays.asList(".mp4", ".mkv", ".mov", ".avi")), + AUDIO(Arrays.asList(".mp3", ".wav", ".ogg")), + DOCUMENT(Arrays.asList(".pdf", ".doc", ".docx", ".xls", ".xlsx")), + OTHER(Arrays.asList()); + + private final List extensions; + + FileType(List extensions) { + this.extensions = extensions; + } + public static FileType fromExtension(String fileName) { + String extension = fileName.substring(fileName.lastIndexOf(".")).toLowerCase(); + return Arrays.stream(values()) + .filter(type -> type.extensions.contains(extension)) + .findFirst() + .orElse(OTHER); + } +} + diff --git a/src/main/java/com/linxyun/homework/service/impl/HomeworkAnswerServiceImpl.java b/src/main/java/com/linxyun/homework/service/impl/HomeworkAnswerServiceImpl.java index d4fc267..61c48c3 100644 --- a/src/main/java/com/linxyun/homework/service/impl/HomeworkAnswerServiceImpl.java +++ b/src/main/java/com/linxyun/homework/service/impl/HomeworkAnswerServiceImpl.java @@ -60,7 +60,7 @@ public class HomeworkAnswerServiceImpl extends ServiceImpl + + + + + %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + + + + ${LOG_PATH}/application.log + + ${LOG_PATH}/application.%d{yyyy-MM-dd}.log + 30 + + + %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + + + + + + +