From efc25bd26a7fa90ea59f7690c37556dc30791b36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E4=BD=B3=E5=BD=AC?= <2948429338@qq.com> Date: Sun, 22 Sep 2024 22:25:54 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AC=AC=E4=B8=89=E6=AC=A1=E6=8F=90=E4=BA=A4?= =?UTF-8?q?=20=E5=AE=8C=E5=96=84=E8=85=BE=E8=AE=AF=E4=BA=91=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E5=AD=98=E5=82=A8=20=E5=AE=8C=E5=96=84=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E9=80=BB=E8=BE=91=20=E5=AE=8C=E5=96=84=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/compiler.xml | 7 +- .idea/dataSources.xml | 12 + .idea/misc.xml | 2 +- .idea/modules.xml | 2 +- README.md | 64 +- log/onlineoj.log | 3196 +++++++++++++++++ oj-spring-boot/onlineoj.sql | 49 +- oj-spring-boot/pom.xml | 10 +- .../java/top/weiyuexin/config/CorsConfig.java | 26 + .../weiyuexin/config/InterceptorConfig.java | 15 + .../weiyuexin/controller/AdminController.java | 11 +- .../controller/ArticleController.java | 2 +- .../weiyuexin/controller/UserController.java | 7 +- .../java/top/weiyuexin/cron/ContestCron.java | 2 +- .../interceptor/LoginInterceptor.java | 29 +- .../service/impl/EmailServiceImpl.java | 2 + .../src/main/resources/application.yml | 30 +- .../src/main/resources/config/mail.setting | 10 +- .../src/main/resources/static/css/login.css | 1 - .../src/main/resources/static/index.html | 37 +- .../main/resources/templates/user/login.html | 217 +- oj-vue/README.md | 5 + oj-vue/src/components/oj/common/Footer.vue | 12 +- oj-vue/src/components/oj/common/NavBar.vue | 49 +- oj-vue/src/views/oj/user/Login.vue | 6 +- oj-vue/src/views/oj/user/UserPanel.vue | 529 +-- 26 files changed, 3894 insertions(+), 438 deletions(-) create mode 100644 .idea/dataSources.xml create mode 100644 log/onlineoj.log create mode 100644 oj-spring-boot/src/main/java/top/weiyuexin/config/CorsConfig.java create mode 100644 oj-spring-boot/src/main/java/top/weiyuexin/config/InterceptorConfig.java diff --git a/.idea/compiler.xml b/.idea/compiler.xml index ec99432..73d407e 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -2,20 +2,21 @@ + - + - + - + \ No newline at end of file diff --git a/.idea/dataSources.xml b/.idea/dataSources.xml new file mode 100644 index 0000000..c4f55ec --- /dev/null +++ b/.idea/dataSources.xml @@ -0,0 +1,12 @@ + + + + + mysql.8 + true + com.mysql.cj.jdbc.Driver + jdbc:mysql://localhost:3306 + $ProjectFileDir$ + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml index 4ae8b51..9c9c018 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -7,5 +7,5 @@ - + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml index c1613a1..b2775cf 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -2,8 +2,8 @@ - + \ No newline at end of file diff --git a/README.md b/README.md index 3661a97..84c0a01 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# 在线代码测评系统(第二次测试) +# 在线代码测评系统 ### 开发环境 @@ -19,32 +19,14 @@  -``` -视图层包括网站主站点和后台管理系统,主站点负责向用户提供服务,是用户看到的系统页面。用户可以在上面进行登录注册、个人信息管理、查看题目、编写代码、提交代码、查看测评状态、查看排名、参加竞赛、查看竞赛结果以及发布文章等主要操作。后台管理系统是专门给系统管理员使用的管理后台,管理员可以在上面进行用户管理、题目管理、竞赛管理、日志管理以及查看系统运行状态等操作。视图层通过Axios与后端接口进行数据交互。 -``` - - -``` -网络接口层的主要职责是接收用户的请求,根据请求参数的不同,做出不同的响应,响应数据的格式是JSON数据。 -``` - - -``` -业务层包括用户服务、题目服务、竞赛服务、代码服务、测评服务、文件服务、文章服务等功能模块。业务层主要是实现系统功能的代码部分,通过数据映射实现和数据层的交互,从而实现数据的持久化。 -``` - - -``` -数据层是系统最底层,也是最重要的一层,系统中所有的数据均保存在数据层的MySQL服务和Redis服务中。 -``` - +- 视图层包括网站主站点和后台管理系统,主站点负责向用户提供服务,是用户看到的系统页面。用户可以在上面进行登录注册、个人信息管理、查看题目、编写代码、提交代码、查看测评状态、查看排名、参加竞赛、查看竞赛结果以及发布文章等主要操作。后台管理系统是专门给系统管理员使用的管理后台,管理员可以在上面进行用户管理、题目管理、竞赛管理、日志管理以及查看系统运行状态等操作。视图层通过Ajax与后端接口进行数据交互。 +- 网络接口层的主要职责是接收用户的请求,根据请求参数的不同,做出不同的响应,响应数据的格式是JSON数据。 +- 业务层包括用户服务、题目服务、竞赛服务、代码服务、测评服务、文件服务、文章服务等功能模块。业务层主要是实现系统功能的代码部分,通过数据映射实现和数据层的交互,从而实现数据的持久化。 +- 数据层是系统最底层,也是最重要的一层,系统中所有的数据均保存在数据层的MySQL服务和Redis服务中。 ### 系统总体设计 -``` 本系统主要分为用户和管理员两个主要的模块。用户模块主要包括登录注册、个人中心、题目浏览、代码评测、竞赛参与、文章发布等多个子功能模块。管理员的功能模块包括用户管理、题目管理、测评管理、竞赛管理、文章管理等。本系统详细的功能模块划分图如图所示。 -``` -  @@ -58,7 +40,7 @@ Compile Error:编译错误。用户提交的代码中有语法错误,无法 Partial Accepted:部分测评用例通过。表面用户提交的源代码可以通过部分测评用例,还有一部分测评用例无法通过,需要用户考虑其他的可能性。 -Accepted:通过。用户提交的源代码经过测试后通过了所有的测评用例,表面用户解决了该题目。 +Accepted:通过。用户提交的源代码经过测试后通过了所有的测评用例,表明用户解决了该题目。 Wrong Answer:答案错误。表示用户提交的源代码的输出结果错误,没有通过任何一个测评用例。 @@ -92,8 +74,6 @@ System Error:系统错误。在进行代码测评时,测评机器发送错  -###### 图4.1 用户注册页面 - 2) 个人中心 个人中心主要用于向用户展示自己的个人信息。同时用户还可以进行个人资料的编辑和重置密码等操作。如图所示是系统个人中心页面。 @@ -155,3 +135,35 @@ System Error:系统错误。在进行代码测评时,测评机器发送错 管理员可以对文章进行管理。实现了查看文章列表、删除文章等功能。文章管理页面如图所示。  + +# 开发过程 + +## 整体架构 + +- 后端服务 +- 后端管理界面 +- 前端显示界面 + +### 后端服务 + +#### 技术选型 + +- SpringBoot +- MySql +- Redis + +### 后端管理界面 + +#### 技术选型 + +- Html、Css、 JavaScript +- thymeleaf +- 组件库 [Layui](https://layui.dev/docs/2/base.html) + +### 前端显示界面 + +#### 技术选型 + +- Vue +- 组件库 [Element-plus](https://element-plus.org/zh-CN/component/overview.html) +- 文本编辑器 TODO diff --git a/log/onlineoj.log b/log/onlineoj.log new file mode 100644 index 0000000..2749999 --- /dev/null +++ b/log/onlineoj.log @@ -0,0 +1,3196 @@ +2024-09-22 15:37:16.540 INFO 45080 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 45080 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 15:37:16.541 INFO 45080 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 15:37:16.591 INFO 45080 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 15:37:16.591 INFO 45080 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 15:37:17.263 INFO 45080 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 15:37:17.264 INFO 45080 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 15:37:17.295 INFO 45080 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. +2024-09-22 15:37:17.803 INFO 45080 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 15:37:17.810 INFO 45080 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 15:37:17.810 INFO 45080 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 15:37:17.869 INFO 45080 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 15:37:17.869 INFO 45080 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1277 ms +2024-09-22 15:37:18.028 INFO 45080 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 15:37:18.095 INFO 45080 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 15:37:19.243 INFO 45080 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 15:37:19.260 INFO 45080 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 15:37:19.323 INFO 45080 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 15:37:19.471 INFO 45080 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 15:37:19.472 INFO 45080 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 15:37:19.474 INFO 45080 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 15:37:19.493 INFO 45080 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 15:37:19.552 INFO 45080 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 15:37:19.555 INFO 45080 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 15:37:19.560 INFO 45080 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 15:37:19.561 INFO 45080 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 15:37:19.567 INFO 45080 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 15:37:19.569 INFO 45080 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 15:37:19.575 INFO 45080 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 15:37:19.576 INFO 45080 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 15:37:19.579 INFO 45080 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 15:37:19.579 INFO 45080 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 15:37:19.582 INFO 45080 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 15:37:19.591 INFO 45080 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.417 seconds (JVM running for 4.209) +2024-09-22 15:40:41.438 INFO 45080 --- [http-nio-8080-exec-2] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 15:40:41.438 INFO 45080 --- [http-nio-8080-exec-2] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 15:40:41.439 INFO 45080 --- [http-nio-8080-exec-2] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-09-22 15:40:41.479 WARN 45080 --- [http-nio-8080-exec-2] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.multipart.support.MissingServletRequestPartException: Required request part 'file' is not present] +2024-09-22 15:41:18.444 INFO 45080 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 15:41:18.448 INFO 45080 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 15:41:23.408 INFO 18852 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 18852 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 15:41:23.408 INFO 18852 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 15:41:23.437 INFO 18852 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 15:41:23.437 INFO 18852 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 15:41:23.998 INFO 18852 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 15:41:23.999 INFO 18852 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 15:41:24.016 INFO 18852 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 8 ms. Found 0 Redis repository interfaces. +2024-09-22 15:41:24.447 INFO 18852 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 15:41:24.452 INFO 18852 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 15:41:24.452 INFO 18852 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 15:41:24.504 INFO 18852 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 15:41:24.504 INFO 18852 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1066 ms +2024-09-22 15:41:24.644 INFO 18852 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 15:41:24.697 INFO 18852 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 15:41:25.960 INFO 18852 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 15:41:25.976 INFO 18852 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 15:41:26.046 INFO 18852 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 15:41:26.234 INFO 18852 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 15:41:26.235 INFO 18852 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 15:41:26.237 INFO 18852 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 15:41:26.266 INFO 18852 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 15:41:26.357 INFO 18852 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 15:41:26.361 INFO 18852 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 15:41:26.368 INFO 18852 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 15:41:26.370 INFO 18852 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 15:41:26.377 INFO 18852 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 15:41:26.380 INFO 18852 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 15:41:26.387 INFO 18852 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 15:41:26.389 INFO 18852 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 15:41:26.392 INFO 18852 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 15:41:26.393 INFO 18852 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 15:41:26.397 INFO 18852 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 15:41:26.408 INFO 18852 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.28 seconds (JVM running for 4.396) +2024-09-22 15:41:29.804 INFO 18852 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 15:41:29.804 INFO 18852 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 15:41:29.805 INFO 18852 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-09-22 15:41:29.838 WARN 18852 --- [http-nio-8080-exec-1] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.multipart.support.MissingServletRequestPartException: Required request part 'file' is not present] +2024-09-22 15:42:06.658 WARN 18852 --- [http-nio-8080-exec-5] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.multipart.support.MissingServletRequestPartException: Required request part 'file' is not present] +2024-09-22 15:43:23.853 INFO 18852 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 15:43:23.860 INFO 18852 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 15:50:50.768 INFO 47772 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 47772 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 15:50:50.780 INFO 47772 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 15:50:50.809 INFO 47772 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 15:50:50.810 INFO 47772 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 15:50:51.347 INFO 47772 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 15:50:51.349 INFO 47772 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 15:50:51.365 INFO 47772 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. +2024-09-22 15:50:51.776 INFO 47772 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 15:50:51.782 INFO 47772 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 15:50:51.782 INFO 47772 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 15:50:51.836 INFO 47772 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 15:50:51.836 INFO 47772 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1026 ms +2024-09-22 15:50:51.956 INFO 47772 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 15:50:52.002 INFO 47772 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 15:50:53.157 INFO 47772 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 15:50:53.168 INFO 47772 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 15:50:53.222 INFO 47772 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 15:50:53.367 INFO 47772 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 15:50:53.368 INFO 47772 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 15:50:53.369 INFO 47772 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 15:50:53.393 INFO 47772 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 15:50:53.470 INFO 47772 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 15:50:53.474 INFO 47772 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 15:50:53.480 INFO 47772 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 15:50:53.482 INFO 47772 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 15:50:53.488 INFO 47772 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 15:50:53.492 INFO 47772 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 15:50:53.498 INFO 47772 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 15:50:53.500 INFO 47772 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 15:50:53.502 INFO 47772 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 15:50:53.504 INFO 47772 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 15:50:53.506 INFO 47772 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 15:50:53.517 INFO 47772 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.024 seconds (JVM running for 3.843) +2024-09-22 15:50:57.334 INFO 47772 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 15:50:57.334 INFO 47772 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 15:50:57.335 INFO 47772 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-09-22 15:57:12.184 INFO 47772 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 15:57:12.187 INFO 47772 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 15:57:14.929 INFO 73224 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 73224 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 15:57:14.930 INFO 73224 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 15:57:14.968 INFO 73224 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 15:57:14.968 INFO 73224 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 15:57:15.515 INFO 73224 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 15:57:15.516 INFO 73224 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 15:57:15.534 INFO 73224 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 8 ms. Found 0 Redis repository interfaces. +2024-09-22 15:57:15.996 INFO 73224 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 15:57:16.003 INFO 73224 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 15:57:16.004 INFO 73224 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 15:57:16.064 INFO 73224 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 15:57:16.065 INFO 73224 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1096 ms +2024-09-22 15:57:16.248 INFO 73224 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 15:57:16.308 INFO 73224 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 15:57:17.556 INFO 73224 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 15:57:17.568 INFO 73224 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 15:57:17.632 INFO 73224 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 15:57:17.812 INFO 73224 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 15:57:17.812 INFO 73224 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 15:57:17.814 INFO 73224 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 15:57:17.838 INFO 73224 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 15:57:17.917 INFO 73224 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 15:57:17.922 INFO 73224 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 15:57:17.928 INFO 73224 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 15:57:17.930 INFO 73224 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 15:57:17.938 INFO 73224 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 15:57:17.942 INFO 73224 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 15:57:17.950 INFO 73224 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 15:57:17.951 INFO 73224 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 15:57:17.953 INFO 73224 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 15:57:17.955 INFO 73224 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 15:57:17.958 INFO 73224 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 15:57:17.970 INFO 73224 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.291 seconds (JVM running for 4.115) +2024-09-22 15:57:19.641 INFO 73224 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 15:57:19.641 INFO 73224 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 15:57:19.642 INFO 73224 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-09-22 15:58:14.045 INFO 73224 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 15:58:14.049 INFO 73224 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 15:58:16.580 INFO 62540 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 62540 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 15:58:16.581 INFO 62540 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 15:58:16.609 INFO 62540 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 15:58:16.610 INFO 62540 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 15:58:17.165 INFO 62540 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 15:58:17.166 INFO 62540 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 15:58:17.182 INFO 62540 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. +2024-09-22 15:58:17.630 INFO 62540 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 15:58:17.636 INFO 62540 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 15:58:17.636 INFO 62540 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 15:58:17.696 INFO 62540 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 15:58:17.697 INFO 62540 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1086 ms +2024-09-22 15:58:17.836 INFO 62540 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 15:58:17.889 INFO 62540 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 15:58:19.131 INFO 62540 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 15:58:19.143 INFO 62540 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 15:58:19.198 INFO 62540 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 15:58:19.351 INFO 62540 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 15:58:19.351 INFO 62540 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 15:58:19.353 INFO 62540 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 15:58:19.376 INFO 62540 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 15:58:19.449 INFO 62540 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 15:58:19.452 INFO 62540 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 15:58:19.459 INFO 62540 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 15:58:19.461 INFO 62540 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 15:58:19.468 INFO 62540 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 15:58:19.472 INFO 62540 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 15:58:19.478 INFO 62540 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 15:58:19.479 INFO 62540 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 15:58:19.483 INFO 62540 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 15:58:19.484 INFO 62540 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 15:58:19.487 INFO 62540 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 15:58:19.498 INFO 62540 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.206 seconds (JVM running for 4.065) +2024-09-22 15:58:19.543 INFO 62540 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 15:58:19.543 INFO 62540 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 15:58:19.544 INFO 62540 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-09-22 15:59:05.246 INFO 62540 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 15:59:05.250 INFO 62540 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 15:59:07.686 INFO 34804 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 34804 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 15:59:07.688 INFO 34804 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 15:59:07.715 INFO 34804 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 15:59:07.715 INFO 34804 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 15:59:08.269 INFO 34804 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 15:59:08.270 INFO 34804 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 15:59:08.286 INFO 34804 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. +2024-09-22 15:59:08.712 INFO 34804 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 15:59:08.717 INFO 34804 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 15:59:08.718 INFO 34804 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 15:59:08.773 INFO 34804 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 15:59:08.773 INFO 34804 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1057 ms +2024-09-22 15:59:08.904 INFO 34804 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 15:59:08.952 INFO 34804 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 15:59:10.172 INFO 34804 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 15:59:10.188 INFO 34804 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 15:59:10.256 INFO 34804 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 15:59:10.423 INFO 34804 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 15:59:10.424 INFO 34804 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 15:59:10.426 INFO 34804 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 15:59:10.450 INFO 34804 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 15:59:10.528 INFO 34804 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 15:59:10.532 INFO 34804 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 15:59:10.537 INFO 34804 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 15:59:10.539 INFO 34804 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 15:59:10.547 INFO 34804 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 15:59:10.551 INFO 34804 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 15:59:10.557 INFO 34804 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 15:59:10.559 INFO 34804 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 15:59:10.562 INFO 34804 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 15:59:10.563 INFO 34804 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 15:59:10.566 INFO 34804 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 15:59:10.577 INFO 34804 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.182 seconds (JVM running for 4.039) +2024-09-22 15:59:11.255 INFO 34804 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 15:59:11.255 INFO 34804 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 15:59:11.257 INFO 34804 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms +2024-09-22 16:00:23.979 INFO 34804 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 16:00:23.982 INFO 34804 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 16:00:26.554 INFO 19840 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 19840 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 16:00:26.567 INFO 19840 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 16:00:26.606 INFO 19840 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 16:00:26.606 INFO 19840 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 16:00:27.247 INFO 19840 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 16:00:27.248 INFO 19840 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 16:00:27.266 INFO 19840 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 8 ms. Found 0 Redis repository interfaces. +2024-09-22 16:00:27.740 INFO 19840 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 16:00:27.746 INFO 19840 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 16:00:27.746 INFO 19840 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 16:00:27.805 INFO 19840 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 16:00:27.807 INFO 19840 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1201 ms +2024-09-22 16:00:27.984 INFO 19840 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 16:00:28.043 INFO 19840 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 16:00:29.323 INFO 19840 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 16:00:29.335 INFO 19840 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 16:00:29.396 INFO 19840 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 16:00:29.559 INFO 19840 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 16:00:29.560 INFO 19840 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 16:00:29.562 INFO 19840 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 16:00:29.588 INFO 19840 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 16:00:29.671 INFO 19840 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 16:00:29.675 INFO 19840 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 16:00:29.681 INFO 19840 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 16:00:29.683 INFO 19840 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 16:00:29.692 INFO 19840 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 16:00:29.695 INFO 19840 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 16:00:29.703 INFO 19840 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 16:00:29.705 INFO 19840 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 16:00:29.709 INFO 19840 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 16:00:29.710 INFO 19840 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 16:00:29.713 INFO 19840 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 16:00:29.724 INFO 19840 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.493 seconds (JVM running for 4.397) +2024-09-22 16:00:32.576 INFO 19840 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 16:00:32.576 INFO 19840 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 16:00:32.577 INFO 19840 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-09-22 16:00:53.933 WARN 19840 --- [http-nio-8080-exec-5] s.d.s.web.Swagger2ControllerWebMvc : Unable to find specification for group default +2024-09-22 16:00:58.014 WARN 19840 --- [http-nio-8080-exec-9] s.d.s.web.Swagger2ControllerWebMvc : Unable to find specification for group default +2024-09-22 16:14:01.855 INFO 19840 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 16:14:01.861 INFO 19840 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 16:14:05.681 INFO 66296 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 66296 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 16:14:05.682 INFO 66296 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 16:14:05.721 INFO 66296 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 16:14:05.722 INFO 66296 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 16:14:06.276 INFO 66296 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 16:14:06.277 INFO 66296 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 16:14:06.294 INFO 66296 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 8 ms. Found 0 Redis repository interfaces. +2024-09-22 16:14:06.717 INFO 66296 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 16:14:06.722 INFO 66296 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 16:14:06.722 INFO 66296 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 16:14:06.776 INFO 66296 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 16:14:06.776 INFO 66296 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1054 ms +2024-09-22 16:14:06.932 INFO 66296 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 16:14:06.979 INFO 66296 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 16:14:08.149 INFO 66296 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 16:14:08.160 INFO 66296 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 16:14:08.216 INFO 66296 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 16:14:08.360 INFO 66296 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 16:14:08.360 INFO 66296 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 16:14:08.362 INFO 66296 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 16:14:08.387 INFO 66296 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 16:14:08.461 INFO 66296 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 16:14:08.464 INFO 66296 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 16:14:08.470 INFO 66296 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 16:14:08.472 INFO 66296 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 16:14:08.479 INFO 66296 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 16:14:08.482 INFO 66296 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 16:14:08.490 INFO 66296 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 16:14:08.491 INFO 66296 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 16:14:08.494 INFO 66296 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 16:14:08.495 INFO 66296 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 16:14:08.497 INFO 66296 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 16:14:08.508 INFO 66296 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.097 seconds (JVM running for 3.927) +2024-09-22 16:14:23.467 INFO 66296 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 16:14:23.468 INFO 66296 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 16:14:23.469 INFO 66296 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-09-22 16:15:21.350 INFO 66296 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 16:15:21.353 INFO 66296 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 16:15:23.976 INFO 71360 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 71360 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 16:15:23.977 INFO 71360 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 16:15:24.010 INFO 71360 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 16:15:24.010 INFO 71360 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 16:15:24.684 INFO 71360 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 16:15:24.686 INFO 71360 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 16:15:24.703 INFO 71360 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. +2024-09-22 16:15:25.199 INFO 71360 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 16:15:25.205 INFO 71360 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 16:15:25.205 INFO 71360 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 16:15:25.267 INFO 71360 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 16:15:25.267 INFO 71360 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1256 ms +2024-09-22 16:15:25.429 INFO 71360 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 16:15:25.483 INFO 71360 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 16:15:26.833 INFO 71360 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 16:15:26.847 INFO 71360 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 16:15:26.914 INFO 71360 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 16:15:27.091 INFO 71360 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 16:15:27.092 INFO 71360 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 16:15:27.094 INFO 71360 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 16:15:27.120 INFO 71360 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 16:15:27.208 INFO 71360 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 16:15:27.212 INFO 71360 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 16:15:27.220 INFO 71360 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 16:15:27.222 INFO 71360 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 16:15:27.231 INFO 71360 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 16:15:27.235 INFO 71360 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 16:15:27.242 INFO 71360 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 16:15:27.243 INFO 71360 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 16:15:27.246 INFO 71360 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 16:15:27.247 INFO 71360 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 16:15:27.249 INFO 71360 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 16:15:27.262 INFO 71360 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.654 seconds (JVM running for 4.574) +2024-09-22 16:15:27.470 INFO 71360 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 16:15:27.470 INFO 71360 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 16:15:27.471 INFO 71360 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-09-22 16:17:31.677 INFO 71360 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 16:17:31.680 INFO 71360 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 16:17:34.399 INFO 61452 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 61452 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 16:17:34.400 INFO 61452 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 16:17:34.436 INFO 61452 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 16:17:34.436 INFO 61452 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 16:17:35.139 INFO 61452 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 16:17:35.140 INFO 61452 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 16:17:35.159 INFO 61452 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 8 ms. Found 0 Redis repository interfaces. +2024-09-22 16:17:35.661 INFO 61452 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 16:17:35.666 INFO 61452 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 16:17:35.668 INFO 61452 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 16:17:35.730 INFO 61452 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 16:17:35.731 INFO 61452 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1294 ms +2024-09-22 16:17:35.884 INFO 61452 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 16:17:35.942 INFO 61452 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 16:17:37.309 INFO 61452 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 16:17:37.325 INFO 61452 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 16:17:37.390 INFO 61452 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 16:17:37.585 INFO 61452 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 16:17:37.586 INFO 61452 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 16:17:37.588 INFO 61452 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 16:17:37.615 INFO 61452 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 16:17:37.720 INFO 61452 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 16:17:37.725 INFO 61452 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 16:17:37.735 INFO 61452 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 16:17:37.739 INFO 61452 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 16:17:37.750 INFO 61452 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 16:17:37.762 INFO 61452 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 16:17:37.771 INFO 61452 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 16:17:37.773 INFO 61452 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 16:17:37.776 INFO 61452 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 16:17:37.778 INFO 61452 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 16:17:37.781 INFO 61452 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 16:17:37.805 INFO 61452 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.772 seconds (JVM running for 4.748) +2024-09-22 16:17:40.755 INFO 61452 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 16:17:40.755 INFO 61452 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 16:17:40.756 INFO 61452 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-09-22 16:19:13.151 INFO 61452 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 16:19:13.155 INFO 61452 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 16:19:16.116 INFO 45120 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 45120 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 16:19:16.118 INFO 45120 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 16:19:16.149 INFO 45120 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 16:19:16.150 INFO 45120 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 16:19:16.823 INFO 45120 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 16:19:16.825 INFO 45120 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 16:19:16.843 INFO 45120 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 9 ms. Found 0 Redis repository interfaces. +2024-09-22 16:19:17.332 INFO 45120 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 16:19:17.339 INFO 45120 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 16:19:17.339 INFO 45120 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 16:19:17.405 INFO 45120 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 16:19:17.406 INFO 45120 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1255 ms +2024-09-22 16:19:17.576 INFO 45120 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 16:19:17.631 INFO 45120 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 16:19:18.948 INFO 45120 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 16:19:18.962 INFO 45120 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 16:19:19.028 INFO 45120 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 16:19:19.217 INFO 45120 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 16:19:19.217 INFO 45120 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 16:19:19.220 INFO 45120 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 16:19:19.246 INFO 45120 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 16:19:19.334 INFO 45120 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 16:19:19.338 INFO 45120 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 16:19:19.344 INFO 45120 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 16:19:19.346 INFO 45120 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 16:19:19.355 INFO 45120 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 16:19:19.358 INFO 45120 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 16:19:19.365 INFO 45120 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 16:19:19.367 INFO 45120 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 16:19:19.370 INFO 45120 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 16:19:19.371 INFO 45120 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 16:19:19.374 INFO 45120 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 16:19:19.385 INFO 45120 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.594 seconds (JVM running for 4.682) +2024-09-22 16:19:24.070 INFO 45120 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 16:19:24.070 INFO 45120 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 16:19:24.070 INFO 45120 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 0 ms +2024-09-22 16:26:59.289 INFO 45120 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 16:26:59.299 INFO 45120 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 16:27:03.861 INFO 54956 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 54956 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 16:27:03.862 INFO 54956 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 16:27:03.898 INFO 54956 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 16:27:03.898 INFO 54956 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 16:27:04.598 INFO 54956 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 16:27:04.600 INFO 54956 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 16:27:04.616 INFO 54956 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. +2024-09-22 16:27:05.101 INFO 54956 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 16:27:05.107 INFO 54956 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 16:27:05.107 INFO 54956 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 16:27:05.184 INFO 54956 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 16:27:05.185 INFO 54956 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1287 ms +2024-09-22 16:27:05.399 INFO 54956 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 16:27:05.462 INFO 54956 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 16:27:06.822 INFO 54956 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 16:27:06.837 INFO 54956 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 16:27:06.911 INFO 54956 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 16:27:07.079 INFO 54956 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 16:27:07.080 INFO 54956 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 16:27:07.084 INFO 54956 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 16:27:07.109 INFO 54956 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 16:27:07.206 INFO 54956 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 16:27:07.209 INFO 54956 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 16:27:07.216 INFO 54956 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 16:27:07.219 INFO 54956 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 16:27:07.226 INFO 54956 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 16:27:07.231 INFO 54956 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 16:27:07.238 INFO 54956 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 16:27:07.239 INFO 54956 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 16:27:07.243 INFO 54956 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 16:27:07.244 INFO 54956 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 16:27:07.247 INFO 54956 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 16:27:07.259 INFO 54956 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.763 seconds (JVM running for 4.793) +2024-09-22 16:27:30.336 INFO 54956 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 16:27:30.336 INFO 54956 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 16:27:30.337 INFO 54956 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-09-22 16:30:42.235 INFO 54956 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 16:30:42.239 INFO 54956 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 16:30:46.266 INFO 48708 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 48708 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 16:30:46.267 INFO 48708 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 16:30:46.301 INFO 48708 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 16:30:46.301 INFO 48708 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 16:30:46.966 INFO 48708 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 16:30:46.967 INFO 48708 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 16:30:46.986 INFO 48708 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 8 ms. Found 0 Redis repository interfaces. +2024-09-22 16:30:47.489 INFO 48708 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 16:30:47.495 INFO 48708 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 16:30:47.496 INFO 48708 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 16:30:47.561 INFO 48708 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 16:30:47.562 INFO 48708 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1260 ms +2024-09-22 16:30:47.726 INFO 48708 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 16:30:47.789 INFO 48708 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 16:30:49.110 INFO 48708 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 16:30:49.125 INFO 48708 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 16:30:49.186 INFO 48708 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 16:30:49.364 INFO 48708 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 16:30:49.365 INFO 48708 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 16:30:49.367 INFO 48708 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 16:30:49.393 INFO 48708 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 16:30:49.486 INFO 48708 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 16:30:49.490 INFO 48708 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 16:30:49.497 INFO 48708 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 16:30:49.498 INFO 48708 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 16:30:49.509 INFO 48708 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 16:30:49.513 INFO 48708 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 16:30:49.521 INFO 48708 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 16:30:49.523 INFO 48708 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 16:30:49.526 INFO 48708 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 16:30:49.528 INFO 48708 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 16:30:49.531 INFO 48708 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 16:30:49.544 INFO 48708 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.623 seconds (JVM running for 4.637) +2024-09-22 16:30:51.994 INFO 48708 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 16:30:51.994 INFO 48708 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 16:30:51.995 INFO 48708 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-09-22 16:57:16.630 INFO 48708 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 16:57:16.634 INFO 48708 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 16:57:20.953 INFO 70916 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 70916 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 16:57:20.954 INFO 70916 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 16:57:20.983 INFO 70916 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 16:57:20.983 INFO 70916 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 16:57:21.537 INFO 70916 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 16:57:21.538 INFO 70916 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 16:57:21.556 INFO 70916 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. +2024-09-22 16:57:21.973 INFO 70916 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 16:57:21.979 INFO 70916 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 16:57:21.979 INFO 70916 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 16:57:22.035 INFO 70916 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 16:57:22.035 INFO 70916 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1051 ms +2024-09-22 16:57:22.160 INFO 70916 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 16:57:22.205 INFO 70916 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 16:57:23.412 INFO 70916 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 16:57:23.423 INFO 70916 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 16:57:23.475 INFO 70916 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 16:57:23.623 INFO 70916 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 16:57:23.624 INFO 70916 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 16:57:23.627 INFO 70916 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 16:57:23.653 INFO 70916 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 16:57:23.733 INFO 70916 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 16:57:23.739 INFO 70916 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 16:57:23.744 INFO 70916 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 16:57:23.747 INFO 70916 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 16:57:23.754 INFO 70916 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 16:57:23.758 INFO 70916 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 16:57:23.765 INFO 70916 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 16:57:23.766 INFO 70916 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 16:57:23.769 INFO 70916 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 16:57:23.770 INFO 70916 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 16:57:23.773 INFO 70916 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 16:57:23.783 INFO 70916 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.125 seconds (JVM running for 4.163) +2024-09-22 16:57:28.265 INFO 70916 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 16:57:28.265 INFO 70916 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 16:57:28.266 INFO 70916 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 0 ms +2024-09-22 18:30:41.494 INFO 70916 --- [http-nio-8080-exec-10] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 18:31:06.295 INFO 70916 --- [http-nio-8080-exec-1] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 18:31:08.739 INFO 70916 --- [http-nio-8080-exec-3] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 18:31:26.582 WARN 70916 --- [http-nio-8080-exec-4] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'PUT' not supported] +2024-09-22 18:31:44.410 WARN 70916 --- [http-nio-8080-exec-5] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'PUT' not supported] +2024-09-22 18:31:55.711 WARN 70916 --- [http-nio-8080-exec-6] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'PUT' not supported] +2024-09-22 18:33:13.549 WARN 70916 --- [http-nio-8080-exec-8] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'PUT' not supported] +2024-09-22 18:33:13.811 WARN 70916 --- [http-nio-8080-exec-9] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'PUT' not supported] +2024-09-22 18:33:14.715 WARN 70916 --- [http-nio-8080-exec-10] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'PUT' not supported] +2024-09-22 18:40:19.548 INFO 70916 --- [http-nio-8080-exec-1] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 18:40:30.165 WARN 70916 --- [http-nio-8080-exec-2] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'PUT' not supported] +2024-09-22 18:41:08.129 INFO 70916 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 18:41:08.134 INFO 70916 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 18:41:12.585 INFO 56492 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 56492 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 18:41:12.585 INFO 56492 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 18:41:12.614 INFO 56492 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 18:41:12.614 INFO 56492 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 18:41:13.148 INFO 56492 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 18:41:13.149 INFO 56492 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 18:41:13.166 INFO 56492 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. +2024-09-22 18:41:13.598 INFO 56492 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 18:41:13.603 INFO 56492 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 18:41:13.603 INFO 56492 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 18:41:13.658 INFO 56492 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 18:41:13.659 INFO 56492 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1045 ms +2024-09-22 18:41:13.792 INFO 56492 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 18:41:13.837 INFO 56492 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 18:41:14.995 INFO 56492 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 18:41:15.006 INFO 56492 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 18:41:15.063 INFO 56492 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 18:41:15.229 INFO 56492 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 18:41:15.229 INFO 56492 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 18:41:15.231 INFO 56492 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 18:41:15.258 INFO 56492 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 18:41:15.339 INFO 56492 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 18:41:15.342 INFO 56492 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 18:41:15.347 INFO 56492 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 18:41:15.349 INFO 56492 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 18:41:15.356 INFO 56492 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 18:41:15.359 INFO 56492 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 18:41:15.365 INFO 56492 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 18:41:15.366 INFO 56492 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 18:41:15.369 INFO 56492 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 18:41:15.370 INFO 56492 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 18:41:15.373 INFO 56492 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 18:41:15.382 INFO 56492 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.072 seconds (JVM running for 3.911) +2024-09-22 18:41:19.573 INFO 56492 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 18:41:19.573 INFO 56492 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 18:41:19.574 INFO 56492 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-09-22 18:41:19.656 ERROR 56492 --- [http-nio-8080-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.jdbc.BadSqlGrammarException: +### Error updating database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1 +### The error may exist in top/weiyuexin/mapper/UserMapper.java (best guess) +### The error may involve top.weiyuexin.mapper.UserMapper.updateById-Inline +### The error occurred while setting parameters +### SQL: UPDATE user WHERE id=? +### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1 +; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1] with root cause + +java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1 + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.alibaba.druid.pool.DruidPooledPreparedStatement.execute(DruidPooledPreparedStatement.java:497) ~[druid-1.1.21.jar:1.1.21] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.apache.ibatis.logging.jdbc.PreparedStatementLogger.invoke(PreparedStatementLogger.java:59) ~[mybatis-3.5.10.jar:3.5.10] + at com.sun.proxy.$Proxy117.execute(Unknown Source) ~[na:na] + at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:47) ~[mybatis-3.5.10.jar:3.5.10] + at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:74) ~[mybatis-3.5.10.jar:3.5.10] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:64) ~[mybatis-3.5.10.jar:3.5.10] + at com.sun.proxy.$Proxy115.update(Unknown Source) ~[na:na] + at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:50) ~[mybatis-3.5.10.jar:3.5.10] + at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117) ~[mybatis-3.5.10.jar:3.5.10] + at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76) ~[mybatis-3.5.10.jar:3.5.10] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:49) ~[mybatis-3.5.10.jar:3.5.10] + at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:106) ~[mybatis-plus-extension-3.5.2.jar:3.5.2] + at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62) ~[mybatis-3.5.10.jar:3.5.10] + at com.sun.proxy.$Proxy114.update(Unknown Source) ~[na:na] + at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:194) ~[mybatis-3.5.10.jar:3.5.10] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427) ~[mybatis-spring-2.0.7.jar:2.0.7] + at com.sun.proxy.$Proxy78.update(Unknown Source) ~[na:na] + at org.mybatis.spring.SqlSessionTemplate.update(SqlSessionTemplate.java:288) ~[mybatis-spring-2.0.7.jar:2.0.7] + at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:64) ~[mybatis-plus-core-3.5.2.jar:3.5.2] + at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148) ~[mybatis-plus-core-3.5.2.jar:3.5.2] + at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) ~[mybatis-plus-core-3.5.2.jar:3.5.2] + at com.sun.proxy.$Proxy80.updateById(Unknown Source) ~[na:na] + at com.baomidou.mybatisplus.extension.service.IService.updateById(IService.java:239) ~[mybatis-plus-extension-3.5.2.jar:3.5.2] + at com.baomidou.mybatisplus.extension.service.IService$$FastClassBySpringCGLIB$$f8525d18.invoke() ~[mybatis-plus-extension-3.5.2.jar:3.5.2] + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.24.jar:5.3.24] + at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386) ~[spring-aop-5.3.24.jar:5.3.24] + at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85) ~[spring-aop-5.3.24.jar:5.3.24] + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:704) ~[spring-aop-5.3.24.jar:5.3.24] + at top.weiyuexin.service.impl.UserServiceImpl$$EnhancerBySpringCGLIB$$ce297702.updateById() ~[classes/:na] + at top.weiyuexin.controller.UserController.updateUser(UserController.java:181) ~[classes/:na] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1071) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:964) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.FrameworkServlet.doPut(FrameworkServlet.java:920) ~[spring-webmvc-5.3.24.jar:5.3.24] + at javax.servlet.http.HttpServlet.service(HttpServlet.java:699) ~[tomcat-embed-core-9.0.69.jar:4.0.FR] + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) ~[spring-webmvc-5.3.24.jar:5.3.24] + at javax.servlet.http.HttpServlet.service(HttpServlet.java:779) ~[tomcat-embed-core-9.0.69.jar:4.0.FR] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) ~[tomcat-embed-websocket-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at com.github.xiaoymin.knife4j.spring.filter.SecurityBasicAuthFilter.doFilter(SecurityBasicAuthFilter.java:98) ~[knife4j-openapi2-spring-boot-starter-4.0.0.jar:na] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:90) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:177) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:891) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1784) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.69.jar:9.0.69] + at java.lang.Thread.run(Thread.java:748) [na:1.8.0_131] + +2024-09-22 18:43:05.399 INFO 56492 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 18:43:05.403 INFO 56492 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 18:43:09.561 INFO 40492 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 40492 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 18:43:09.562 INFO 40492 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 18:43:09.595 INFO 40492 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 18:43:09.595 INFO 40492 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 18:43:10.172 INFO 40492 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 18:43:10.173 INFO 40492 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 18:43:10.192 INFO 40492 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 8 ms. Found 0 Redis repository interfaces. +2024-09-22 18:43:10.621 INFO 40492 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 18:43:10.626 INFO 40492 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 18:43:10.626 INFO 40492 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 18:43:10.681 INFO 40492 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 18:43:10.682 INFO 40492 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1087 ms +2024-09-22 18:43:10.829 INFO 40492 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 18:43:10.875 INFO 40492 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 18:43:12.081 INFO 40492 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 18:43:12.092 INFO 40492 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 18:43:12.148 INFO 40492 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 18:43:12.295 INFO 40492 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 18:43:12.296 INFO 40492 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 18:43:12.298 INFO 40492 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 18:43:12.319 INFO 40492 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 18:43:12.395 INFO 40492 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 18:43:12.398 INFO 40492 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 18:43:12.405 INFO 40492 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 18:43:12.407 INFO 40492 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 18:43:12.415 INFO 40492 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 18:43:12.419 INFO 40492 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 18:43:12.425 INFO 40492 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 18:43:12.426 INFO 40492 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 18:43:12.430 INFO 40492 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 18:43:12.431 INFO 40492 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 18:43:12.433 INFO 40492 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 18:43:12.446 INFO 40492 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.185 seconds (JVM running for 4.093) +2024-09-22 18:43:16.264 INFO 40492 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 18:43:16.264 INFO 40492 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 18:43:16.265 INFO 40492 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-09-22 18:43:16.430 ERROR 40492 --- [http-nio-8080-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.jdbc.BadSqlGrammarException: +### Error updating database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1 +### The error may exist in top/weiyuexin/mapper/UserMapper.java (best guess) +### The error may involve top.weiyuexin.mapper.UserMapper.updateById-Inline +### The error occurred while setting parameters +### SQL: UPDATE user WHERE id=? +### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1 +; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1] with root cause + +java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1 + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.alibaba.druid.pool.DruidPooledPreparedStatement.execute(DruidPooledPreparedStatement.java:497) ~[druid-1.1.21.jar:1.1.21] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.apache.ibatis.logging.jdbc.PreparedStatementLogger.invoke(PreparedStatementLogger.java:59) ~[mybatis-3.5.10.jar:3.5.10] + at com.sun.proxy.$Proxy116.execute(Unknown Source) ~[na:na] + at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:47) ~[mybatis-3.5.10.jar:3.5.10] + at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:74) ~[mybatis-3.5.10.jar:3.5.10] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:64) ~[mybatis-3.5.10.jar:3.5.10] + at com.sun.proxy.$Proxy114.update(Unknown Source) ~[na:na] + at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:50) ~[mybatis-3.5.10.jar:3.5.10] + at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117) ~[mybatis-3.5.10.jar:3.5.10] + at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76) ~[mybatis-3.5.10.jar:3.5.10] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:49) ~[mybatis-3.5.10.jar:3.5.10] + at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:106) ~[mybatis-plus-extension-3.5.2.jar:3.5.2] + at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62) ~[mybatis-3.5.10.jar:3.5.10] + at com.sun.proxy.$Proxy113.update(Unknown Source) ~[na:na] + at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:194) ~[mybatis-3.5.10.jar:3.5.10] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427) ~[mybatis-spring-2.0.7.jar:2.0.7] + at com.sun.proxy.$Proxy78.update(Unknown Source) ~[na:na] + at org.mybatis.spring.SqlSessionTemplate.update(SqlSessionTemplate.java:288) ~[mybatis-spring-2.0.7.jar:2.0.7] + at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:64) ~[mybatis-plus-core-3.5.2.jar:3.5.2] + at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148) ~[mybatis-plus-core-3.5.2.jar:3.5.2] + at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) ~[mybatis-plus-core-3.5.2.jar:3.5.2] + at com.sun.proxy.$Proxy80.updateById(Unknown Source) ~[na:na] + at com.baomidou.mybatisplus.extension.service.IService.updateById(IService.java:239) ~[mybatis-plus-extension-3.5.2.jar:3.5.2] + at com.baomidou.mybatisplus.extension.service.IService$$FastClassBySpringCGLIB$$f8525d18.invoke() ~[mybatis-plus-extension-3.5.2.jar:3.5.2] + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.24.jar:5.3.24] + at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386) ~[spring-aop-5.3.24.jar:5.3.24] + at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85) ~[spring-aop-5.3.24.jar:5.3.24] + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:704) ~[spring-aop-5.3.24.jar:5.3.24] + at top.weiyuexin.service.impl.UserServiceImpl$$EnhancerBySpringCGLIB$$a2c3bf99.updateById() ~[classes/:na] + at top.weiyuexin.controller.UserController.updateUser(UserController.java:182) ~[classes/:na] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1071) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:964) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.FrameworkServlet.doPut(FrameworkServlet.java:920) ~[spring-webmvc-5.3.24.jar:5.3.24] + at javax.servlet.http.HttpServlet.service(HttpServlet.java:699) ~[tomcat-embed-core-9.0.69.jar:4.0.FR] + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) ~[spring-webmvc-5.3.24.jar:5.3.24] + at javax.servlet.http.HttpServlet.service(HttpServlet.java:779) ~[tomcat-embed-core-9.0.69.jar:4.0.FR] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) ~[tomcat-embed-websocket-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at com.github.xiaoymin.knife4j.spring.filter.SecurityBasicAuthFilter.doFilter(SecurityBasicAuthFilter.java:98) ~[knife4j-openapi2-spring-boot-starter-4.0.0.jar:na] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:90) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:177) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:891) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1784) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.69.jar:9.0.69] + at java.lang.Thread.run(Thread.java:748) [na:1.8.0_131] + +2024-09-22 18:43:58.718 INFO 40492 --- [http-nio-8080-exec-3] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 18:44:09.293 ERROR 40492 --- [http-nio-8080-exec-7] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.jdbc.BadSqlGrammarException: +### Error updating database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1 +### The error may exist in top/weiyuexin/mapper/UserMapper.java (best guess) +### The error may involve top.weiyuexin.mapper.UserMapper.updateById-Inline +### The error occurred while setting parameters +### SQL: UPDATE user WHERE id=? +### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1 +; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1] with root cause + +java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1 + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.alibaba.druid.pool.DruidPooledPreparedStatement.execute(DruidPooledPreparedStatement.java:497) ~[druid-1.1.21.jar:1.1.21] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.apache.ibatis.logging.jdbc.PreparedStatementLogger.invoke(PreparedStatementLogger.java:59) ~[mybatis-3.5.10.jar:3.5.10] + at com.sun.proxy.$Proxy116.execute(Unknown Source) ~[na:na] + at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:47) ~[mybatis-3.5.10.jar:3.5.10] + at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:74) ~[mybatis-3.5.10.jar:3.5.10] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:64) ~[mybatis-3.5.10.jar:3.5.10] + at com.sun.proxy.$Proxy114.update(Unknown Source) ~[na:na] + at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:50) ~[mybatis-3.5.10.jar:3.5.10] + at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117) ~[mybatis-3.5.10.jar:3.5.10] + at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76) ~[mybatis-3.5.10.jar:3.5.10] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:49) ~[mybatis-3.5.10.jar:3.5.10] + at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:106) ~[mybatis-plus-extension-3.5.2.jar:3.5.2] + at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62) ~[mybatis-3.5.10.jar:3.5.10] + at com.sun.proxy.$Proxy113.update(Unknown Source) ~[na:na] + at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:194) ~[mybatis-3.5.10.jar:3.5.10] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427) ~[mybatis-spring-2.0.7.jar:2.0.7] + at com.sun.proxy.$Proxy78.update(Unknown Source) ~[na:na] + at org.mybatis.spring.SqlSessionTemplate.update(SqlSessionTemplate.java:288) ~[mybatis-spring-2.0.7.jar:2.0.7] + at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:64) ~[mybatis-plus-core-3.5.2.jar:3.5.2] + at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148) ~[mybatis-plus-core-3.5.2.jar:3.5.2] + at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) ~[mybatis-plus-core-3.5.2.jar:3.5.2] + at com.sun.proxy.$Proxy80.updateById(Unknown Source) ~[na:na] + at com.baomidou.mybatisplus.extension.service.IService.updateById(IService.java:239) ~[mybatis-plus-extension-3.5.2.jar:3.5.2] + at com.baomidou.mybatisplus.extension.service.IService$$FastClassBySpringCGLIB$$f8525d18.invoke() ~[mybatis-plus-extension-3.5.2.jar:3.5.2] + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.24.jar:5.3.24] + at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386) ~[spring-aop-5.3.24.jar:5.3.24] + at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85) ~[spring-aop-5.3.24.jar:5.3.24] + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:704) ~[spring-aop-5.3.24.jar:5.3.24] + at top.weiyuexin.service.impl.UserServiceImpl$$EnhancerBySpringCGLIB$$a2c3bf99.updateById() ~[classes/:na] + at top.weiyuexin.controller.UserController.updateUser(UserController.java:182) ~[classes/:na] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1071) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:964) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.FrameworkServlet.doPut(FrameworkServlet.java:920) ~[spring-webmvc-5.3.24.jar:5.3.24] + at javax.servlet.http.HttpServlet.service(HttpServlet.java:699) ~[tomcat-embed-core-9.0.69.jar:4.0.FR] + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) ~[spring-webmvc-5.3.24.jar:5.3.24] + at javax.servlet.http.HttpServlet.service(HttpServlet.java:779) ~[tomcat-embed-core-9.0.69.jar:4.0.FR] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) ~[tomcat-embed-websocket-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at com.github.xiaoymin.knife4j.spring.filter.SecurityBasicAuthFilter.doFilter(SecurityBasicAuthFilter.java:98) ~[knife4j-openapi2-spring-boot-starter-4.0.0.jar:na] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:177) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:891) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1784) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.69.jar:9.0.69] + at java.lang.Thread.run(Thread.java:748) [na:1.8.0_131] + +2024-09-22 18:44:58.563 INFO 40492 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 18:44:58.566 INFO 40492 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 18:45:02.489 INFO 74620 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 74620 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 18:45:02.490 INFO 74620 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 18:45:02.518 INFO 74620 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 18:45:02.518 INFO 74620 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 18:45:03.046 INFO 74620 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 18:45:03.048 INFO 74620 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 18:45:03.064 INFO 74620 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 8 ms. Found 0 Redis repository interfaces. +2024-09-22 18:45:03.473 INFO 74620 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 18:45:03.478 INFO 74620 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 18:45:03.479 INFO 74620 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 18:45:03.534 INFO 74620 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 18:45:03.534 INFO 74620 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1016 ms +2024-09-22 18:45:03.665 INFO 74620 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 18:45:03.707 INFO 74620 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 18:45:04.917 INFO 74620 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 18:45:04.931 INFO 74620 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 18:45:04.999 INFO 74620 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 18:45:05.153 INFO 74620 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 18:45:05.154 INFO 74620 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 18:45:05.156 INFO 74620 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 18:45:05.178 INFO 74620 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 18:45:05.252 INFO 74620 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 18:45:05.256 INFO 74620 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 18:45:05.262 INFO 74620 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 18:45:05.264 INFO 74620 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 18:45:05.272 INFO 74620 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 18:45:05.276 INFO 74620 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 18:45:05.283 INFO 74620 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 18:45:05.285 INFO 74620 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 18:45:05.288 INFO 74620 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 18:45:05.289 INFO 74620 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 18:45:05.293 INFO 74620 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 18:45:05.305 INFO 74620 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.087 seconds (JVM running for 3.885) +2024-09-22 18:45:07.332 INFO 74620 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 18:45:07.332 INFO 74620 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 18:45:07.333 INFO 74620 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-09-22 18:45:07.532 ERROR 74620 --- [http-nio-8080-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.jdbc.BadSqlGrammarException: +### Error updating database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1 +### The error may exist in top/weiyuexin/mapper/UserMapper.java (best guess) +### The error may involve top.weiyuexin.mapper.UserMapper.updateById-Inline +### The error occurred while setting parameters +### SQL: UPDATE user WHERE id=? +### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1 +; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1] with root cause + +java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1 + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.alibaba.druid.pool.DruidPooledPreparedStatement.execute(DruidPooledPreparedStatement.java:497) ~[druid-1.1.21.jar:1.1.21] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.apache.ibatis.logging.jdbc.PreparedStatementLogger.invoke(PreparedStatementLogger.java:59) ~[mybatis-3.5.10.jar:3.5.10] + at com.sun.proxy.$Proxy117.execute(Unknown Source) ~[na:na] + at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:47) ~[mybatis-3.5.10.jar:3.5.10] + at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:74) ~[mybatis-3.5.10.jar:3.5.10] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:64) ~[mybatis-3.5.10.jar:3.5.10] + at com.sun.proxy.$Proxy115.update(Unknown Source) ~[na:na] + at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:50) ~[mybatis-3.5.10.jar:3.5.10] + at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117) ~[mybatis-3.5.10.jar:3.5.10] + at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76) ~[mybatis-3.5.10.jar:3.5.10] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:49) ~[mybatis-3.5.10.jar:3.5.10] + at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:106) ~[mybatis-plus-extension-3.5.2.jar:3.5.2] + at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62) ~[mybatis-3.5.10.jar:3.5.10] + at com.sun.proxy.$Proxy114.update(Unknown Source) ~[na:na] + at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:194) ~[mybatis-3.5.10.jar:3.5.10] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427) ~[mybatis-spring-2.0.7.jar:2.0.7] + at com.sun.proxy.$Proxy78.update(Unknown Source) ~[na:na] + at org.mybatis.spring.SqlSessionTemplate.update(SqlSessionTemplate.java:288) ~[mybatis-spring-2.0.7.jar:2.0.7] + at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:64) ~[mybatis-plus-core-3.5.2.jar:3.5.2] + at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148) ~[mybatis-plus-core-3.5.2.jar:3.5.2] + at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) ~[mybatis-plus-core-3.5.2.jar:3.5.2] + at com.sun.proxy.$Proxy80.updateById(Unknown Source) ~[na:na] + at com.baomidou.mybatisplus.extension.service.IService.updateById(IService.java:239) ~[mybatis-plus-extension-3.5.2.jar:3.5.2] + at com.baomidou.mybatisplus.extension.service.IService$$FastClassBySpringCGLIB$$f8525d18.invoke() ~[mybatis-plus-extension-3.5.2.jar:3.5.2] + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.24.jar:5.3.24] + at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386) ~[spring-aop-5.3.24.jar:5.3.24] + at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85) ~[spring-aop-5.3.24.jar:5.3.24] + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:704) ~[spring-aop-5.3.24.jar:5.3.24] + at top.weiyuexin.service.impl.UserServiceImpl$$EnhancerBySpringCGLIB$$fc94650d.updateById() ~[classes/:na] + at top.weiyuexin.controller.UserController.updateUser(UserController.java:182) ~[classes/:na] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1071) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:964) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.FrameworkServlet.doPut(FrameworkServlet.java:920) ~[spring-webmvc-5.3.24.jar:5.3.24] + at javax.servlet.http.HttpServlet.service(HttpServlet.java:699) ~[tomcat-embed-core-9.0.69.jar:4.0.FR] + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) ~[spring-webmvc-5.3.24.jar:5.3.24] + at javax.servlet.http.HttpServlet.service(HttpServlet.java:779) ~[tomcat-embed-core-9.0.69.jar:4.0.FR] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) ~[tomcat-embed-websocket-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at com.github.xiaoymin.knife4j.spring.filter.SecurityBasicAuthFilter.doFilter(SecurityBasicAuthFilter.java:98) ~[knife4j-openapi2-spring-boot-starter-4.0.0.jar:na] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:177) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:891) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1784) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.69.jar:9.0.69] + at java.lang.Thread.run(Thread.java:748) [na:1.8.0_131] + +2024-09-22 18:46:38.208 ERROR 74620 --- [http-nio-8080-exec-3] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.jdbc.BadSqlGrammarException: +### Error updating database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1 +### The error may exist in top/weiyuexin/mapper/UserMapper.java (best guess) +### The error may involve top.weiyuexin.mapper.UserMapper.updateById-Inline +### The error occurred while setting parameters +### SQL: UPDATE user WHERE id=? +### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1 +; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1] with root cause + +java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1 + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.alibaba.druid.pool.DruidPooledPreparedStatement.execute(DruidPooledPreparedStatement.java:497) ~[druid-1.1.21.jar:1.1.21] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.apache.ibatis.logging.jdbc.PreparedStatementLogger.invoke(PreparedStatementLogger.java:59) ~[mybatis-3.5.10.jar:3.5.10] + at com.sun.proxy.$Proxy117.execute(Unknown Source) ~[na:na] + at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:47) ~[mybatis-3.5.10.jar:3.5.10] + at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:74) ~[mybatis-3.5.10.jar:3.5.10] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:64) ~[mybatis-3.5.10.jar:3.5.10] + at com.sun.proxy.$Proxy115.update(Unknown Source) ~[na:na] + at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:50) ~[mybatis-3.5.10.jar:3.5.10] + at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117) ~[mybatis-3.5.10.jar:3.5.10] + at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76) ~[mybatis-3.5.10.jar:3.5.10] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:49) ~[mybatis-3.5.10.jar:3.5.10] + at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:106) ~[mybatis-plus-extension-3.5.2.jar:3.5.2] + at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62) ~[mybatis-3.5.10.jar:3.5.10] + at com.sun.proxy.$Proxy114.update(Unknown Source) ~[na:na] + at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:194) ~[mybatis-3.5.10.jar:3.5.10] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427) ~[mybatis-spring-2.0.7.jar:2.0.7] + at com.sun.proxy.$Proxy78.update(Unknown Source) ~[na:na] + at org.mybatis.spring.SqlSessionTemplate.update(SqlSessionTemplate.java:288) ~[mybatis-spring-2.0.7.jar:2.0.7] + at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:64) ~[mybatis-plus-core-3.5.2.jar:3.5.2] + at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148) ~[mybatis-plus-core-3.5.2.jar:3.5.2] + at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) ~[mybatis-plus-core-3.5.2.jar:3.5.2] + at com.sun.proxy.$Proxy80.updateById(Unknown Source) ~[na:na] + at com.baomidou.mybatisplus.extension.service.IService.updateById(IService.java:239) ~[mybatis-plus-extension-3.5.2.jar:3.5.2] + at com.baomidou.mybatisplus.extension.service.IService$$FastClassBySpringCGLIB$$f8525d18.invoke() ~[mybatis-plus-extension-3.5.2.jar:3.5.2] + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.24.jar:5.3.24] + at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386) ~[spring-aop-5.3.24.jar:5.3.24] + at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85) ~[spring-aop-5.3.24.jar:5.3.24] + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:704) ~[spring-aop-5.3.24.jar:5.3.24] + at top.weiyuexin.service.impl.UserServiceImpl$$EnhancerBySpringCGLIB$$fc94650d.updateById() ~[classes/:na] + at top.weiyuexin.controller.UserController.updateUser(UserController.java:182) ~[classes/:na] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1071) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:964) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.FrameworkServlet.doPut(FrameworkServlet.java:920) ~[spring-webmvc-5.3.24.jar:5.3.24] + at javax.servlet.http.HttpServlet.service(HttpServlet.java:699) ~[tomcat-embed-core-9.0.69.jar:4.0.FR] + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) ~[spring-webmvc-5.3.24.jar:5.3.24] + at javax.servlet.http.HttpServlet.service(HttpServlet.java:779) ~[tomcat-embed-core-9.0.69.jar:4.0.FR] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) ~[tomcat-embed-websocket-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at com.github.xiaoymin.knife4j.spring.filter.SecurityBasicAuthFilter.doFilter(SecurityBasicAuthFilter.java:98) ~[knife4j-openapi2-spring-boot-starter-4.0.0.jar:na] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:177) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:891) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1784) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.69.jar:9.0.69] + at java.lang.Thread.run(Thread.java:748) [na:1.8.0_131] + +2024-09-22 18:48:42.393 INFO 74620 --- [http-nio-8080-exec-7] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 18:48:50.696 ERROR 74620 --- [http-nio-8080-exec-6] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.jdbc.BadSqlGrammarException: +### Error updating database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1 +### The error may exist in top/weiyuexin/mapper/UserMapper.java (best guess) +### The error may involve top.weiyuexin.mapper.UserMapper.updateById-Inline +### The error occurred while setting parameters +### SQL: UPDATE user WHERE id=? +### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1 +; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1] with root cause + +java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1 + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.alibaba.druid.pool.DruidPooledPreparedStatement.execute(DruidPooledPreparedStatement.java:497) ~[druid-1.1.21.jar:1.1.21] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.apache.ibatis.logging.jdbc.PreparedStatementLogger.invoke(PreparedStatementLogger.java:59) ~[mybatis-3.5.10.jar:3.5.10] + at com.sun.proxy.$Proxy117.execute(Unknown Source) ~[na:na] + at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:47) ~[mybatis-3.5.10.jar:3.5.10] + at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:74) ~[mybatis-3.5.10.jar:3.5.10] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:64) ~[mybatis-3.5.10.jar:3.5.10] + at com.sun.proxy.$Proxy115.update(Unknown Source) ~[na:na] + at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:50) ~[mybatis-3.5.10.jar:3.5.10] + at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117) ~[mybatis-3.5.10.jar:3.5.10] + at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76) ~[mybatis-3.5.10.jar:3.5.10] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:49) ~[mybatis-3.5.10.jar:3.5.10] + at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:106) ~[mybatis-plus-extension-3.5.2.jar:3.5.2] + at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62) ~[mybatis-3.5.10.jar:3.5.10] + at com.sun.proxy.$Proxy114.update(Unknown Source) ~[na:na] + at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:194) ~[mybatis-3.5.10.jar:3.5.10] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427) ~[mybatis-spring-2.0.7.jar:2.0.7] + at com.sun.proxy.$Proxy78.update(Unknown Source) ~[na:na] + at org.mybatis.spring.SqlSessionTemplate.update(SqlSessionTemplate.java:288) ~[mybatis-spring-2.0.7.jar:2.0.7] + at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:64) ~[mybatis-plus-core-3.5.2.jar:3.5.2] + at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148) ~[mybatis-plus-core-3.5.2.jar:3.5.2] + at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) ~[mybatis-plus-core-3.5.2.jar:3.5.2] + at com.sun.proxy.$Proxy80.updateById(Unknown Source) ~[na:na] + at com.baomidou.mybatisplus.extension.service.IService.updateById(IService.java:239) ~[mybatis-plus-extension-3.5.2.jar:3.5.2] + at com.baomidou.mybatisplus.extension.service.IService$$FastClassBySpringCGLIB$$f8525d18.invoke() ~[mybatis-plus-extension-3.5.2.jar:3.5.2] + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.24.jar:5.3.24] + at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386) ~[spring-aop-5.3.24.jar:5.3.24] + at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85) ~[spring-aop-5.3.24.jar:5.3.24] + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:704) ~[spring-aop-5.3.24.jar:5.3.24] + at top.weiyuexin.service.impl.UserServiceImpl$$EnhancerBySpringCGLIB$$fc94650d.updateById() ~[classes/:na] + at top.weiyuexin.controller.UserController.updateUser(UserController.java:182) ~[classes/:na] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1071) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:964) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.FrameworkServlet.doPut(FrameworkServlet.java:920) ~[spring-webmvc-5.3.24.jar:5.3.24] + at javax.servlet.http.HttpServlet.service(HttpServlet.java:699) ~[tomcat-embed-core-9.0.69.jar:4.0.FR] + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) ~[spring-webmvc-5.3.24.jar:5.3.24] + at javax.servlet.http.HttpServlet.service(HttpServlet.java:779) ~[tomcat-embed-core-9.0.69.jar:4.0.FR] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) ~[tomcat-embed-websocket-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at com.github.xiaoymin.knife4j.spring.filter.SecurityBasicAuthFilter.doFilter(SecurityBasicAuthFilter.java:98) ~[knife4j-openapi2-spring-boot-starter-4.0.0.jar:na] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:177) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:891) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1784) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.69.jar:9.0.69] + at java.lang.Thread.run(Thread.java:748) [na:1.8.0_131] + +2024-09-22 18:51:26.899 ERROR 74620 --- [http-nio-8080-exec-8] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.jdbc.BadSqlGrammarException: +### Error updating database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1 +### The error may exist in top/weiyuexin/mapper/UserMapper.java (best guess) +### The error may involve top.weiyuexin.mapper.UserMapper.updateById-Inline +### The error occurred while setting parameters +### SQL: UPDATE user WHERE id=? +### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1 +; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1] with root cause + +java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1 + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.alibaba.druid.pool.DruidPooledPreparedStatement.execute(DruidPooledPreparedStatement.java:497) ~[druid-1.1.21.jar:1.1.21] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.apache.ibatis.logging.jdbc.PreparedStatementLogger.invoke(PreparedStatementLogger.java:59) ~[mybatis-3.5.10.jar:3.5.10] + at com.sun.proxy.$Proxy117.execute(Unknown Source) ~[na:na] + at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:47) ~[mybatis-3.5.10.jar:3.5.10] + at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:74) ~[mybatis-3.5.10.jar:3.5.10] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:64) ~[mybatis-3.5.10.jar:3.5.10] + at com.sun.proxy.$Proxy115.update(Unknown Source) ~[na:na] + at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:50) ~[mybatis-3.5.10.jar:3.5.10] + at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117) ~[mybatis-3.5.10.jar:3.5.10] + at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76) ~[mybatis-3.5.10.jar:3.5.10] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:49) ~[mybatis-3.5.10.jar:3.5.10] + at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:106) ~[mybatis-plus-extension-3.5.2.jar:3.5.2] + at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62) ~[mybatis-3.5.10.jar:3.5.10] + at com.sun.proxy.$Proxy114.update(Unknown Source) ~[na:na] + at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:194) ~[mybatis-3.5.10.jar:3.5.10] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427) ~[mybatis-spring-2.0.7.jar:2.0.7] + at com.sun.proxy.$Proxy78.update(Unknown Source) ~[na:na] + at org.mybatis.spring.SqlSessionTemplate.update(SqlSessionTemplate.java:288) ~[mybatis-spring-2.0.7.jar:2.0.7] + at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:64) ~[mybatis-plus-core-3.5.2.jar:3.5.2] + at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148) ~[mybatis-plus-core-3.5.2.jar:3.5.2] + at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) ~[mybatis-plus-core-3.5.2.jar:3.5.2] + at com.sun.proxy.$Proxy80.updateById(Unknown Source) ~[na:na] + at com.baomidou.mybatisplus.extension.service.IService.updateById(IService.java:239) ~[mybatis-plus-extension-3.5.2.jar:3.5.2] + at com.baomidou.mybatisplus.extension.service.IService$$FastClassBySpringCGLIB$$f8525d18.invoke() ~[mybatis-plus-extension-3.5.2.jar:3.5.2] + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.24.jar:5.3.24] + at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386) ~[spring-aop-5.3.24.jar:5.3.24] + at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85) ~[spring-aop-5.3.24.jar:5.3.24] + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:704) ~[spring-aop-5.3.24.jar:5.3.24] + at top.weiyuexin.service.impl.UserServiceImpl$$EnhancerBySpringCGLIB$$fc94650d.updateById() ~[classes/:na] + at top.weiyuexin.controller.UserController.updateUser(UserController.java:182) ~[classes/:na] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1071) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:964) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.FrameworkServlet.doPut(FrameworkServlet.java:920) ~[spring-webmvc-5.3.24.jar:5.3.24] + at javax.servlet.http.HttpServlet.service(HttpServlet.java:699) ~[tomcat-embed-core-9.0.69.jar:4.0.FR] + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) ~[spring-webmvc-5.3.24.jar:5.3.24] + at javax.servlet.http.HttpServlet.service(HttpServlet.java:779) ~[tomcat-embed-core-9.0.69.jar:4.0.FR] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) ~[tomcat-embed-websocket-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at com.github.xiaoymin.knife4j.spring.filter.SecurityBasicAuthFilter.doFilter(SecurityBasicAuthFilter.java:98) ~[knife4j-openapi2-spring-boot-starter-4.0.0.jar:na] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:177) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:891) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1784) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.69.jar:9.0.69] + at java.lang.Thread.run(Thread.java:748) [na:1.8.0_131] + +2024-09-22 18:52:03.641 INFO 74620 --- [http-nio-8080-exec-9] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 18:52:08.917 ERROR 74620 --- [http-nio-8080-exec-10] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.jdbc.BadSqlGrammarException: +### Error updating database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1 +### The error may exist in top/weiyuexin/mapper/UserMapper.java (best guess) +### The error may involve top.weiyuexin.mapper.UserMapper.updateById-Inline +### The error occurred while setting parameters +### SQL: UPDATE user WHERE id=? +### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1 +; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1] with root cause + +java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1 + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.alibaba.druid.pool.DruidPooledPreparedStatement.execute(DruidPooledPreparedStatement.java:497) ~[druid-1.1.21.jar:1.1.21] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.apache.ibatis.logging.jdbc.PreparedStatementLogger.invoke(PreparedStatementLogger.java:59) ~[mybatis-3.5.10.jar:3.5.10] + at com.sun.proxy.$Proxy117.execute(Unknown Source) ~[na:na] + at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:47) ~[mybatis-3.5.10.jar:3.5.10] + at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:74) ~[mybatis-3.5.10.jar:3.5.10] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:64) ~[mybatis-3.5.10.jar:3.5.10] + at com.sun.proxy.$Proxy115.update(Unknown Source) ~[na:na] + at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:50) ~[mybatis-3.5.10.jar:3.5.10] + at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117) ~[mybatis-3.5.10.jar:3.5.10] + at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76) ~[mybatis-3.5.10.jar:3.5.10] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:49) ~[mybatis-3.5.10.jar:3.5.10] + at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:106) ~[mybatis-plus-extension-3.5.2.jar:3.5.2] + at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62) ~[mybatis-3.5.10.jar:3.5.10] + at com.sun.proxy.$Proxy114.update(Unknown Source) ~[na:na] + at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:194) ~[mybatis-3.5.10.jar:3.5.10] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427) ~[mybatis-spring-2.0.7.jar:2.0.7] + at com.sun.proxy.$Proxy78.update(Unknown Source) ~[na:na] + at org.mybatis.spring.SqlSessionTemplate.update(SqlSessionTemplate.java:288) ~[mybatis-spring-2.0.7.jar:2.0.7] + at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:64) ~[mybatis-plus-core-3.5.2.jar:3.5.2] + at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148) ~[mybatis-plus-core-3.5.2.jar:3.5.2] + at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) ~[mybatis-plus-core-3.5.2.jar:3.5.2] + at com.sun.proxy.$Proxy80.updateById(Unknown Source) ~[na:na] + at com.baomidou.mybatisplus.extension.service.IService.updateById(IService.java:239) ~[mybatis-plus-extension-3.5.2.jar:3.5.2] + at com.baomidou.mybatisplus.extension.service.IService$$FastClassBySpringCGLIB$$f8525d18.invoke() ~[mybatis-plus-extension-3.5.2.jar:3.5.2] + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.24.jar:5.3.24] + at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386) ~[spring-aop-5.3.24.jar:5.3.24] + at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85) ~[spring-aop-5.3.24.jar:5.3.24] + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:704) ~[spring-aop-5.3.24.jar:5.3.24] + at top.weiyuexin.service.impl.UserServiceImpl$$EnhancerBySpringCGLIB$$fc94650d.updateById() ~[classes/:na] + at top.weiyuexin.controller.UserController.updateUser(UserController.java:182) ~[classes/:na] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1071) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:964) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.FrameworkServlet.doPut(FrameworkServlet.java:920) ~[spring-webmvc-5.3.24.jar:5.3.24] + at javax.servlet.http.HttpServlet.service(HttpServlet.java:699) ~[tomcat-embed-core-9.0.69.jar:4.0.FR] + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) ~[spring-webmvc-5.3.24.jar:5.3.24] + at javax.servlet.http.HttpServlet.service(HttpServlet.java:779) ~[tomcat-embed-core-9.0.69.jar:4.0.FR] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) ~[tomcat-embed-websocket-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at com.github.xiaoymin.knife4j.spring.filter.SecurityBasicAuthFilter.doFilter(SecurityBasicAuthFilter.java:98) ~[knife4j-openapi2-spring-boot-starter-4.0.0.jar:na] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:177) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:891) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1784) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.69.jar:9.0.69] + at java.lang.Thread.run(Thread.java:748) [na:1.8.0_131] + +2024-09-22 18:52:33.313 INFO 74620 --- [http-nio-8080-exec-1] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 18:52:37.438 WARN 74620 --- [http-nio-8080-exec-2] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpMediaTypeNotSupportedException: Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported] +2024-09-22 18:53:11.319 WARN 74620 --- [http-nio-8080-exec-3] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpMediaTypeNotSupportedException: Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported] +2024-09-22 18:53:32.849 WARN 74620 --- [http-nio-8080-exec-7] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpMediaTypeNotSupportedException: Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported] +2024-09-22 18:54:39.349 INFO 74620 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 18:54:39.355 INFO 74620 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 18:54:43.971 INFO 72852 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 72852 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 18:54:43.972 INFO 72852 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 18:54:44.002 INFO 72852 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 18:54:44.003 INFO 72852 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 18:54:44.551 INFO 72852 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 18:54:44.553 INFO 72852 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 18:54:44.568 INFO 72852 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. +2024-09-22 18:54:44.993 INFO 72852 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 18:54:44.999 INFO 72852 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 18:54:44.999 INFO 72852 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 18:54:45.058 INFO 72852 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 18:54:45.058 INFO 72852 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1055 ms +2024-09-22 18:54:45.195 INFO 72852 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 18:54:45.242 INFO 72852 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 18:54:46.459 INFO 72852 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 18:54:46.471 INFO 72852 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 18:54:46.529 INFO 72852 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 18:54:46.685 INFO 72852 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 18:54:46.686 INFO 72852 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 18:54:46.687 INFO 72852 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 18:54:46.709 INFO 72852 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 18:54:46.792 INFO 72852 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 18:54:46.797 INFO 72852 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 18:54:46.803 INFO 72852 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 18:54:46.806 INFO 72852 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 18:54:46.813 INFO 72852 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 18:54:46.817 INFO 72852 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 18:54:46.824 INFO 72852 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 18:54:46.825 INFO 72852 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 18:54:46.827 INFO 72852 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 18:54:46.829 INFO 72852 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 18:54:46.831 INFO 72852 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 18:54:46.843 INFO 72852 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.171 seconds (JVM running for 3.989) +2024-09-22 18:56:31.082 INFO 72852 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 18:56:31.082 INFO 72852 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 18:56:31.084 INFO 72852 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms +2024-09-22 18:56:31.261 ERROR 72852 --- [http-nio-8080-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.jdbc.BadSqlGrammarException: +### Error updating database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1 +### The error may exist in top/weiyuexin/mapper/UserMapper.java (best guess) +### The error may involve top.weiyuexin.mapper.UserMapper.updateById-Inline +### The error occurred while setting parameters +### SQL: UPDATE user WHERE id=? +### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1 +; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1] with root cause + +java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1 + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.alibaba.druid.pool.DruidPooledPreparedStatement.execute(DruidPooledPreparedStatement.java:497) ~[druid-1.1.21.jar:1.1.21] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.apache.ibatis.logging.jdbc.PreparedStatementLogger.invoke(PreparedStatementLogger.java:59) ~[mybatis-3.5.10.jar:3.5.10] + at com.sun.proxy.$Proxy116.execute(Unknown Source) ~[na:na] + at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:47) ~[mybatis-3.5.10.jar:3.5.10] + at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:74) ~[mybatis-3.5.10.jar:3.5.10] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:64) ~[mybatis-3.5.10.jar:3.5.10] + at com.sun.proxy.$Proxy114.update(Unknown Source) ~[na:na] + at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:50) ~[mybatis-3.5.10.jar:3.5.10] + at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117) ~[mybatis-3.5.10.jar:3.5.10] + at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76) ~[mybatis-3.5.10.jar:3.5.10] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:49) ~[mybatis-3.5.10.jar:3.5.10] + at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:106) ~[mybatis-plus-extension-3.5.2.jar:3.5.2] + at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62) ~[mybatis-3.5.10.jar:3.5.10] + at com.sun.proxy.$Proxy113.update(Unknown Source) ~[na:na] + at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:194) ~[mybatis-3.5.10.jar:3.5.10] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427) ~[mybatis-spring-2.0.7.jar:2.0.7] + at com.sun.proxy.$Proxy78.update(Unknown Source) ~[na:na] + at org.mybatis.spring.SqlSessionTemplate.update(SqlSessionTemplate.java:288) ~[mybatis-spring-2.0.7.jar:2.0.7] + at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:64) ~[mybatis-plus-core-3.5.2.jar:3.5.2] + at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148) ~[mybatis-plus-core-3.5.2.jar:3.5.2] + at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) ~[mybatis-plus-core-3.5.2.jar:3.5.2] + at com.sun.proxy.$Proxy80.updateById(Unknown Source) ~[na:na] + at com.baomidou.mybatisplus.extension.service.IService.updateById(IService.java:239) ~[mybatis-plus-extension-3.5.2.jar:3.5.2] + at com.baomidou.mybatisplus.extension.service.IService$$FastClassBySpringCGLIB$$f8525d18.invoke() ~[mybatis-plus-extension-3.5.2.jar:3.5.2] + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.24.jar:5.3.24] + at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386) ~[spring-aop-5.3.24.jar:5.3.24] + at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85) ~[spring-aop-5.3.24.jar:5.3.24] + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:704) ~[spring-aop-5.3.24.jar:5.3.24] + at top.weiyuexin.service.impl.UserServiceImpl$$EnhancerBySpringCGLIB$$ab8fb014.updateById() ~[classes/:na] + at top.weiyuexin.controller.UserController.updateUser(UserController.java:182) ~[classes/:na] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1071) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:964) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.FrameworkServlet.doPut(FrameworkServlet.java:920) ~[spring-webmvc-5.3.24.jar:5.3.24] + at javax.servlet.http.HttpServlet.service(HttpServlet.java:699) ~[tomcat-embed-core-9.0.69.jar:4.0.FR] + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) ~[spring-webmvc-5.3.24.jar:5.3.24] + at javax.servlet.http.HttpServlet.service(HttpServlet.java:779) ~[tomcat-embed-core-9.0.69.jar:4.0.FR] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) ~[tomcat-embed-websocket-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at com.github.xiaoymin.knife4j.spring.filter.SecurityBasicAuthFilter.doFilter(SecurityBasicAuthFilter.java:98) ~[knife4j-openapi2-spring-boot-starter-4.0.0.jar:na] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:90) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:177) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:891) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1784) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.69.jar:9.0.69] + at java.lang.Thread.run(Thread.java:748) [na:1.8.0_131] + +2024-09-22 18:57:53.440 INFO 72852 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 18:57:53.446 INFO 72852 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 18:57:58.878 INFO 71716 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 71716 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 18:57:58.880 INFO 71716 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 18:57:58.918 INFO 71716 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 18:57:58.918 INFO 71716 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 18:57:59.514 INFO 71716 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 18:57:59.515 INFO 71716 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 18:57:59.532 INFO 71716 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. +2024-09-22 18:58:00.025 INFO 71716 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 18:58:00.031 INFO 71716 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 18:58:00.032 INFO 71716 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 18:58:00.102 INFO 71716 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 18:58:00.102 INFO 71716 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1183 ms +2024-09-22 18:58:00.317 INFO 71716 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 18:58:00.372 INFO 71716 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 18:58:01.600 INFO 71716 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 18:58:01.612 INFO 71716 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 18:58:01.666 INFO 71716 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 18:58:01.818 INFO 71716 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 18:58:01.819 INFO 71716 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 18:58:01.821 INFO 71716 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 18:58:01.842 INFO 71716 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 18:58:01.916 INFO 71716 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 18:58:01.919 INFO 71716 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 18:58:01.926 INFO 71716 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 18:58:01.929 INFO 71716 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 18:58:01.936 INFO 71716 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 18:58:01.939 INFO 71716 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 18:58:01.948 INFO 71716 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 18:58:01.949 INFO 71716 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 18:58:01.952 INFO 71716 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 18:58:01.954 INFO 71716 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 18:58:01.958 INFO 71716 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 18:58:01.969 INFO 71716 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.52 seconds (JVM running for 4.634) +2024-09-22 18:58:08.449 INFO 71716 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 18:58:08.449 INFO 71716 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 18:58:08.449 INFO 71716 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 0 ms +2024-09-22 18:58:53.302 ERROR 71716 --- [http-nio-8080-exec-2] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.jdbc.BadSqlGrammarException: +### Error updating database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1 +### The error may exist in top/weiyuexin/mapper/UserMapper.java (best guess) +### The error may involve top.weiyuexin.mapper.UserMapper.updateById-Inline +### The error occurred while setting parameters +### SQL: UPDATE user WHERE id=? +### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1 +; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1] with root cause + +java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1 + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.alibaba.druid.pool.DruidPooledPreparedStatement.execute(DruidPooledPreparedStatement.java:497) ~[druid-1.1.21.jar:1.1.21] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.apache.ibatis.logging.jdbc.PreparedStatementLogger.invoke(PreparedStatementLogger.java:59) ~[mybatis-3.5.10.jar:3.5.10] + at com.sun.proxy.$Proxy117.execute(Unknown Source) ~[na:na] + at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:47) ~[mybatis-3.5.10.jar:3.5.10] + at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:74) ~[mybatis-3.5.10.jar:3.5.10] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:64) ~[mybatis-3.5.10.jar:3.5.10] + at com.sun.proxy.$Proxy115.update(Unknown Source) ~[na:na] + at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:50) ~[mybatis-3.5.10.jar:3.5.10] + at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117) ~[mybatis-3.5.10.jar:3.5.10] + at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76) ~[mybatis-3.5.10.jar:3.5.10] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:49) ~[mybatis-3.5.10.jar:3.5.10] + at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:106) ~[mybatis-plus-extension-3.5.2.jar:3.5.2] + at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62) ~[mybatis-3.5.10.jar:3.5.10] + at com.sun.proxy.$Proxy114.update(Unknown Source) ~[na:na] + at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:194) ~[mybatis-3.5.10.jar:3.5.10] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427) ~[mybatis-spring-2.0.7.jar:2.0.7] + at com.sun.proxy.$Proxy78.update(Unknown Source) ~[na:na] + at org.mybatis.spring.SqlSessionTemplate.update(SqlSessionTemplate.java:288) ~[mybatis-spring-2.0.7.jar:2.0.7] + at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:64) ~[mybatis-plus-core-3.5.2.jar:3.5.2] + at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148) ~[mybatis-plus-core-3.5.2.jar:3.5.2] + at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) ~[mybatis-plus-core-3.5.2.jar:3.5.2] + at com.sun.proxy.$Proxy80.updateById(Unknown Source) ~[na:na] + at com.baomidou.mybatisplus.extension.service.IService.updateById(IService.java:239) ~[mybatis-plus-extension-3.5.2.jar:3.5.2] + at com.baomidou.mybatisplus.extension.service.IService$$FastClassBySpringCGLIB$$f8525d18.invoke() ~[mybatis-plus-extension-3.5.2.jar:3.5.2] + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.24.jar:5.3.24] + at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386) ~[spring-aop-5.3.24.jar:5.3.24] + at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85) ~[spring-aop-5.3.24.jar:5.3.24] + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:704) ~[spring-aop-5.3.24.jar:5.3.24] + at top.weiyuexin.service.impl.UserServiceImpl$$EnhancerBySpringCGLIB$$281d9f6d.updateById() ~[classes/:na] + at top.weiyuexin.controller.UserController.updateUser(UserController.java:182) ~[classes/:na] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1071) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:964) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.FrameworkServlet.doPut(FrameworkServlet.java:920) ~[spring-webmvc-5.3.24.jar:5.3.24] + at javax.servlet.http.HttpServlet.service(HttpServlet.java:699) ~[tomcat-embed-core-9.0.69.jar:4.0.FR] + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) ~[spring-webmvc-5.3.24.jar:5.3.24] + at javax.servlet.http.HttpServlet.service(HttpServlet.java:779) ~[tomcat-embed-core-9.0.69.jar:4.0.FR] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) ~[tomcat-embed-websocket-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at com.github.xiaoymin.knife4j.spring.filter.SecurityBasicAuthFilter.doFilter(SecurityBasicAuthFilter.java:98) ~[knife4j-openapi2-spring-boot-starter-4.0.0.jar:na] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:177) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:891) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1784) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.69.jar:9.0.69] + at java.lang.Thread.run(Thread.java:748) [na:1.8.0_131] + +2024-09-22 18:59:08.299 INFO 71716 --- [http-nio-8080-exec-4] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 18:59:12.358 ERROR 71716 --- [http-nio-8080-exec-5] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.jdbc.BadSqlGrammarException: +### Error updating database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1 +### The error may exist in top/weiyuexin/mapper/UserMapper.java (best guess) +### The error may involve top.weiyuexin.mapper.UserMapper.updateById-Inline +### The error occurred while setting parameters +### SQL: UPDATE user WHERE id=? +### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1 +; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1] with root cause + +java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1 + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.alibaba.druid.pool.DruidPooledPreparedStatement.execute(DruidPooledPreparedStatement.java:497) ~[druid-1.1.21.jar:1.1.21] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.apache.ibatis.logging.jdbc.PreparedStatementLogger.invoke(PreparedStatementLogger.java:59) ~[mybatis-3.5.10.jar:3.5.10] + at com.sun.proxy.$Proxy117.execute(Unknown Source) ~[na:na] + at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:47) ~[mybatis-3.5.10.jar:3.5.10] + at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:74) ~[mybatis-3.5.10.jar:3.5.10] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:64) ~[mybatis-3.5.10.jar:3.5.10] + at com.sun.proxy.$Proxy115.update(Unknown Source) ~[na:na] + at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:50) ~[mybatis-3.5.10.jar:3.5.10] + at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117) ~[mybatis-3.5.10.jar:3.5.10] + at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76) ~[mybatis-3.5.10.jar:3.5.10] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:49) ~[mybatis-3.5.10.jar:3.5.10] + at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:106) ~[mybatis-plus-extension-3.5.2.jar:3.5.2] + at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62) ~[mybatis-3.5.10.jar:3.5.10] + at com.sun.proxy.$Proxy114.update(Unknown Source) ~[na:na] + at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:194) ~[mybatis-3.5.10.jar:3.5.10] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427) ~[mybatis-spring-2.0.7.jar:2.0.7] + at com.sun.proxy.$Proxy78.update(Unknown Source) ~[na:na] + at org.mybatis.spring.SqlSessionTemplate.update(SqlSessionTemplate.java:288) ~[mybatis-spring-2.0.7.jar:2.0.7] + at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:64) ~[mybatis-plus-core-3.5.2.jar:3.5.2] + at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148) ~[mybatis-plus-core-3.5.2.jar:3.5.2] + at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) ~[mybatis-plus-core-3.5.2.jar:3.5.2] + at com.sun.proxy.$Proxy80.updateById(Unknown Source) ~[na:na] + at com.baomidou.mybatisplus.extension.service.IService.updateById(IService.java:239) ~[mybatis-plus-extension-3.5.2.jar:3.5.2] + at com.baomidou.mybatisplus.extension.service.IService$$FastClassBySpringCGLIB$$f8525d18.invoke() ~[mybatis-plus-extension-3.5.2.jar:3.5.2] + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.24.jar:5.3.24] + at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386) ~[spring-aop-5.3.24.jar:5.3.24] + at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85) ~[spring-aop-5.3.24.jar:5.3.24] + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:704) ~[spring-aop-5.3.24.jar:5.3.24] + at top.weiyuexin.service.impl.UserServiceImpl$$EnhancerBySpringCGLIB$$281d9f6d.updateById() ~[classes/:na] + at top.weiyuexin.controller.UserController.updateUser(UserController.java:182) ~[classes/:na] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1071) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:964) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.FrameworkServlet.doPut(FrameworkServlet.java:920) ~[spring-webmvc-5.3.24.jar:5.3.24] + at javax.servlet.http.HttpServlet.service(HttpServlet.java:699) ~[tomcat-embed-core-9.0.69.jar:4.0.FR] + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) ~[spring-webmvc-5.3.24.jar:5.3.24] + at javax.servlet.http.HttpServlet.service(HttpServlet.java:779) ~[tomcat-embed-core-9.0.69.jar:4.0.FR] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) ~[tomcat-embed-websocket-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at com.github.xiaoymin.knife4j.spring.filter.SecurityBasicAuthFilter.doFilter(SecurityBasicAuthFilter.java:98) ~[knife4j-openapi2-spring-boot-starter-4.0.0.jar:na] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:177) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:891) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1784) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.69.jar:9.0.69] + at java.lang.Thread.run(Thread.java:748) [na:1.8.0_131] + +2024-09-22 19:00:05.298 INFO 71716 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 19:00:05.302 INFO 71716 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 19:00:09.359 INFO 65548 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 65548 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 19:00:09.361 INFO 65548 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 19:00:09.387 INFO 65548 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 19:00:09.388 INFO 65548 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 19:00:09.916 INFO 65548 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 19:00:09.917 INFO 65548 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 19:00:09.933 INFO 65548 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. +2024-09-22 19:00:10.355 INFO 65548 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 19:00:10.360 INFO 65548 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 19:00:10.360 INFO 65548 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 19:00:10.414 INFO 65548 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 19:00:10.414 INFO 65548 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1026 ms +2024-09-22 19:00:10.567 INFO 65548 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 19:00:10.614 INFO 65548 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 19:00:11.796 INFO 65548 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 19:00:11.807 INFO 65548 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 19:00:11.870 INFO 65548 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 19:00:12.074 INFO 65548 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 19:00:12.076 INFO 65548 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 19:00:12.078 INFO 65548 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 19:00:12.103 INFO 65548 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 19:00:12.184 INFO 65548 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 19:00:12.188 INFO 65548 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 19:00:12.195 INFO 65548 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 19:00:12.196 INFO 65548 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 19:00:12.204 INFO 65548 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 19:00:12.207 INFO 65548 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 19:00:12.214 INFO 65548 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 19:00:12.216 INFO 65548 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 19:00:12.219 INFO 65548 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 19:00:12.220 INFO 65548 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 19:00:12.223 INFO 65548 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 19:00:12.235 INFO 65548 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.153 seconds (JVM running for 3.955) +2024-09-22 19:00:13.701 INFO 65548 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 19:00:13.701 INFO 65548 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 19:00:13.702 INFO 65548 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-09-22 19:00:13.874 ERROR 65548 --- [http-nio-8080-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.jdbc.BadSqlGrammarException: +### Error updating database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1 +### The error may exist in top/weiyuexin/mapper/UserMapper.java (best guess) +### The error may involve top.weiyuexin.mapper.UserMapper.updateById-Inline +### The error occurred while setting parameters +### SQL: UPDATE user WHERE id=? +### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1 +; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1] with root cause + +java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=null' at line 1 + at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354) ~[mysql-connector-j-8.0.31.jar:8.0.31] + at com.alibaba.druid.pool.DruidPooledPreparedStatement.execute(DruidPooledPreparedStatement.java:497) ~[druid-1.1.21.jar:1.1.21] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.apache.ibatis.logging.jdbc.PreparedStatementLogger.invoke(PreparedStatementLogger.java:59) ~[mybatis-3.5.10.jar:3.5.10] + at com.sun.proxy.$Proxy116.execute(Unknown Source) ~[na:na] + at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:47) ~[mybatis-3.5.10.jar:3.5.10] + at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:74) ~[mybatis-3.5.10.jar:3.5.10] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:64) ~[mybatis-3.5.10.jar:3.5.10] + at com.sun.proxy.$Proxy114.update(Unknown Source) ~[na:na] + at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:50) ~[mybatis-3.5.10.jar:3.5.10] + at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117) ~[mybatis-3.5.10.jar:3.5.10] + at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76) ~[mybatis-3.5.10.jar:3.5.10] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:49) ~[mybatis-3.5.10.jar:3.5.10] + at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:106) ~[mybatis-plus-extension-3.5.2.jar:3.5.2] + at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62) ~[mybatis-3.5.10.jar:3.5.10] + at com.sun.proxy.$Proxy113.update(Unknown Source) ~[na:na] + at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:194) ~[mybatis-3.5.10.jar:3.5.10] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427) ~[mybatis-spring-2.0.7.jar:2.0.7] + at com.sun.proxy.$Proxy78.update(Unknown Source) ~[na:na] + at org.mybatis.spring.SqlSessionTemplate.update(SqlSessionTemplate.java:288) ~[mybatis-spring-2.0.7.jar:2.0.7] + at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:64) ~[mybatis-plus-core-3.5.2.jar:3.5.2] + at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148) ~[mybatis-plus-core-3.5.2.jar:3.5.2] + at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) ~[mybatis-plus-core-3.5.2.jar:3.5.2] + at com.sun.proxy.$Proxy80.updateById(Unknown Source) ~[na:na] + at com.baomidou.mybatisplus.extension.service.IService.updateById(IService.java:239) ~[mybatis-plus-extension-3.5.2.jar:3.5.2] + at com.baomidou.mybatisplus.extension.service.IService$$FastClassBySpringCGLIB$$f8525d18.invoke() ~[mybatis-plus-extension-3.5.2.jar:3.5.2] + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.24.jar:5.3.24] + at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386) ~[spring-aop-5.3.24.jar:5.3.24] + at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85) ~[spring-aop-5.3.24.jar:5.3.24] + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:704) ~[spring-aop-5.3.24.jar:5.3.24] + at top.weiyuexin.service.impl.UserServiceImpl$$EnhancerBySpringCGLIB$$3fb6cd2b.updateById() ~[classes/:na] + at top.weiyuexin.controller.UserController.updateUser(UserController.java:182) ~[classes/:na] + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] + at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1071) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:964) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) ~[spring-webmvc-5.3.24.jar:5.3.24] + at org.springframework.web.servlet.FrameworkServlet.doPut(FrameworkServlet.java:920) ~[spring-webmvc-5.3.24.jar:5.3.24] + at javax.servlet.http.HttpServlet.service(HttpServlet.java:699) ~[tomcat-embed-core-9.0.69.jar:4.0.FR] + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) ~[spring-webmvc-5.3.24.jar:5.3.24] + at javax.servlet.http.HttpServlet.service(HttpServlet.java:779) ~[tomcat-embed-core-9.0.69.jar:4.0.FR] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) ~[tomcat-embed-websocket-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at com.github.xiaoymin.knife4j.spring.filter.SecurityBasicAuthFilter.doFilter(SecurityBasicAuthFilter.java:98) ~[knife4j-openapi2-spring-boot-starter-4.0.0.jar:na] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-5.3.24.jar:5.3.24] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:177) ~[tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:891) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1784) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) [tomcat-embed-core-9.0.69.jar:9.0.69] + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.69.jar:9.0.69] + at java.lang.Thread.run(Thread.java:748) [na:1.8.0_131] + +2024-09-22 19:31:47.137 INFO 65548 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 19:31:47.138 INFO 65548 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 19:31:51.382 INFO 65736 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 65736 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 19:31:51.383 INFO 65736 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 19:31:51.415 INFO 65736 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 19:31:51.415 INFO 65736 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 19:31:52.240 INFO 65736 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 19:31:52.242 INFO 65736 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 19:31:52.261 INFO 65736 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 8 ms. Found 0 Redis repository interfaces. +2024-09-22 19:31:52.685 INFO 65736 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 19:31:52.690 INFO 65736 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 19:31:52.690 INFO 65736 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 19:31:52.746 INFO 65736 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 19:31:52.747 INFO 65736 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1332 ms +2024-09-22 19:31:52.866 INFO 65736 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 19:31:52.911 INFO 65736 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 19:31:54.077 INFO 65736 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 19:31:54.092 INFO 65736 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 19:31:54.151 INFO 65736 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 19:31:54.306 INFO 65736 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 19:31:54.306 INFO 65736 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 19:31:54.307 INFO 65736 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 19:31:54.330 INFO 65736 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 19:31:54.410 INFO 65736 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 19:31:54.417 INFO 65736 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 19:31:54.424 INFO 65736 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 19:31:54.427 INFO 65736 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 19:31:54.438 INFO 65736 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 19:31:54.443 INFO 65736 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 19:31:54.452 INFO 65736 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 19:31:54.454 INFO 65736 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 19:31:54.457 INFO 65736 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 19:31:54.458 INFO 65736 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 19:31:54.463 INFO 65736 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 19:31:54.477 INFO 65736 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.409 seconds (JVM running for 4.286) +2024-09-22 19:32:03.556 INFO 65736 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 19:32:03.556 INFO 65736 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 19:32:03.557 INFO 65736 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-09-22 19:32:32.319 INFO 65736 --- [http-nio-8080-exec-3] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 19:33:28.916 INFO 65736 --- [http-nio-8080-exec-5] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 19:35:28.154 INFO 65736 --- [http-nio-8080-exec-9] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 19:35:33.143 INFO 65736 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 19:35:33.147 INFO 65736 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 19:35:37.182 INFO 74184 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 74184 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 19:35:37.183 INFO 74184 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 19:35:37.214 INFO 74184 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 19:35:37.214 INFO 74184 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 19:35:37.763 INFO 74184 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 19:35:37.764 INFO 74184 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 19:35:37.779 INFO 74184 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. +2024-09-22 19:35:38.228 INFO 74184 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 19:35:38.233 INFO 74184 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 19:35:38.233 INFO 74184 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 19:35:38.290 INFO 74184 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 19:35:38.290 INFO 74184 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1075 ms +2024-09-22 19:35:38.427 INFO 74184 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 19:35:38.470 INFO 74184 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 19:35:39.609 INFO 74184 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 19:35:39.621 INFO 74184 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 19:35:39.710 INFO 74184 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 19:35:39.884 INFO 74184 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 19:35:39.885 INFO 74184 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 19:35:39.887 INFO 74184 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 19:35:39.911 INFO 74184 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 19:35:40.000 INFO 74184 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 19:35:40.004 INFO 74184 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 19:35:40.010 INFO 74184 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 19:35:40.011 INFO 74184 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 19:35:40.019 INFO 74184 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 19:35:40.022 INFO 74184 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 19:35:40.027 INFO 74184 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 19:35:40.029 INFO 74184 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 19:35:40.031 INFO 74184 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 19:35:40.032 INFO 74184 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 19:35:40.037 INFO 74184 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 19:35:40.046 INFO 74184 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.14 seconds (JVM running for 3.959) +2024-09-22 19:36:50.384 INFO 74184 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 19:36:50.384 INFO 74184 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 19:36:50.385 INFO 74184 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-09-22 19:37:40.195 INFO 74184 --- [http-nio-8080-exec-4] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 19:38:36.464 INFO 74184 --- [http-nio-8080-exec-6] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 19:38:42.719 INFO 74184 --- [http-nio-8080-exec-8] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 19:39:45.673 INFO 74184 --- [http-nio-8080-exec-9] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 19:39:58.289 INFO 74184 --- [http-nio-8080-exec-10] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 19:40:24.068 INFO 74184 --- [http-nio-8080-exec-2] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 19:40:52.925 INFO 74184 --- [http-nio-8080-exec-3] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 19:42:05.211 INFO 74184 --- [http-nio-8080-exec-4] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 19:42:11.452 INFO 74184 --- [http-nio-8080-exec-5] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 19:44:39.021 INFO 74184 --- [http-nio-8080-exec-6] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 19:46:01.427 INFO 74184 --- [http-nio-8080-exec-7] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 19:46:08.673 INFO 74184 --- [http-nio-8080-exec-10] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 19:46:17.412 INFO 74184 --- [http-nio-8080-exec-1] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 19:46:46.623 INFO 74184 --- [http-nio-8080-exec-2] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 19:47:01.012 INFO 74184 --- [http-nio-8080-exec-3] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 19:49:04.469 INFO 74184 --- [http-nio-8080-exec-5] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 19:49:10.268 INFO 74184 --- [http-nio-8080-exec-7] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 19:50:54.590 INFO 74184 --- [http-nio-8080-exec-8] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 19:51:03.444 INFO 74184 --- [http-nio-8080-exec-9] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 19:51:45.179 INFO 74184 --- [http-nio-8080-exec-10] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 19:52:51.533 INFO 74184 --- [http-nio-8080-exec-1] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 19:53:19.763 INFO 74184 --- [http-nio-8080-exec-5] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 19:53:24.567 INFO 74184 --- [http-nio-8080-exec-7] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 19:54:35.457 INFO 74184 --- [http-nio-8080-exec-8] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 19:57:46.445 INFO 74184 --- [http-nio-8080-exec-9] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 19:57:58.217 INFO 74184 --- [http-nio-8080-exec-4] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 20:00:28.383 INFO 74184 --- [http-nio-8080-exec-5] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 20:18:35.786 INFO 74184 --- [http-nio-8080-exec-5] top.weiyuexin.controller.UserController : 查询id为2的用户信息。 +2024-09-22 20:53:30.855 INFO 74184 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 20:53:30.857 INFO 74184 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 20:53:35.516 INFO 71704 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 71704 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 20:53:35.518 INFO 71704 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 20:53:35.545 INFO 71704 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 20:53:35.546 INFO 71704 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 20:53:36.091 INFO 71704 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 20:53:36.092 INFO 71704 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 20:53:36.110 INFO 71704 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 9 ms. Found 0 Redis repository interfaces. +2024-09-22 20:53:36.522 INFO 71704 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 20:53:36.527 INFO 71704 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 20:53:36.527 INFO 71704 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 20:53:36.586 INFO 71704 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 20:53:36.587 INFO 71704 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1041 ms +2024-09-22 20:53:36.730 INFO 71704 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 20:53:36.779 INFO 71704 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 20:53:37.956 INFO 71704 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 20:53:37.968 INFO 71704 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 20:53:38.022 INFO 71704 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 20:53:38.185 INFO 71704 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 20:53:38.186 INFO 71704 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 20:53:38.188 INFO 71704 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 20:53:38.210 INFO 71704 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 20:53:38.286 INFO 71704 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 20:53:38.289 INFO 71704 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 20:53:38.295 INFO 71704 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 20:53:38.296 INFO 71704 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 20:53:38.303 INFO 71704 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 20:53:38.307 INFO 71704 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 20:53:38.313 INFO 71704 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 20:53:38.315 INFO 71704 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 20:53:38.317 INFO 71704 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 20:53:38.319 INFO 71704 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 20:53:38.323 INFO 71704 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 20:53:38.334 INFO 71704 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.098 seconds (JVM running for 3.942) +2024-09-22 20:53:54.334 INFO 71704 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 20:53:54.335 INFO 71704 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 20:53:54.335 INFO 71704 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 0 ms +2024-09-22 20:54:18.329 WARN 71704 --- [http-nio-8080-exec-3] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'java.lang.Integer'; nested exception is java.lang.NumberFormatException: For input string: "logout"] +2024-09-22 20:58:00.244 INFO 71704 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 20:58:00.248 INFO 71704 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 20:58:02.738 INFO 73144 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 73144 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 20:58:02.739 INFO 73144 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 20:58:02.765 INFO 73144 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 20:58:02.765 INFO 73144 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 20:58:03.277 INFO 73144 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 20:58:03.278 INFO 73144 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 20:58:03.293 INFO 73144 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. +2024-09-22 20:58:03.696 INFO 73144 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 20:58:03.702 INFO 73144 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 20:58:03.702 INFO 73144 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 20:58:03.758 INFO 73144 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 20:58:03.758 INFO 73144 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 992 ms +2024-09-22 20:58:03.896 INFO 73144 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 20:58:03.942 INFO 73144 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 20:58:05.091 INFO 73144 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 20:58:05.104 INFO 73144 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 20:58:05.161 INFO 73144 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 20:58:05.318 INFO 73144 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 20:58:05.319 INFO 73144 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 20:58:05.321 INFO 73144 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 20:58:05.346 INFO 73144 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 20:58:05.424 INFO 73144 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 20:58:05.428 INFO 73144 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 20:58:05.433 INFO 73144 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 20:58:05.436 INFO 73144 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 20:58:05.445 INFO 73144 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 20:58:05.448 INFO 73144 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 20:58:05.455 INFO 73144 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 20:58:05.456 INFO 73144 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 20:58:05.460 INFO 73144 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 20:58:05.461 INFO 73144 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 20:58:05.465 INFO 73144 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 20:58:05.476 INFO 73144 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.007 seconds (JVM running for 3.887) +2024-09-22 20:58:15.453 INFO 73144 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 20:58:15.453 INFO 73144 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 20:58:15.454 INFO 73144 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-09-22 21:06:19.550 INFO 73144 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 21:06:19.554 INFO 73144 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 21:06:22.075 INFO 17124 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 17124 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 21:06:22.076 INFO 17124 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 21:06:22.102 INFO 17124 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 21:06:22.102 INFO 17124 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 21:06:22.629 INFO 17124 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 21:06:22.630 INFO 17124 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 21:06:22.646 INFO 17124 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 8 ms. Found 0 Redis repository interfaces. +2024-09-22 21:06:23.060 INFO 17124 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 21:06:23.066 INFO 17124 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 21:06:23.067 INFO 17124 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 21:06:23.121 INFO 17124 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 21:06:23.122 INFO 17124 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1019 ms +2024-09-22 21:06:23.283 INFO 17124 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 21:06:23.329 INFO 17124 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 21:06:24.486 INFO 17124 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 21:06:24.498 INFO 17124 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 21:06:24.552 INFO 17124 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 21:06:24.704 INFO 17124 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 21:06:24.704 INFO 17124 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 21:06:24.706 INFO 17124 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 21:06:24.728 INFO 17124 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 21:06:24.801 INFO 17124 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 21:06:24.805 INFO 17124 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 21:06:24.810 INFO 17124 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 21:06:24.812 INFO 17124 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 21:06:24.820 INFO 17124 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 21:06:24.823 INFO 17124 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 21:06:24.829 INFO 17124 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 21:06:24.831 INFO 17124 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 21:06:24.833 INFO 17124 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 21:06:24.835 INFO 17124 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 21:06:24.839 INFO 17124 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 21:06:24.850 INFO 17124 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.045 seconds (JVM running for 3.882) +2024-09-22 21:06:27.386 INFO 17124 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 21:06:27.386 INFO 17124 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 21:06:27.388 INFO 17124 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms +2024-09-22 21:19:56.446 INFO 17124 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 21:19:56.452 INFO 17124 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 21:20:00.428 INFO 73352 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 73352 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 21:20:00.429 INFO 73352 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 21:20:00.457 INFO 73352 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 21:20:00.457 INFO 73352 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 21:20:01.042 INFO 73352 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 21:20:01.043 INFO 73352 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 21:20:01.060 INFO 73352 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 8 ms. Found 0 Redis repository interfaces. +2024-09-22 21:20:01.525 INFO 73352 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 21:20:01.530 INFO 73352 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 21:20:01.530 INFO 73352 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 21:20:01.590 INFO 73352 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 21:20:01.590 INFO 73352 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1133 ms +2024-09-22 21:20:01.740 INFO 73352 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 21:20:01.793 INFO 73352 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 21:20:03.081 INFO 73352 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 21:20:03.094 INFO 73352 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 21:20:03.150 INFO 73352 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 21:20:03.318 INFO 73352 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 21:20:03.319 INFO 73352 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 21:20:03.321 INFO 73352 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 21:20:03.346 INFO 73352 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 21:20:03.433 INFO 73352 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 21:20:03.437 INFO 73352 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 21:20:03.446 INFO 73352 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 21:20:03.448 INFO 73352 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 21:20:03.456 INFO 73352 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 21:20:03.459 INFO 73352 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 21:20:03.467 INFO 73352 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 21:20:03.468 INFO 73352 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 21:20:03.471 INFO 73352 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 21:20:03.472 INFO 73352 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 21:20:03.477 INFO 73352 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 21:20:03.488 INFO 73352 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.355 seconds (JVM running for 4.201) +2024-09-22 21:20:55.570 INFO 73352 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 21:20:55.570 INFO 73352 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 21:20:55.572 INFO 73352 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms +2024-09-22 21:21:59.456 INFO 73352 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 21:21:59.461 INFO 73352 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 21:22:03.613 INFO 32836 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 32836 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 21:22:03.616 INFO 32836 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 21:22:03.651 INFO 32836 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 21:22:03.651 INFO 32836 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 21:22:04.249 INFO 32836 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 21:22:04.252 INFO 32836 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 21:22:04.270 INFO 32836 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 8 ms. Found 0 Redis repository interfaces. +2024-09-22 21:22:04.713 INFO 32836 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 21:22:04.725 INFO 32836 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 21:22:04.726 INFO 32836 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 21:22:04.788 INFO 32836 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 21:22:04.788 INFO 32836 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1136 ms +2024-09-22 21:22:04.930 INFO 32836 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 21:22:04.983 INFO 32836 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 21:22:06.277 INFO 32836 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 21:22:06.290 INFO 32836 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 21:22:06.352 INFO 32836 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 21:22:06.518 INFO 32836 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 21:22:06.519 INFO 32836 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 21:22:06.521 INFO 32836 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 21:22:06.545 INFO 32836 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 21:22:06.628 INFO 32836 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 21:22:06.632 INFO 32836 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 21:22:06.637 INFO 32836 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 21:22:06.640 INFO 32836 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 21:22:06.647 INFO 32836 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 21:22:06.652 INFO 32836 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 21:22:06.658 INFO 32836 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 21:22:06.660 INFO 32836 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 21:22:06.663 INFO 32836 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 21:22:06.664 INFO 32836 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 21:22:06.670 INFO 32836 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 21:22:06.685 INFO 32836 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.376 seconds (JVM running for 4.253) +2024-09-22 21:22:09.699 INFO 32836 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 21:22:09.699 INFO 32836 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 21:22:09.700 INFO 32836 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-09-22 21:26:15.835 INFO 32836 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 21:26:15.942 INFO 32836 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 21:26:19.712 INFO 31948 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 31948 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 21:26:19.713 INFO 31948 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 21:26:19.744 INFO 31948 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 21:26:19.744 INFO 31948 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 21:26:20.310 INFO 31948 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 21:26:20.311 INFO 31948 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 21:26:20.328 INFO 31948 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. +2024-09-22 21:26:20.745 INFO 31948 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 21:26:20.750 INFO 31948 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 21:26:20.750 INFO 31948 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 21:26:20.808 INFO 31948 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 21:26:20.809 INFO 31948 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1065 ms +2024-09-22 21:26:20.937 INFO 31948 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 21:26:20.983 INFO 31948 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 21:26:22.197 INFO 31948 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 21:26:22.209 INFO 31948 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 21:26:22.270 INFO 31948 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 21:26:22.436 INFO 31948 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 21:26:22.436 INFO 31948 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 21:26:22.438 INFO 31948 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 21:26:22.464 INFO 31948 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 21:26:22.546 INFO 31948 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 21:26:22.551 INFO 31948 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 21:26:22.557 INFO 31948 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 21:26:22.560 INFO 31948 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 21:26:22.569 INFO 31948 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 21:26:22.573 INFO 31948 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 21:26:22.579 INFO 31948 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 21:26:22.581 INFO 31948 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 21:26:22.584 INFO 31948 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 21:26:22.585 INFO 31948 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 21:26:22.591 INFO 31948 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 21:26:22.603 INFO 31948 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.164 seconds (JVM running for 3.983) +2024-09-22 21:26:34.957 INFO 31948 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 21:26:34.957 INFO 31948 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 21:26:34.958 INFO 31948 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-09-22 21:27:34.094 INFO 31948 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 21:27:34.193 INFO 31948 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 21:27:38.084 INFO 51904 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 51904 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 21:27:38.085 INFO 51904 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 21:27:38.115 INFO 51904 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 21:27:38.116 INFO 51904 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 21:27:38.702 INFO 51904 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 21:27:38.703 INFO 51904 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 21:27:38.719 INFO 51904 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 8 ms. Found 0 Redis repository interfaces. +2024-09-22 21:27:39.235 INFO 51904 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 21:27:39.241 INFO 51904 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 21:27:39.241 INFO 51904 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 21:27:39.300 INFO 51904 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 21:27:39.300 INFO 51904 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1184 ms +2024-09-22 21:27:39.454 INFO 51904 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 21:27:39.506 INFO 51904 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 21:27:40.776 INFO 51904 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 21:27:40.789 INFO 51904 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 21:27:40.852 INFO 51904 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 21:27:41.042 INFO 51904 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 21:27:41.042 INFO 51904 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 21:27:41.044 INFO 51904 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 21:27:41.072 INFO 51904 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 21:27:41.163 INFO 51904 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 21:27:41.181 INFO 51904 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 21:27:41.186 INFO 51904 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 21:27:41.191 INFO 51904 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 21:27:41.201 INFO 51904 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 21:27:41.204 INFO 51904 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 21:27:41.210 INFO 51904 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 21:27:41.212 INFO 51904 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 21:27:41.215 INFO 51904 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 21:27:41.216 INFO 51904 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 21:27:41.219 INFO 51904 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 21:27:41.231 INFO 51904 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.45 seconds (JVM running for 4.327) +2024-09-22 21:27:45.001 INFO 51904 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 21:27:45.001 INFO 51904 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 21:27:45.003 INFO 51904 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms +2024-09-22 21:30:05.038 INFO 51904 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 21:30:05.043 INFO 51904 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 21:30:07.651 INFO 38780 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 38780 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 21:30:07.653 INFO 38780 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 21:30:07.682 INFO 38780 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 21:30:07.682 INFO 38780 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 21:30:08.261 INFO 38780 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 21:30:08.262 INFO 38780 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 21:30:08.277 INFO 38780 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 8 ms. Found 0 Redis repository interfaces. +2024-09-22 21:30:08.732 INFO 38780 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 21:30:08.739 INFO 38780 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 21:30:08.739 INFO 38780 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 21:30:08.798 INFO 38780 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 21:30:08.799 INFO 38780 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1117 ms +2024-09-22 21:30:08.942 INFO 38780 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 21:30:08.994 INFO 38780 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 21:30:10.237 INFO 38780 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 21:30:10.248 INFO 38780 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 21:30:10.304 INFO 38780 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 21:30:10.456 INFO 38780 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 21:30:10.457 INFO 38780 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 21:30:10.458 INFO 38780 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 21:30:10.484 INFO 38780 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 21:30:10.564 INFO 38780 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 21:30:10.568 INFO 38780 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 21:30:10.573 INFO 38780 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 21:30:10.574 INFO 38780 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 21:30:10.582 INFO 38780 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 21:30:10.585 INFO 38780 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 21:30:10.591 INFO 38780 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 21:30:10.593 INFO 38780 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 21:30:10.597 INFO 38780 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 21:30:10.606 INFO 38780 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 21:30:10.609 INFO 38780 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 21:30:10.621 INFO 38780 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.256 seconds (JVM running for 4.171) +2024-09-22 21:30:13.659 INFO 38780 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 21:30:13.659 INFO 38780 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 21:30:13.660 INFO 38780 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-09-22 21:30:25.673 WARN 38780 --- [http-nio-8080-exec-1] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpMediaTypeNotSupportedException: Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported] +2024-09-22 21:30:55.194 WARN 38780 --- [http-nio-8080-exec-2] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpMediaTypeNotSupportedException: Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported] +2024-09-22 21:31:11.420 WARN 38780 --- [http-nio-8080-exec-3] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpMediaTypeNotSupportedException: Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported] +2024-09-22 21:32:13.763 INFO 38780 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 21:32:13.776 INFO 38780 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 21:32:16.531 INFO 46648 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 46648 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 21:32:16.532 INFO 46648 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 21:32:16.565 INFO 46648 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 21:32:16.565 INFO 46648 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 21:32:17.137 INFO 46648 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 21:32:17.138 INFO 46648 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 21:32:17.156 INFO 46648 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 9 ms. Found 0 Redis repository interfaces. +2024-09-22 21:32:17.673 INFO 46648 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 21:32:17.679 INFO 46648 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 21:32:17.679 INFO 46648 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 21:32:17.740 INFO 46648 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 21:32:17.741 INFO 46648 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1176 ms +2024-09-22 21:32:17.932 INFO 46648 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 21:32:17.984 INFO 46648 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 21:32:19.241 INFO 46648 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 21:32:19.253 INFO 46648 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 21:32:19.316 INFO 46648 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 21:32:19.487 INFO 46648 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 21:32:19.488 INFO 46648 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 21:32:19.490 INFO 46648 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 21:32:19.515 INFO 46648 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 21:32:19.608 INFO 46648 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 21:32:19.612 INFO 46648 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 21:32:19.619 INFO 46648 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 21:32:19.621 INFO 46648 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 21:32:19.629 INFO 46648 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 21:32:19.633 INFO 46648 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 21:32:19.640 INFO 46648 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 21:32:19.642 INFO 46648 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 21:32:19.645 INFO 46648 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 21:32:19.646 INFO 46648 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 21:32:19.649 INFO 46648 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 21:32:19.662 INFO 46648 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.432 seconds (JVM running for 4.333) +2024-09-22 21:32:26.885 INFO 46648 --- [http-nio-8080-exec-2] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 21:32:26.885 INFO 46648 --- [http-nio-8080-exec-2] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 21:32:26.886 INFO 46648 --- [http-nio-8080-exec-2] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-09-22 21:32:35.490 WARN 46648 --- [http-nio-8080-exec-7] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpMediaTypeNotSupportedException: Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported] +2024-09-22 21:33:56.105 WARN 46648 --- [http-nio-8080-exec-2] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpMediaTypeNotSupportedException: Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported] +2024-09-22 21:34:53.253 INFO 46648 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 21:34:53.256 INFO 46648 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 21:34:55.834 INFO 59688 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 59688 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 21:34:55.835 INFO 59688 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 21:34:55.862 INFO 59688 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 21:34:55.862 INFO 59688 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 21:34:56.427 INFO 59688 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 21:34:56.428 INFO 59688 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 21:34:56.446 INFO 59688 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 8 ms. Found 0 Redis repository interfaces. +2024-09-22 21:34:56.871 INFO 59688 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 21:34:56.876 INFO 59688 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 21:34:56.877 INFO 59688 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 21:34:56.933 INFO 59688 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 21:34:56.933 INFO 59688 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1071 ms +2024-09-22 21:34:57.065 INFO 59688 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 21:34:57.110 INFO 59688 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 21:34:58.308 INFO 59688 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 21:34:58.320 INFO 59688 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 21:34:58.378 INFO 59688 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 21:34:58.534 INFO 59688 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 21:34:58.535 INFO 59688 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 21:34:58.537 INFO 59688 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 21:34:58.562 INFO 59688 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 21:34:58.571 INFO 59688 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 21:34:58.571 INFO 59688 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 21:34:58.572 INFO 59688 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-09-22 21:34:58.658 INFO 59688 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 21:34:58.662 INFO 59688 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 21:34:58.670 INFO 59688 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 21:34:58.673 INFO 59688 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 21:34:58.684 INFO 59688 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 21:34:58.688 INFO 59688 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 21:34:58.696 INFO 59688 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 21:34:58.698 INFO 59688 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 21:34:58.702 INFO 59688 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 21:34:58.703 INFO 59688 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 21:34:58.706 INFO 59688 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 21:34:58.719 INFO 59688 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.201 seconds (JVM running for 4.079) +2024-09-22 21:35:31.395 WARN 59688 --- [http-nio-8080-exec-2] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpMediaTypeNotSupportedException: Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported] +2024-09-22 21:35:33.435 WARN 59688 --- [http-nio-8080-exec-7] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpMediaTypeNotSupportedException: Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported] +2024-09-22 21:37:47.222 INFO 59688 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 21:37:47.225 INFO 59688 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 21:37:51.137 INFO 70184 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 70184 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 21:37:51.138 INFO 70184 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 21:37:51.166 INFO 70184 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 21:37:51.166 INFO 70184 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 21:37:51.728 INFO 70184 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 21:37:51.729 INFO 70184 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 21:37:51.744 INFO 70184 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. +2024-09-22 21:37:52.220 INFO 70184 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 21:37:52.225 INFO 70184 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 21:37:52.225 INFO 70184 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 21:37:52.286 INFO 70184 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 21:37:52.286 INFO 70184 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1120 ms +2024-09-22 21:37:52.427 INFO 70184 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 21:37:52.479 INFO 70184 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 21:37:53.979 INFO 70184 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 21:37:53.991 INFO 70184 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 21:37:54.049 INFO 70184 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 21:37:54.203 INFO 70184 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 21:37:54.203 INFO 70184 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 21:37:54.205 INFO 70184 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 21:37:54.229 INFO 70184 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 21:37:54.305 INFO 70184 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 21:37:54.309 INFO 70184 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 21:37:54.314 INFO 70184 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 21:37:54.316 INFO 70184 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 21:37:54.324 INFO 70184 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 21:37:54.327 INFO 70184 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 21:37:54.333 INFO 70184 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 21:37:54.335 INFO 70184 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 21:37:54.338 INFO 70184 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 21:37:54.339 INFO 70184 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 21:37:54.343 INFO 70184 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 21:37:54.354 INFO 70184 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.495 seconds (JVM running for 4.367) +2024-09-22 21:38:05.539 INFO 70184 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 21:38:05.539 INFO 70184 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 21:38:05.540 INFO 70184 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-09-22 21:38:41.769 INFO 70184 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 21:38:41.772 INFO 70184 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 21:38:44.367 INFO 72108 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 72108 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 21:38:44.368 INFO 72108 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 21:38:44.400 INFO 72108 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 21:38:44.401 INFO 72108 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 21:38:45.019 INFO 72108 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 21:38:45.021 INFO 72108 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 21:38:45.040 INFO 72108 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 8 ms. Found 0 Redis repository interfaces. +2024-09-22 21:38:45.505 INFO 72108 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 21:38:45.511 INFO 72108 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 21:38:45.512 INFO 72108 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 21:38:45.568 INFO 72108 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 21:38:45.568 INFO 72108 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1166 ms +2024-09-22 21:38:45.705 INFO 72108 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 21:38:45.756 INFO 72108 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 21:38:47.081 INFO 72108 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 21:38:47.095 INFO 72108 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 21:38:47.163 INFO 72108 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 21:38:47.356 INFO 72108 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 21:38:47.357 INFO 72108 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 21:38:47.359 INFO 72108 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 21:38:47.387 INFO 72108 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 21:38:47.482 INFO 72108 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 21:38:47.487 INFO 72108 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 21:38:47.505 INFO 72108 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 21:38:47.507 INFO 72108 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 21:38:47.516 INFO 72108 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 21:38:47.520 INFO 72108 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 21:38:47.527 INFO 72108 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 21:38:47.529 INFO 72108 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 21:38:47.532 INFO 72108 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 21:38:47.533 INFO 72108 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 21:38:47.538 INFO 72108 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 21:38:47.550 INFO 72108 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.49 seconds (JVM running for 4.361) +2024-09-22 21:38:50.404 INFO 72108 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 21:38:50.405 INFO 72108 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 21:38:50.406 INFO 72108 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-09-22 21:39:56.967 INFO 72108 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 21:39:56.972 INFO 72108 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 21:39:59.777 INFO 50012 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 50012 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 21:39:59.778 INFO 50012 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 21:39:59.806 INFO 50012 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 21:39:59.806 INFO 50012 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 21:40:00.391 INFO 50012 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 21:40:00.392 INFO 50012 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 21:40:00.408 INFO 50012 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. +2024-09-22 21:40:00.851 INFO 50012 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 21:40:00.856 INFO 50012 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 21:40:00.856 INFO 50012 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 21:40:00.913 INFO 50012 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 21:40:00.913 INFO 50012 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1107 ms +2024-09-22 21:40:01.049 INFO 50012 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 21:40:01.102 INFO 50012 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 21:40:02.404 INFO 50012 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 21:40:02.416 INFO 50012 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 21:40:02.474 INFO 50012 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 21:40:02.623 INFO 50012 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 21:40:02.624 INFO 50012 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 21:40:02.626 INFO 50012 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 21:40:02.649 INFO 50012 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 21:40:02.723 INFO 50012 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 21:40:02.727 INFO 50012 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 21:40:02.732 INFO 50012 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 21:40:02.734 INFO 50012 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 21:40:02.742 INFO 50012 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 21:40:02.746 INFO 50012 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 21:40:02.753 INFO 50012 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 21:40:02.754 INFO 50012 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 21:40:02.757 INFO 50012 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 21:40:02.758 INFO 50012 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 21:40:02.763 INFO 50012 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 21:40:02.773 INFO 50012 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.274 seconds (JVM running for 4.158) +2024-09-22 21:40:04.049 INFO 50012 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 21:40:04.049 INFO 50012 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 21:40:04.051 INFO 50012 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms +2024-09-22 21:44:07.749 INFO 50012 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 21:44:07.752 INFO 50012 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 21:44:11.628 INFO 34404 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 34404 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 21:44:11.629 INFO 34404 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 21:44:11.658 INFO 34404 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 21:44:11.667 INFO 34404 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 21:44:12.214 INFO 34404 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 21:44:12.217 INFO 34404 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 21:44:12.231 INFO 34404 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. +2024-09-22 21:44:12.651 INFO 34404 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 21:44:12.658 INFO 34404 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 21:44:12.658 INFO 34404 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 21:44:12.712 INFO 34404 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 21:44:12.712 INFO 34404 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1045 ms +2024-09-22 21:44:12.852 INFO 34404 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 21:44:12.907 INFO 34404 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 21:44:14.144 INFO 34404 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 21:44:14.158 INFO 34404 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 21:44:14.226 INFO 34404 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 21:44:14.386 INFO 34404 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 21:44:14.389 INFO 34404 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 21:44:14.390 INFO 34404 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 21:44:14.412 INFO 34404 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 21:44:14.492 INFO 34404 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 21:44:14.496 INFO 34404 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 21:44:14.500 INFO 34404 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 21:44:14.502 INFO 34404 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 21:44:14.512 INFO 34404 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 21:44:14.516 INFO 34404 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 21:44:14.523 INFO 34404 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 21:44:14.524 INFO 34404 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 21:44:14.528 INFO 34404 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 21:44:14.528 INFO 34404 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 21:44:14.534 INFO 34404 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 21:44:14.544 INFO 34404 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.203 seconds (JVM running for 4.049) +2024-09-22 21:44:18.113 INFO 34404 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 21:44:18.113 INFO 34404 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 21:44:18.115 INFO 34404 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms +2024-09-22 21:44:42.146 WARN 34404 --- [http-nio-8080-exec-3] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'java.lang.Integer'; nested exception is java.lang.NumberFormatException: For input string: "logout"] +2024-09-22 21:46:58.198 INFO 34404 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 21:46:58.202 INFO 34404 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 21:47:02.603 INFO 61860 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 61860 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 21:47:02.605 INFO 61860 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 21:47:02.661 INFO 61860 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 21:47:02.662 INFO 61860 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 21:47:03.300 INFO 61860 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 21:47:03.301 INFO 61860 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 21:47:03.316 INFO 61860 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. +2024-09-22 21:47:03.713 INFO 61860 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 21:47:03.718 INFO 61860 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 21:47:03.718 INFO 61860 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 21:47:03.773 INFO 61860 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 21:47:03.773 INFO 61860 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1110 ms +2024-09-22 21:47:03.916 INFO 61860 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 21:47:03.962 INFO 61860 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 21:47:05.166 INFO 61860 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 21:47:05.177 INFO 61860 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 21:47:05.249 INFO 61860 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 21:47:05.410 INFO 61860 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 21:47:05.411 INFO 61860 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 21:47:05.413 INFO 61860 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 21:47:05.437 INFO 61860 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 21:47:05.464 INFO 61860 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 21:47:05.519 INFO 61860 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 21:47:05.523 INFO 61860 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 21:47:05.529 INFO 61860 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 21:47:05.531 INFO 61860 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 21:47:05.543 INFO 61860 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 21:47:05.547 INFO 61860 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 21:47:05.555 INFO 61860 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 21:47:05.556 INFO 61860 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 21:47:05.560 INFO 61860 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 21:47:05.561 INFO 61860 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_2 +2024-09-22 21:47:05.566 INFO 61860 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 21:47:05.578 INFO 61860 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.712 seconds (JVM running for 4.645) +2024-09-22 21:47:05.602 INFO 61860 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 21:47:05.602 INFO 61860 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 21:47:05.603 INFO 61860 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-09-22 21:47:08.794 WARN 61860 --- [http-nio-8080-exec-1] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'java.lang.Integer'; nested exception is java.lang.NumberFormatException: For input string: "logout"] +2024-09-22 21:47:15.440 WARN 61860 --- [http-nio-8080-exec-6] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'java.lang.Integer'; nested exception is java.lang.NumberFormatException: For input string: "logout"] +2024-09-22 21:47:39.650 INFO 61860 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 21:47:39.654 INFO 61860 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 21:47:42.100 INFO 68104 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 68104 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 21:47:42.100 INFO 68104 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 21:47:42.131 INFO 68104 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 21:47:42.131 INFO 68104 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 21:47:42.702 INFO 68104 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 21:47:42.704 INFO 68104 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 21:47:42.720 INFO 68104 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. +2024-09-22 21:47:43.140 INFO 68104 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 21:47:43.145 INFO 68104 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 21:47:43.145 INFO 68104 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 21:47:43.203 INFO 68104 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 21:47:43.203 INFO 68104 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1071 ms +2024-09-22 21:47:43.347 INFO 68104 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 21:47:43.396 INFO 68104 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 21:47:44.543 INFO 68104 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 21:47:44.555 INFO 68104 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 21:47:44.611 INFO 68104 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 21:47:44.785 INFO 68104 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 21:47:44.786 INFO 68104 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 21:47:44.788 INFO 68104 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 21:47:44.811 INFO 68104 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 21:47:44.835 INFO 68104 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 21:47:44.896 INFO 68104 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 21:47:44.899 INFO 68104 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 21:47:44.907 INFO 68104 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 21:47:44.910 INFO 68104 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 21:47:44.918 INFO 68104 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 21:47:44.922 INFO 68104 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 21:47:44.929 INFO 68104 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 21:47:44.932 INFO 68104 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 21:47:44.935 INFO 68104 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 21:47:44.936 INFO 68104 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_2 +2024-09-22 21:47:44.943 INFO 68104 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 21:47:44.954 INFO 68104 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.153 seconds (JVM running for 3.999) +2024-09-22 21:47:48.555 INFO 68104 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 21:47:48.555 INFO 68104 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 21:47:48.556 INFO 68104 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-09-22 21:48:16.398 WARN 68104 --- [http-nio-8080-exec-4] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'java.lang.Integer'; nested exception is java.lang.NumberFormatException: For input string: "logout"] +2024-09-22 21:50:12.857 WARN 68104 --- [http-nio-8080-exec-10] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'java.lang.Integer'; nested exception is java.lang.NumberFormatException: For input string: "logout"] +2024-09-22 21:51:44.637 INFO 68104 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 21:51:44.643 INFO 68104 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 21:51:47.922 INFO 27436 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 27436 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 21:51:47.923 INFO 27436 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 21:51:47.953 INFO 27436 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 21:51:47.953 INFO 27436 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 21:51:48.550 INFO 27436 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 21:51:48.551 INFO 27436 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 21:51:48.567 INFO 27436 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 8 ms. Found 0 Redis repository interfaces. +2024-09-22 21:51:49.024 INFO 27436 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 21:51:49.029 INFO 27436 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 21:51:49.030 INFO 27436 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 21:51:49.099 INFO 27436 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 21:51:49.100 INFO 27436 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1147 ms +2024-09-22 21:51:49.267 INFO 27436 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 21:51:49.319 INFO 27436 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 21:51:50.597 INFO 27436 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 21:51:50.610 INFO 27436 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 21:51:50.679 INFO 27436 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 21:51:50.838 INFO 27436 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 21:51:50.839 INFO 27436 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 21:51:50.841 INFO 27436 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 21:51:50.864 INFO 27436 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 21:51:50.880 INFO 27436 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 21:51:50.880 INFO 27436 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 21:51:50.881 INFO 27436 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-09-22 21:51:50.892 INFO 27436 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 21:51:50.955 INFO 27436 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 21:51:50.960 INFO 27436 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 21:51:50.966 INFO 27436 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 21:51:50.968 INFO 27436 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 21:51:50.976 INFO 27436 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 21:51:50.981 INFO 27436 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 21:51:50.987 INFO 27436 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 21:51:50.989 INFO 27436 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 21:51:50.992 INFO 27436 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 21:51:50.993 INFO 27436 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_2 +2024-09-22 21:51:50.997 INFO 27436 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 21:51:51.011 INFO 27436 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.396 seconds (JVM running for 4.32) +2024-09-22 21:51:55.406 WARN 27436 --- [http-nio-8080-exec-2] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'java.lang.Integer'; nested exception is java.lang.NumberFormatException: For input string: "logout"] +2024-09-22 21:52:12.675 WARN 27436 --- [http-nio-8080-exec-2] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'java.lang.Integer'; nested exception is java.lang.NumberFormatException: For input string: "logout"] +2024-09-22 21:53:42.381 INFO 27436 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 21:53:42.385 INFO 27436 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 21:53:45.311 INFO 69548 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 69548 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 21:53:45.312 INFO 69548 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 21:53:45.336 INFO 69548 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 21:53:45.338 INFO 69548 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 21:53:45.905 INFO 69548 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 21:53:45.906 INFO 69548 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 21:53:45.922 INFO 69548 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 8 ms. Found 0 Redis repository interfaces. +2024-09-22 21:53:46.348 INFO 69548 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 21:53:46.354 INFO 69548 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 21:53:46.354 INFO 69548 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 21:53:46.412 INFO 69548 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 21:53:46.412 INFO 69548 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1074 ms +2024-09-22 21:53:46.559 INFO 69548 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 21:53:46.607 INFO 69548 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 21:53:47.881 INFO 69548 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 21:53:47.894 INFO 69548 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 21:53:47.958 INFO 69548 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 21:53:48.118 INFO 69548 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 21:53:48.119 INFO 69548 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 21:53:48.121 INFO 69548 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 21:53:48.145 INFO 69548 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 21:53:48.170 INFO 69548 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 21:53:48.230 INFO 69548 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 21:53:48.237 INFO 69548 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 21:53:48.243 INFO 69548 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 21:53:48.245 INFO 69548 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 21:53:48.254 INFO 69548 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 21:53:48.257 INFO 69548 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 21:53:48.263 INFO 69548 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 21:53:48.265 INFO 69548 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 21:53:48.268 INFO 69548 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 21:53:48.269 INFO 69548 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_2 +2024-09-22 21:53:48.274 INFO 69548 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 21:53:48.285 INFO 69548 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.249 seconds (JVM running for 4.148) +2024-09-22 21:53:49.799 INFO 69548 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 21:53:49.800 INFO 69548 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 21:53:49.801 INFO 69548 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-09-22 21:54:12.452 INFO 69548 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 21:54:12.457 INFO 69548 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 21:54:15.289 INFO 36428 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 36428 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 21:54:15.290 INFO 36428 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 21:54:15.318 INFO 36428 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 21:54:15.319 INFO 36428 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 21:54:15.848 INFO 36428 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 21:54:15.849 INFO 36428 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 21:54:15.864 INFO 36428 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. +2024-09-22 21:54:16.330 INFO 36428 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 21:54:16.336 INFO 36428 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 21:54:16.336 INFO 36428 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 21:54:16.394 INFO 36428 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 21:54:16.394 INFO 36428 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1075 ms +2024-09-22 21:54:16.525 INFO 36428 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 21:54:16.571 INFO 36428 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 21:54:17.798 INFO 36428 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 21:54:17.811 INFO 36428 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 21:54:17.875 INFO 36428 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 21:54:18.045 INFO 36428 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 21:54:18.046 INFO 36428 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 21:54:18.048 INFO 36428 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 21:54:18.074 INFO 36428 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 21:54:18.102 INFO 36428 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 21:54:18.159 INFO 36428 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 21:54:18.163 INFO 36428 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 21:54:18.169 INFO 36428 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 21:54:18.171 INFO 36428 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 21:54:18.178 INFO 36428 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 21:54:18.183 INFO 36428 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 21:54:18.193 INFO 36428 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 21:54:18.194 INFO 36428 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 21:54:18.199 INFO 36428 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 21:54:18.200 INFO 36428 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_2 +2024-09-22 21:54:18.204 INFO 36428 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 21:54:18.216 INFO 36428 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.225 seconds (JVM running for 4.243) +2024-09-22 21:54:21.043 INFO 36428 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 21:54:21.043 INFO 36428 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 21:54:21.045 INFO 36428 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-09-22 22:15:02.744 INFO 36428 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 22:15:02.747 INFO 36428 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 22:15:06.563 INFO 75428 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 75428 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 22:15:06.564 INFO 75428 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 22:15:06.594 INFO 75428 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 22:15:06.594 INFO 75428 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 22:15:07.149 INFO 75428 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 22:15:07.150 INFO 75428 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 22:15:07.166 INFO 75428 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 8 ms. Found 0 Redis repository interfaces. +2024-09-22 22:15:07.603 INFO 75428 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 22:15:07.609 INFO 75428 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 22:15:07.609 INFO 75428 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 22:15:07.683 INFO 75428 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 22:15:07.683 INFO 75428 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1088 ms +2024-09-22 22:15:07.824 INFO 75428 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 22:15:07.870 INFO 75428 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 22:15:09.111 INFO 75428 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 22:15:09.122 INFO 75428 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 22:15:09.179 INFO 75428 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 22:15:09.325 INFO 75428 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 22:15:09.326 INFO 75428 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 22:15:09.328 INFO 75428 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 22:15:09.351 INFO 75428 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 22:15:09.373 INFO 75428 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 22:15:09.422 INFO 75428 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 22:15:09.427 INFO 75428 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 22:15:09.433 INFO 75428 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 22:15:09.434 INFO 75428 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 22:15:09.441 INFO 75428 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 22:15:09.445 INFO 75428 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 22:15:09.451 INFO 75428 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 22:15:09.452 INFO 75428 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 22:15:09.455 INFO 75428 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 22:15:09.456 INFO 75428 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_2 +2024-09-22 22:15:09.461 INFO 75428 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 22:15:09.473 INFO 75428 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.204 seconds (JVM running for 4.055) +2024-09-22 22:15:14.775 INFO 75428 --- [http-nio-8080-exec-2] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 22:15:14.776 INFO 75428 --- [http-nio-8080-exec-2] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 22:15:14.777 INFO 75428 --- [http-nio-8080-exec-2] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-09-22 22:17:10.195 INFO 75428 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 22:17:10.199 INFO 75428 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 22:17:13.722 INFO 74308 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 74308 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 22:17:13.724 INFO 74308 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 22:17:13.752 INFO 74308 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 22:17:13.752 INFO 74308 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 22:17:14.268 INFO 74308 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 22:17:14.269 INFO 74308 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 22:17:14.285 INFO 74308 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 8 ms. Found 0 Redis repository interfaces. +2024-09-22 22:17:14.687 INFO 74308 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 22:17:14.693 INFO 74308 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 22:17:14.693 INFO 74308 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 22:17:14.748 INFO 74308 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 22:17:14.748 INFO 74308 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 995 ms +2024-09-22 22:17:14.880 INFO 74308 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 22:17:14.925 INFO 74308 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 22:17:16.138 INFO 74308 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 22:17:16.151 INFO 74308 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 22:17:16.210 INFO 74308 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 22:17:16.378 INFO 74308 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 22:17:16.379 INFO 74308 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 22:17:16.381 INFO 74308 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 22:17:16.406 INFO 74308 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 22:17:16.433 INFO 74308 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 22:17:16.490 INFO 74308 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 22:17:16.495 INFO 74308 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 22:17:16.500 INFO 74308 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 22:17:16.503 INFO 74308 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 22:17:16.512 INFO 74308 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 22:17:16.516 INFO 74308 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 22:17:16.523 INFO 74308 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 22:17:16.525 INFO 74308 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 22:17:16.529 INFO 74308 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 22:17:16.530 INFO 74308 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_2 +2024-09-22 22:17:16.534 INFO 74308 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 22:17:16.547 INFO 74308 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.094 seconds (JVM running for 3.911) +2024-09-22 22:17:17.928 INFO 74308 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 22:17:17.928 INFO 74308 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 22:17:17.930 INFO 74308 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms +2024-09-22 22:20:34.587 INFO 74308 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 22:20:34.590 INFO 74308 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 22:20:38.369 INFO 67580 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 67580 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 22:20:38.369 INFO 67580 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 22:20:38.397 INFO 67580 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 22:20:38.397 INFO 67580 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 22:20:38.941 INFO 67580 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 22:20:38.942 INFO 67580 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 22:20:38.958 INFO 67580 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. +2024-09-22 22:20:39.370 INFO 67580 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 22:20:39.375 INFO 67580 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 22:20:39.375 INFO 67580 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 22:20:39.431 INFO 67580 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 22:20:39.431 INFO 67580 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1034 ms +2024-09-22 22:20:39.583 INFO 67580 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 22:20:39.630 INFO 67580 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 22:20:40.846 INFO 67580 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 22:20:40.858 INFO 67580 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 22:20:40.914 INFO 67580 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 22:20:41.064 INFO 67580 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 22:20:41.065 INFO 67580 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 22:20:41.067 INFO 67580 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 22:20:41.089 INFO 67580 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 22:20:41.110 INFO 67580 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 22:20:41.161 INFO 67580 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 22:20:41.165 INFO 67580 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 22:20:41.170 INFO 67580 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 22:20:41.172 INFO 67580 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 22:20:41.180 INFO 67580 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 22:20:41.184 INFO 67580 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 22:20:41.190 INFO 67580 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 22:20:41.191 INFO 67580 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 22:20:41.193 INFO 67580 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 22:20:41.194 INFO 67580 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_2 +2024-09-22 22:20:41.199 INFO 67580 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 22:20:41.213 INFO 67580 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.115 seconds (JVM running for 3.964) +2024-09-22 22:20:43.268 INFO 67580 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 22:20:43.268 INFO 67580 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 22:20:43.269 INFO 67580 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-09-22 22:22:16.918 INFO 67580 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 22:22:16.921 INFO 67580 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 22:22:20.572 INFO 69248 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 69248 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 22:22:20.573 INFO 69248 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 22:22:20.599 INFO 69248 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 22:22:20.600 INFO 69248 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 22:22:21.116 INFO 69248 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 22:22:21.117 INFO 69248 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 22:22:21.132 INFO 69248 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. +2024-09-22 22:22:21.532 INFO 69248 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 22:22:21.538 INFO 69248 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 22:22:21.538 INFO 69248 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 22:22:21.596 INFO 69248 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 22:22:21.596 INFO 69248 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 996 ms +2024-09-22 22:22:21.737 INFO 69248 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 22:22:21.780 INFO 69248 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 22:22:23.193 INFO 69248 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 22:22:23.207 INFO 69248 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 22:22:23.273 INFO 69248 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 22:22:23.447 INFO 69248 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 22:22:23.448 INFO 69248 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 22:22:23.450 INFO 69248 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 22:22:23.474 INFO 69248 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 22:22:23.500 INFO 69248 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 22:22:23.560 INFO 69248 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 22:22:23.565 INFO 69248 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 22:22:23.570 INFO 69248 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 22:22:23.573 INFO 69248 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 22:22:23.580 INFO 69248 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 22:22:23.584 INFO 69248 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 22:22:23.590 INFO 69248 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 22:22:23.593 INFO 69248 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 22:22:23.596 INFO 69248 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 22:22:23.597 INFO 69248 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_2 +2024-09-22 22:22:23.602 INFO 69248 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 22:22:23.614 INFO 69248 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.31 seconds (JVM running for 4.13) +2024-09-22 22:22:25.845 INFO 69248 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 22:22:25.845 INFO 69248 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 22:22:25.846 INFO 69248 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-09-22 22:23:27.300 INFO 69248 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 22:23:27.303 INFO 69248 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed +2024-09-22 22:23:31.384 INFO 75440 --- [restartedMain] top.weiyuexin.Application : Starting Application using Java 1.8.0_131 on DESKTOP-LC4D5LO with PID 75440 (D:\JavaCode\XJ-OJ\oj-spring-boot\target\classes started by chenjiabin in D:\JavaCode\XJ-OJ) +2024-09-22 22:23:31.385 INFO 75440 --- [restartedMain] top.weiyuexin.Application : No active profile set, falling back to 1 default profile: "default" +2024-09-22 22:23:31.418 INFO 75440 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2024-09-22 22:23:31.419 INFO 75440 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2024-09-22 22:23:32.011 INFO 75440 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +2024-09-22 22:23:32.014 INFO 75440 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-09-22 22:23:32.032 INFO 75440 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 10 ms. Found 0 Redis repository interfaces. +2024-09-22 22:23:32.662 INFO 75440 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2024-09-22 22:23:32.669 INFO 75440 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-09-22 22:23:32.670 INFO 75440 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.69] +2024-09-22 22:23:32.764 INFO 75440 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-09-22 22:23:32.764 INFO 75440 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1345 ms +2024-09-22 22:23:32.937 INFO 75440 --- [restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource +2024-09-22 22:23:32.997 INFO 75440 --- [restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited +2024-09-22 22:23:34.318 INFO 75440 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2024-09-22 22:23:34.330 INFO 75440 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] +2024-09-22 22:23:34.393 INFO 75440 --- [restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)] +2024-09-22 22:23:34.596 INFO 75440 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2024-09-22 22:23:34.596 INFO 75440 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped +2024-09-22 22:23:34.599 INFO 75440 --- [restartedMain] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2024-09-22 22:23:34.625 INFO 75440 --- [restartedMain] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2024-09-22 22:23:34.652 INFO 75440 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_1 +2024-09-22 22:23:34.717 INFO 75440 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_1 +2024-09-22 22:23:34.721 INFO 75440 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_1 +2024-09-22 22:23:34.729 INFO 75440 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_2 +2024-09-22 22:23:34.730 INFO 75440 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_2 +2024-09-22 22:23:34.740 INFO 75440 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_3 +2024-09-22 22:23:34.744 INFO 75440 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_3 +2024-09-22 22:23:34.751 INFO 75440 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteProblemUsingDELETE_1 +2024-09-22 22:23:34.753 INFO 75440 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_4 +2024-09-22 22:23:34.759 INFO 75440 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getByIdUsingGET_4 +2024-09-22 22:23:34.760 INFO 75440 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: loginUsingGET_2 +2024-09-22 22:23:34.766 INFO 75440 --- [restartedMain] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getPageUsingGET_5 +2024-09-22 22:23:34.778 INFO 75440 --- [restartedMain] top.weiyuexin.Application : Started Application in 3.705 seconds (JVM running for 4.591) +2024-09-22 22:23:37.455 INFO 75440 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-09-22 22:23:37.456 INFO 75440 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-09-22 22:23:37.457 INFO 75440 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-09-22 22:24:29.441 INFO 75440 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... +2024-09-22 22:24:29.444 INFO 75440 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed diff --git a/oj-spring-boot/onlineoj.sql b/oj-spring-boot/onlineoj.sql index ab49dcd..50a59c2 100644 --- a/oj-spring-boot/onlineoj.sql +++ b/oj-spring-boot/onlineoj.sql @@ -14,7 +14,16 @@ Date: 30/11/2023 13:19:41 */ -SET NAMES utf8mb4; + +# 先创建数据库 +# CREATE DATABASE XJ_OJ; +# USE XJ_OJ; + +# 如果是MySql8.0以上的版本遇到报错可以尝试将 utf8_general_ci替换为utf8mb4_0900_ai_ci +# 同时将utf8替换为utf8mb4 + + +SET NAMES utf8; SET FOREIGN_KEY_CHECKS = 0; -- ---------------------------- @@ -46,11 +55,11 @@ CREATE TABLE `code` ( `id` int NOT NULL AUTO_INCREMENT COMMENT '代码id', `user_id` int NOT NULL, `problem_id` int NOT NULL, - `code_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL, + `code_path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `create_time` datetime NULL DEFAULT NULL, - `language` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL, + `language` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic; +) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic; -- ---------------------------- -- Records of code @@ -62,13 +71,13 @@ CREATE TABLE `code` ( DROP TABLE IF EXISTS `contest`; CREATE TABLE `contest` ( `id` int NOT NULL AUTO_INCREMENT, - `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL, + `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `start_time` datetime NULL DEFAULT NULL, `end_time` datetime NULL DEFAULT NULL, `num` int NULL DEFAULT NULL, - `status` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL, + `status` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic; +) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic; -- ---------------------------- -- Records of contest @@ -85,7 +94,7 @@ CREATE TABLE `contest_problem` ( `submit_num` int NOT NULL DEFAULT 0 COMMENT '提交数', `solved_num` int NOT NULL DEFAULT 0 COMMENT '通过数', PRIMARY KEY (`id`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic; +) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic; -- ---------------------------- -- Records of contest_problem @@ -102,7 +111,7 @@ CREATE TABLE `contest_user` ( `submit_num` int NOT NULL DEFAULT 0, `solved_num` int NOT NULL DEFAULT 0, PRIMARY KEY (`id`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic; +) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic; -- ---------------------------- -- Records of contest_user @@ -117,14 +126,14 @@ CREATE TABLE `evaluation` ( `user_id` int NOT NULL, `problem_id` int NOT NULL, `create_time` datetime NOT NULL, - `language` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL, + `language` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, `passed_test_case_num` int NOT NULL DEFAULT 0, `all_test_case_num` int NOT NULL DEFAULT 0, - `error` text CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL, + `error` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL, `is_passed` int NOT NULL DEFAULT 0, - `status` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL, + `status` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic; +) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic; -- ---------------------------- -- Records of evaluation @@ -136,12 +145,12 @@ CREATE TABLE `evaluation` ( DROP TABLE IF EXISTS `file`; CREATE TABLE `file` ( `id` int NOT NULL, - `original_filename` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL, - `new_filename` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL, - `url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL, + `original_filename` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, + `new_filename` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, + `url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `date` datetime NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic; +) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic; -- ---------------------------- -- Records of file @@ -203,10 +212,10 @@ DROP TABLE IF EXISTS `test_case`; CREATE TABLE `test_case` ( `id` int NOT NULL AUTO_INCREMENT, `problem_id` int NOT NULL, - `input` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL, - `output` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL, + `input` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, + `output` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic; +) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic; -- ---------------------------- -- Records of test_case diff --git a/oj-spring-boot/pom.xml b/oj-spring-boot/pom.xml index 382cf04..18775dc 100644 --- a/oj-spring-boot/pom.xml +++ b/oj-spring-boot/pom.xml @@ -8,15 +8,15 @@ 2.7.6 - top.weiyuexin - Online-code-evaluation-system + com.cjb666 + XJ-OJ 1.0.0 - Online-code-evaluation-system - Online-code-evaluation-system + XJ-OJ + XJ-OJ - 17 + 1.8 diff --git a/oj-spring-boot/src/main/java/top/weiyuexin/config/CorsConfig.java b/oj-spring-boot/src/main/java/top/weiyuexin/config/CorsConfig.java new file mode 100644 index 0000000..2480b24 --- /dev/null +++ b/oj-spring-boot/src/main/java/top/weiyuexin/config/CorsConfig.java @@ -0,0 +1,26 @@ +package top.weiyuexin.config; + +import org.springframework.context.annotation.Configuration; +import org.springframework.web.servlet.config.annotation.CorsRegistry; +import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; + +/** + * 全局跨域配置 + * + */ +@Configuration +public class CorsConfig implements WebMvcConfigurer { + + @Override + public void addCorsMappings(CorsRegistry registry) { + // 覆盖所有请求 + registry.addMapping("/**") + // 允许发送 Cookie + .allowCredentials(true) + // 放行哪些域名(必须用 patterns,否则 * 会和 allowCredentials 冲突) + .allowedOriginPatterns("*") + .allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS") + .allowedHeaders("*") + .exposedHeaders("*"); + } +} diff --git a/oj-spring-boot/src/main/java/top/weiyuexin/config/InterceptorConfig.java b/oj-spring-boot/src/main/java/top/weiyuexin/config/InterceptorConfig.java new file mode 100644 index 0000000..844ef67 --- /dev/null +++ b/oj-spring-boot/src/main/java/top/weiyuexin/config/InterceptorConfig.java @@ -0,0 +1,15 @@ +package top.weiyuexin.config; + +import org.springframework.context.annotation.Configuration; +import org.springframework.web.servlet.config.annotation.InterceptorRegistry; +import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; +import top.weiyuexin.interceptor.LoginInterceptor; + +@Configuration +public class InterceptorConfig implements WebMvcConfigurer { + @Override + public void addInterceptors(InterceptorRegistry registry) { + registry.addInterceptor(new LoginInterceptor()) + .addPathPatterns("/index.html/**"); + } +} diff --git a/oj-spring-boot/src/main/java/top/weiyuexin/controller/AdminController.java b/oj-spring-boot/src/main/java/top/weiyuexin/controller/AdminController.java index 717c826..7182e0c 100644 --- a/oj-spring-boot/src/main/java/top/weiyuexin/controller/AdminController.java +++ b/oj-spring-boot/src/main/java/top/weiyuexin/controller/AdminController.java @@ -34,11 +34,12 @@ public class AdminController { @Autowired private ArticleService articleService; - @GetMapping("/login") + @GetMapping(value = {"/","/login"}) public String login() { return "user/login"; } + /** * 管理员登录 * @@ -46,13 +47,13 @@ public class AdminController { * @param password * @return */ - @GetMapping("/admin/login.do/{username}/{password}") + @PostMapping("/adminLogin") @ResponseBody - public R adminLogin(@PathVariable("username") String username, - @PathVariable("password") String password) { + public R adminLogin(String username, String password) { User user = new User(); user.setUsername(username); user.setPassword(password); + System.out.println(user); // 2、校验用户名和密码是否正确 user.setPassword(DigestUtil.md5Hex(user.getPassword())); User queriedUser = userService.getByNameAndPasswordAndIsAdmin(user.getUsername(), user.getPassword()); @@ -108,7 +109,7 @@ public class AdminController { } user.setPassword(DigestUtil.md5Hex(user.getPassword())); user.setRegisterTime(Time.CurrentTime()); - user.setPhoto("https://img.weiyuexin.top/img/picgo/2023/04/27/20230427183111.png"); + user.setPhoto(""); if (userService.save(user)) { return R.success("用户添加成功"); } else { diff --git a/oj-spring-boot/src/main/java/top/weiyuexin/controller/ArticleController.java b/oj-spring-boot/src/main/java/top/weiyuexin/controller/ArticleController.java index ace6fbb..8da13df 100644 --- a/oj-spring-boot/src/main/java/top/weiyuexin/controller/ArticleController.java +++ b/oj-spring-boot/src/main/java/top/weiyuexin/controller/ArticleController.java @@ -103,7 +103,7 @@ public class ArticleController { /** * 删除文章 * - * @param article + * @param * @return */ @DeleteMapping("/{id}") diff --git a/oj-spring-boot/src/main/java/top/weiyuexin/controller/UserController.java b/oj-spring-boot/src/main/java/top/weiyuexin/controller/UserController.java index c15fd1d..37996cd 100644 --- a/oj-spring-boot/src/main/java/top/weiyuexin/controller/UserController.java +++ b/oj-spring-boot/src/main/java/top/weiyuexin/controller/UserController.java @@ -117,7 +117,7 @@ public class UserController { user.setIntroduction("暂无介绍"); user.setPassword(DigestUtil.md5Hex(user.getPassword())); user.setRegisterTime(Time.CurrentTime()); - user.setPhoto("https://img.weiyuexin.top/img/picgo/2023/04/27/20230427183111.png"); + user.setPhoto(""); if (userService.save(user)) { return R.success("注册成功"); } else { @@ -173,8 +173,9 @@ public class UserController { * @param user * @return */ - @PutMapping("") - public R updateUser(User user) { + @PutMapping("/modify") + public R updateUser(@RequestBody User user) { + System.out.println( user); if (user.getPassword() != null) { user.setPassword(DigestUtil.md5Hex(user.getPassword())); } diff --git a/oj-spring-boot/src/main/java/top/weiyuexin/cron/ContestCron.java b/oj-spring-boot/src/main/java/top/weiyuexin/cron/ContestCron.java index cc01405..a8141cc 100644 --- a/oj-spring-boot/src/main/java/top/weiyuexin/cron/ContestCron.java +++ b/oj-spring-boot/src/main/java/top/weiyuexin/cron/ContestCron.java @@ -17,7 +17,7 @@ public class ContestCron { @Autowired private ContestService contestService; - @Scheduled(fixedRate = 1000) +// @Scheduled(fixedRate = 1000) public void updateContestStatus() throws ParseException { List contests = contestService.getAllNewContest(); for (int i = 0; i < contests.size(); i++) { diff --git a/oj-spring-boot/src/main/java/top/weiyuexin/interceptor/LoginInterceptor.java b/oj-spring-boot/src/main/java/top/weiyuexin/interceptor/LoginInterceptor.java index ee7a8ef..001fc16 100644 --- a/oj-spring-boot/src/main/java/top/weiyuexin/interceptor/LoginInterceptor.java +++ b/oj-spring-boot/src/main/java/top/weiyuexin/interceptor/LoginInterceptor.java @@ -1,8 +1,10 @@ package top.weiyuexin.interceptor; +import org.springframework.stereotype.Component; import org.springframework.web.servlet.HandlerInterceptor; import org.springframework.web.servlet.ModelAndView; +import javax.servlet.http.Cookie; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; @@ -14,15 +16,32 @@ import javax.servlet.http.HttpServletResponse; * @Email: 3022422894@qq.com * @Date: 2023/4/27 17:19 */ + +@Component public class LoginInterceptor implements HandlerInterceptor { @Override public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception { - - //未登录,跳转到登录页 - if (request.getCookies() == null || true) { - response.sendRedirect("/login"); + Cookie[] cookies = request.getCookies(); + String username=null; + String password=null; + for (Cookie cookie : cookies) { + if (cookie.getName().equals("username")){ + username=cookie.getValue(); + } + if (cookie.getName().equals("password")){ + password=cookie.getValue(); + } } - return false; + System.out.println(username+" "+password); + if (username==null || password==null){ + response.sendRedirect("/login"); + return false; + } +// //未登录,跳转到登录页 +// if (request.getCookies() == null || true) { +// response.sendRedirect("/login"); +// } + return true; } @Override diff --git a/oj-spring-boot/src/main/java/top/weiyuexin/service/impl/EmailServiceImpl.java b/oj-spring-boot/src/main/java/top/weiyuexin/service/impl/EmailServiceImpl.java index 08696ac..3d3be0b 100644 --- a/oj-spring-boot/src/main/java/top/weiyuexin/service/impl/EmailServiceImpl.java +++ b/oj-spring-boot/src/main/java/top/weiyuexin/service/impl/EmailServiceImpl.java @@ -8,6 +8,7 @@ import org.springframework.stereotype.Service; import top.weiyuexin.pojo.vo.R; import top.weiyuexin.service.EmailService; +import java.io.File; import java.util.concurrent.TimeUnit; /** @@ -38,6 +39,7 @@ public class EmailServiceImpl implements EmailService { //调用HuTool中的发送验证码的方法,发送验证码 try { MailUtil.send(email,title,emailCodeContent,false); +// MailUtil.sendText(email,title,emailCodeContent, (File) null); // 将验证码保存到Redis,并设置过期时间为5分钟 redisTemplate.opsForValue().set("emailCode:"+email, String.valueOf(emailCode),60*5, TimeUnit.SECONDS); return R.success("验证码发送成功!"); diff --git a/oj-spring-boot/src/main/resources/application.yml b/oj-spring-boot/src/main/resources/application.yml index 4436625..2348365 100644 --- a/oj-spring-boot/src/main/resources/application.yml +++ b/oj-spring-boot/src/main/resources/application.yml @@ -3,18 +3,20 @@ server: spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://116.222.21.125:3306/onlineoj?useUnicode=true&characterEncoding=UTF-8&useJDBC49CompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8 + url: jdbc:mysql://localhost:3306/xj_oj?useUnicode=true&characterEncoding=UTF-8&useJDBC49CompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8 username: root - password: weiyuexin + password: filwy3344 type: com.alibaba.druid.pool.DruidDataSource + # 配置servlet的多部分上传文件限制 servlet: multipart: + # 设置请求的最大大小,超过此大小的请求将被拒绝 max-request-size: 100MB + # 设置单个上传文件的最大大小,超过此大小的文件将被拒绝 max-file-size: 100MB redis: - host: 116.222.21.125 + host: 192.168.200.130 port: 6379 - password: weiyuexin lettuce: pool: # 最大阻塞等待时间,负数表示没有限制 @@ -39,11 +41,11 @@ spring: pathmatch: matching-strategy: ant_path_matcher tencent: - secretId: AKID - secretKey: 1qlUzIOJ8 - bucket: ap-beijing - bucketName: wyx-130 - path: https://img.weiyuexin.top + secretId: AKIDRZbP5Zu1zmy45rTrRtAD8rBNgrvrb7Uo + secretKey: HMDxVr471jGesvsfHkMuInJm6OWnxueB + bucket: ap-chengdu + bucketName: xj-oj-1329750222 + path: https://xj-oj-1329750222.cos.ap-chengdu.myqcloud.com qianzui: img qianzui-file: file @@ -76,17 +78,15 @@ knife4j: basic: username: root password: root - enable: false + enable: true openapi: title: 在线代码测评系统官方文档 description: "在线代码测评系统 API 文档" - email: 3022422894@qq.com - concat: YuexinWei - url: https://blog.weiyuexin.top + email: 2948429338@qq.com + concat: ChenJiabin + url: https://127.0.0.1:8080/doc.html version: v4.0.2 license: Apache 2.0 - license-url: https://blog.weiyuexin.top - terms-of-service-url: https://blog.weiyuexin.top group: controller: group-name: 接口 diff --git a/oj-spring-boot/src/main/resources/config/mail.setting b/oj-spring-boot/src/main/resources/config/mail.setting index ca47c8a..763a5c4 100644 --- a/oj-spring-boot/src/main/resources/config/mail.setting +++ b/oj-spring-boot/src/main/resources/config/mail.setting @@ -3,8 +3,12 @@ host = smtp.qq.com # 邮件服务器的SMTP端口,可选,默认25 port = 587 # 发件人(必须正确,否则发送失败) -from = wyxweiyuexin@qq.com +from = 2948429338@qq.com # 用户名,默认为发件人邮箱前缀 -user = wyxweiyuexin +user = 2948429338@qq.com # 密码(注意,某些邮箱需要为SMTP服务单独设置授权码,详情查看相关帮助) -pass = brsrxrunyqmxdeje \ No newline at end of file +pass = rfvewkybntywdhfe +#使用 STARTTLS安全连接,STARTTLS是对纯文本通信协议的扩展 +starttlsEnable = true +# 需要设置为false 否则QQ邮箱测试邮件发送报错 +sslEnable = false \ No newline at end of file diff --git a/oj-spring-boot/src/main/resources/static/css/login.css b/oj-spring-boot/src/main/resources/static/css/login.css index cca18eb..04b213a 100644 --- a/oj-spring-boot/src/main/resources/static/css/login.css +++ b/oj-spring-boot/src/main/resources/static/css/login.css @@ -1,5 +1,4 @@ body { - background-image: url(https://img.weiyuexin.top/img/picgo/2023/04/09/20230409173204.jpg); background-position: 14px 14px; background-repeat: no-repeat; background-position: center center; diff --git a/oj-spring-boot/src/main/resources/static/index.html b/oj-spring-boot/src/main/resources/static/index.html index e2a424b..604c69c 100644 --- a/oj-spring-boot/src/main/resources/static/index.html +++ b/oj-spring-boot/src/main/resources/static/index.html @@ -61,12 +61,12 @@ - + admin - - 基本资料 - + + + + - 退出登录 + 退出登录 @@ -163,12 +163,25 @@ 'layuimini-onepage.99php.cn', ], }); - // - // $('.login-out').on("click", function () { - // layer.msg('退出登录成功', function () { - // window.location = '/login'; - // }); - // }); + + // 设置或删除Cookie + function setCookie(name, value, days) { + var expires = ''; + if (days) { + var date = new Date(); + date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000)); + expires = '; expires=' + date.toUTCString(); + } + document.cookie = name + '=' + (value || '') + expires + '; path=/'; + } + + $('.login-out').on("click", function () { + setCookie('username', '', -1); + setCookie('password', '', -1); + layer.msg('退出登录成功', function () { + window.location = '/login'; + }); + }); }); diff --git a/oj-spring-boot/src/main/resources/templates/user/login.html b/oj-spring-boot/src/main/resources/templates/user/login.html index 33f4f26..0a364a1 100644 --- a/oj-spring-boot/src/main/resources/templates/user/login.html +++ b/oj-spring-boot/src/main/resources/templates/user/login.html @@ -1,58 +1,175 @@ - + - - - 登录-HENU-OJ-后台管理系统 - - - - - - - - - + + 后台管理-登陆 + + + + + + + + + - - - - 后 台 管 理 系 统 - - - - - 账号: - + + + + + + LayuiMini后台登录 + + + + + + + + + + + + + + + + + + + + + 登 入 + + - - - - 密码: - - - - - - - 验证: - - - - - - - - - 登 录 - - - - - - + + + + + + \ No newline at end of file diff --git a/oj-vue/README.md b/oj-vue/README.md index ab39c38..1e8fd31 100644 --- a/oj-vue/README.md +++ b/oj-vue/README.md @@ -1,24 +1,29 @@ # oj-vue ## Project setup + ``` npm install ``` ### Compiles and hot-reloads for development + ``` npm run serve ``` ### Compiles and minifies for production + ``` npm run build ``` ### Lints and fixes files + ``` npm run lint ``` ### Customize configuration + See [Configuration Reference](https://cli.vuejs.org/config/). diff --git a/oj-vue/src/components/oj/common/Footer.vue b/oj-vue/src/components/oj/common/Footer.vue index 0f91181..05eb663 100644 --- a/oj-vue/src/components/oj/common/Footer.vue +++ b/oj-vue/src/components/oj/common/Footer.vue @@ -8,7 +8,7 @@ - Copyright © 2023 Ginkgo + Copyright © 2023 Ginkgo @@ -41,7 +41,7 @@ export default { diff --git a/oj-vue/src/components/oj/common/NavBar.vue b/oj-vue/src/components/oj/common/NavBar.vue index 09f303a..01b184d 100644 --- a/oj-vue/src/components/oj/common/NavBar.vue +++ b/oj-vue/src/components/oj/common/NavBar.vue @@ -1,6 +1,6 @@ - + @@ -53,16 +53,28 @@ - - - {{user.username}} - + + + {{ user.username }} + - 个人中心 - 退出登录 + + + + + + 个人中心 + + + + + + + 退出登录 + @@ -74,6 +86,7 @@