|
|
|
|
@@ -968,3 +968,297 @@ Caused by: org.hibernate.QueryException: could not resolve property: typeid of:
|
|
|
|
|
at org.hibernate.hql.internal.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:276)
|
|
|
|
|
at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:192)
|
|
|
|
|
... 91 common frames omitted
|
|
|
|
|
2025-10-16 16:41:18 [restartedMain] INFO c.q.m.MyAfterProjecyApplication - Starting MyAfterProjecyApplication using Java 1.8.0_461 on DESKTOP-8G5GS0I with PID 31448 (E:\MyWebProject\MyAfterProjecy\target\classes started by 30803 in E:\MyWebProject\MyAfterProjecy)
|
|
|
|
|
2025-10-16 16:41:18 [restartedMain] DEBUG c.q.m.MyAfterProjecyApplication - Running with Spring Boot v2.6.13, Spring v5.3.23
|
|
|
|
|
2025-10-16 16:41:18 [restartedMain] INFO c.q.m.MyAfterProjecyApplication - No active profile set, falling back to 1 default profile: "default"
|
|
|
|
|
2025-10-16 16:41:18 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
|
|
|
|
|
2025-10-16 16:41:18 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
|
|
|
|
|
2025-10-16 16:41:18 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Bootstrapping Spring Data JPA repositories in DEFAULT mode.
|
|
|
|
|
2025-10-16 16:41:18 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 48 ms. Found 4 JPA repository interfaces.
|
|
|
|
|
2025-10-16 16:41:19 [restartedMain] WARN o.m.s.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.qf.myafterprojecy]' package. Please check your configuration.
|
|
|
|
|
2025-10-16 16:41:19 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port(s): 8080 (http)
|
|
|
|
|
2025-10-16 16:41:19 [restartedMain] INFO o.a.catalina.core.StandardService - Starting service [Tomcat]
|
|
|
|
|
2025-10-16 16:41:19 [restartedMain] INFO o.a.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.68]
|
|
|
|
|
2025-10-16 16:41:19 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
|
|
|
|
|
2025-10-16 16:41:19 [restartedMain] INFO o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 1360 ms
|
|
|
|
|
2025-10-16 16:41:19 [restartedMain] INFO o.h.jpa.internal.util.LogHelper - HHH000204: Processing PersistenceUnitInfo [name: default]
|
|
|
|
|
2025-10-16 16:41:19 [restartedMain] INFO org.hibernate.Version - HHH000412: Hibernate ORM core version 5.6.12.Final
|
|
|
|
|
2025-10-16 16:41:20 [restartedMain] INFO o.h.annotations.common.Version - HCANN000001: Hibernate Commons Annotations {5.1.2.Final}
|
|
|
|
|
2025-10-16 16:41:20 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource - WebProjectHikariCP - Starting...
|
|
|
|
|
2025-10-16 16:41:20 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource - WebProjectHikariCP - Start completed.
|
|
|
|
|
2025-10-16 16:41:20 [restartedMain] INFO org.hibernate.dialect.Dialect - HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect
|
|
|
|
|
2025-10-16 16:41:21 [restartedMain] INFO o.h.e.t.j.p.i.JtaPlatformInitiator - HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
|
|
|
|
|
2025-10-16 16:41:21 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean - Initialized JPA EntityManagerFactory for persistence unit 'default'
|
|
|
|
|
2025-10-16 16:41:22 [restartedMain] WARN o.s.b.a.s.s.UserDetailsServiceAutoConfiguration -
|
|
|
|
|
|
|
|
|
|
Using generated security password: e8814a4c-8fc8-484c-9843-05e3327fe275
|
|
|
|
|
|
|
|
|
|
This generated password is for development use only. Your security configuration must be updated before running your application in production.
|
|
|
|
|
|
|
|
|
|
2025-10-16 16:41:22 [restartedMain] INFO o.s.s.web.DefaultSecurityFilterChain - Will secure any request with [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@4c6343c, org.springframework.security.web.context.SecurityContextPersistenceFilter@205a03b4, org.springframework.security.web.header.HeaderWriterFilter@5d32430e, org.springframework.security.web.authentication.logout.LogoutFilter@d7acc06, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@5c4d0c68, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@5570d9fd, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@7357e1f4, org.springframework.security.web.access.ExceptionTranslationFilter@abf2f25, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@7f6072c9]
|
|
|
|
|
2025-10-16 16:41:22 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping - Adding welcome page: class path resource [static/index.html]
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer - LiveReload server is running on port 35729
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port(s): 8080 (http) with context path ''
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] INFO c.q.m.MyAfterProjecyApplication - Started MyAfterProjecyApplication in 5.335 seconds (JVM running for 6.173)
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] INFO c.q.m.init.CategoryDataInit - ===== 分类数据初始化开始 =====
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] INFO c.q.m.init.CategoryDataInit - 当前数据库中分类数量: 4
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] INFO c.q.m.init.CategoryDataInit - 数据库中已存在分类数据,无需初始化
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] INFO c.q.m.init.CategoryDataInit - ===== 分类数据初始化结束 =====
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] INFO c.q.m.init.MessageDataInit - ===== 消息数据初始化开始 =====
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] INFO c.q.m.init.MessageDataInit - 当前数据库中消息数量: 6
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] INFO c.q.m.init.MessageDataInit - 数据库中已存在消息数据,无需初始化
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] INFO c.q.m.init.MessageDataInit - ===== 消息数据初始化结束 =====
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] INFO c.q.m.runner.MessageDataChecker - ===== 消息数据检查器开始运行 =====
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] INFO c.q.m.runner.MessageDataChecker - 当前数据库中消息数量: 6
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] INFO c.q.m.runner.MessageDataChecker - ===== 测试Repository查询方法 =====
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] TRACE o.h.type.descriptor.sql.BasicBinder - binding parameter [1] as [INTEGER] - [1]
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] INFO c.q.m.runner.MessageDataChecker - 文章ID为1的消息数量: 0
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] INFO c.q.m.runner.MessageDataChecker - 根消息数量: 3
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] TRACE o.h.type.descriptor.sql.BasicBinder - binding parameter [1] as [VARCHAR] - [%张%]
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] TRACE o.h.type.descriptor.sql.BasicBinder - binding parameter [2] as [CHAR] - [\]
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] INFO c.q.m.runner.MessageDataChecker - 昵称包含'张'的消息数量: 1
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] TRACE o.h.type.descriptor.sql.BasicBinder - binding parameter [1] as [INTEGER] - [1]
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] INFO c.q.m.runner.MessageDataChecker - 文章ID为1的评论数量: 0
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] TRACE o.h.type.descriptor.sql.BasicBinder - binding parameter [1] as [INTEGER] - [1]
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] INFO c.q.m.runner.MessageDataChecker - 消息ID为1的回复数量: 1
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] INFO c.q.m.runner.MessageDataChecker - ===== 测试Service层方法 =====
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] INFO c.q.m.service.MessageService - 查询所有消息
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] INFO c.q.m.runner.MessageDataChecker - 获取所有消息: 成功=true, 消息数量=6
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] INFO c.q.m.service.MessageService - 根据ID查询消息: 1
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] TRACE o.h.type.descriptor.sql.BasicBinder - binding parameter [1] as [INTEGER] - [1]
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] INFO c.q.m.runner.MessageDataChecker - 根据ID1获取消息: 成功=true, 昵称=张三
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] INFO c.q.m.service.MessageService - 获取文章评论数量: 1
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] TRACE o.h.type.descriptor.sql.BasicBinder - binding parameter [1] as [INTEGER] - [1]
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] INFO c.q.m.runner.MessageDataChecker - 获取文章ID为1的评论数量: 成功=true, 数量=0
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] INFO c.q.m.service.MessageService - 查询所有根消息
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] INFO c.q.m.runner.MessageDataChecker - 获取根消息: 成功=true, 数量=3
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] INFO c.q.m.service.MessageService - 保存消息: 测试用户
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] TRACE o.h.type.descriptor.sql.BasicBinder - binding parameter [1] as [INTEGER] - [1]
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] TRACE o.h.type.descriptor.sql.BasicBinder - binding parameter [2] as [VARCHAR] - [这是一条测试消息]
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] TRACE o.h.type.descriptor.sql.BasicBinder - binding parameter [3] as [TIMESTAMP] - [Thu Oct 16 16:41:23 CST 2025]
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] TRACE o.h.type.descriptor.sql.BasicBinder - binding parameter [4] as [VARCHAR] - [test@example.com]
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] TRACE o.h.type.descriptor.sql.BasicBinder - binding parameter [5] as [VARCHAR] - [测试用户]
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] TRACE o.h.type.descriptor.sql.BasicBinder - binding parameter [6] as [INTEGER] - [null]
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] INFO c.q.m.service.MessageService - 消息保存成功: 53
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] INFO c.q.m.runner.MessageDataChecker - 保存新消息: 成功=true, 消息ID=53
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] INFO c.q.m.service.MessageService - 删除消息: 53
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] TRACE o.h.type.descriptor.sql.BasicBinder - binding parameter [1] as [INTEGER] - [53]
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] TRACE o.h.type.descriptor.sql.BasicBinder - binding parameter [1] as [INTEGER] - [53]
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] TRACE o.h.type.descriptor.sql.BasicBinder - binding parameter [1] as [INTEGER] - [53]
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] TRACE o.h.type.descriptor.sql.BasicBinder - binding parameter [1] as [INTEGER] - [53]
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] INFO c.q.m.service.MessageService - 消息删除成功: 53
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] INFO c.q.m.runner.MessageDataChecker - 删除消息ID53: 成功=true
|
|
|
|
|
2025-10-16 16:41:23 [restartedMain] INFO c.q.m.runner.MessageDataChecker - ===== 消息数据检查器运行结束 =====
|
|
|
|
|
2025-10-16 16:41:30 [File Watcher] INFO o.s.b.d.a.LocalDevToolsAutoConfiguration$RestartingClassPathChangeChangedEventListener - Restarting due to 33 class path changes (0 additions, 33 deletions, 0 modifications)
|
|
|
|
|
2025-10-16 16:41:30 [Thread-16] INFO o.a.catalina.core.StandardService - Stopping service [Tomcat]
|
|
|
|
|
2025-10-16 16:41:30 [Thread-16] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default'
|
|
|
|
|
2025-10-16 16:41:30 [Thread-16] INFO com.zaxxer.hikari.HikariDataSource - WebProjectHikariCP - Shutdown initiated...
|
|
|
|
|
2025-10-16 16:41:30 [Thread-16] INFO com.zaxxer.hikari.HikariDataSource - WebProjectHikariCP - Shutdown completed.
|
|
|
|
|
2025-10-16 16:41:31 [restartedMain] INFO c.q.m.MyAfterProjecyApplication - Starting MyAfterProjecyApplication using Java 1.8.0_461 on DESKTOP-8G5GS0I with PID 31448 (E:\MyWebProject\MyAfterProjecy\target\classes started by 30803 in E:\MyWebProject\MyAfterProjecy)
|
|
|
|
|
2025-10-16 16:41:31 [restartedMain] DEBUG c.q.m.MyAfterProjecyApplication - Running with Spring Boot v2.6.13, Spring v5.3.23
|
|
|
|
|
2025-10-16 16:41:31 [restartedMain] INFO c.q.m.MyAfterProjecyApplication - No active profile set, falling back to 1 default profile: "default"
|
|
|
|
|
2025-10-16 16:41:31 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Bootstrapping Spring Data JPA repositories in DEFAULT mode.
|
|
|
|
|
2025-10-16 16:41:31 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 0 ms. Found 0 JPA repository interfaces.
|
|
|
|
|
2025-10-16 16:41:31 [restartedMain] WARN o.m.s.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.qf.myafterprojecy]' package. Please check your configuration.
|
|
|
|
|
2025-10-16 16:41:31 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port(s): 8080 (http)
|
|
|
|
|
2025-10-16 16:41:31 [restartedMain] INFO o.a.catalina.core.StandardService - Starting service [Tomcat]
|
|
|
|
|
2025-10-16 16:41:31 [restartedMain] INFO o.a.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.68]
|
|
|
|
|
2025-10-16 16:41:31 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
|
|
|
|
|
2025-10-16 16:41:31 [restartedMain] INFO o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 241 ms
|
|
|
|
|
2025-10-16 16:41:31 [restartedMain] INFO o.h.jpa.internal.util.LogHelper - HHH000204: Processing PersistenceUnitInfo [name: default]
|
|
|
|
|
2025-10-16 16:41:31 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource - WebProjectHikariCP - Starting...
|
|
|
|
|
2025-10-16 16:41:31 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource - WebProjectHikariCP - Start completed.
|
|
|
|
|
2025-10-16 16:41:31 [restartedMain] INFO org.hibernate.dialect.Dialect - HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect
|
|
|
|
|
2025-10-16 16:41:31 [restartedMain] INFO o.h.e.t.j.p.i.JtaPlatformInitiator - HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
|
|
|
|
|
2025-10-16 16:41:31 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean - Initialized JPA EntityManagerFactory for persistence unit 'default'
|
|
|
|
|
2025-10-16 16:41:31 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping - Adding welcome page: class path resource [static/index.html]
|
|
|
|
|
2025-10-16 16:41:31 [restartedMain] WARN o.s.b.a.s.s.UserDetailsServiceAutoConfiguration -
|
|
|
|
|
|
|
|
|
|
Using generated security password: fb20fba2-55fa-48c2-932e-95c944238d5a
|
|
|
|
|
|
|
|
|
|
This generated password is for development use only. Your security configuration must be updated before running your application in production.
|
|
|
|
|
|
|
|
|
|
2025-10-16 16:41:31 [restartedMain] INFO o.s.s.web.DefaultSecurityFilterChain - Will secure any request with [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@40f82067, org.springframework.security.web.context.SecurityContextPersistenceFilter@3ba61976, org.springframework.security.web.header.HeaderWriterFilter@b1983a, org.springframework.security.web.csrf.CsrfFilter@3f7f7a19, org.springframework.security.web.authentication.logout.LogoutFilter@2e443beb, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@4d7f7722, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@7516f6de, org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@3877416a, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@31fbbdb0, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@6e69e0ac, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@6215d513, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@393c1971, org.springframework.security.web.session.SessionManagementFilter@7f4d1b34, org.springframework.security.web.access.ExceptionTranslationFilter@1438245a, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@47b6baf7]
|
|
|
|
|
2025-10-16 16:41:31 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer - LiveReload server is running on port 35729
|
|
|
|
|
2025-10-16 16:41:31 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port(s): 8080 (http) with context path ''
|
|
|
|
|
2025-10-16 16:41:31 [restartedMain] INFO c.q.m.MyAfterProjecyApplication - Started MyAfterProjecyApplication in 0.437 seconds (JVM running for 14.391)
|
|
|
|
|
2025-10-16 16:41:31 [restartedMain] INFO o.s.b.d.a.ConditionEvaluationDeltaLoggingListener - Condition evaluation delta:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==========================
|
|
|
|
|
CONDITION EVALUATION DELTA
|
|
|
|
|
==========================
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Positive matches:
|
|
|
|
|
-----------------
|
|
|
|
|
|
|
|
|
|
SpringBootWebSecurityConfiguration matched:
|
|
|
|
|
- found 'session' scope (OnWebApplicationCondition)
|
|
|
|
|
- AllNestedConditions 2 matched 0 did not; NestedCondition on DefaultWebSecurityCondition.Beans @ConditionalOnMissingBean (types: org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter,org.springframework.security.web.SecurityFilterChain; SearchStrategy: all) did not find any beans; NestedCondition on DefaultWebSecurityCondition.Classes @ConditionalOnClass found required classes 'org.springframework.security.web.SecurityFilterChain', 'org.springframework.security.config.annotation.web.builders.HttpSecurity' (DefaultWebSecurityCondition)
|
|
|
|
|
|
|
|
|
|
WebSecurityEnablerConfiguration matched:
|
|
|
|
|
- @ConditionalOnClass found required class 'org.springframework.security.config.annotation.web.configuration.EnableWebSecurity' (OnClassCondition)
|
|
|
|
|
- found 'session' scope (OnWebApplicationCondition)
|
|
|
|
|
- @ConditionalOnMissingBean (names: springSecurityFilterChain; SearchStrategy: all) did not find any beans (OnBeanCondition)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Negative matches:
|
|
|
|
|
-----------------
|
|
|
|
|
|
|
|
|
|
None
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Exclusions:
|
|
|
|
|
-----------
|
|
|
|
|
|
|
|
|
|
None
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Unconditional classes:
|
|
|
|
|
----------------------
|
|
|
|
|
|
|
|
|
|
None
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-10-16 16:41:33 [File Watcher] INFO o.s.b.d.a.LocalDevToolsAutoConfiguration$RestartingClassPathChangeChangedEventListener - Restarting due to 33 class path changes (33 additions, 0 deletions, 0 modifications)
|
|
|
|
|
2025-10-16 16:41:33 [Thread-22] INFO o.a.catalina.core.StandardService - Stopping service [Tomcat]
|
|
|
|
|
2025-10-16 16:41:34 [Thread-22] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default'
|
|
|
|
|
2025-10-16 16:41:34 [Thread-22] INFO com.zaxxer.hikari.HikariDataSource - WebProjectHikariCP - Shutdown initiated...
|
|
|
|
|
2025-10-16 16:41:34 [Thread-22] INFO com.zaxxer.hikari.HikariDataSource - WebProjectHikariCP - Shutdown completed.
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO c.q.m.MyAfterProjecyApplication - Starting MyAfterProjecyApplication using Java 1.8.0_461 on DESKTOP-8G5GS0I with PID 31448 (E:\MyWebProject\MyAfterProjecy\target\classes started by 30803 in E:\MyWebProject\MyAfterProjecy)
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] DEBUG c.q.m.MyAfterProjecyApplication - Running with Spring Boot v2.6.13, Spring v5.3.23
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO c.q.m.MyAfterProjecyApplication - No active profile set, falling back to 1 default profile: "default"
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Bootstrapping Spring Data JPA repositories in DEFAULT mode.
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 15 ms. Found 4 JPA repository interfaces.
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] WARN o.m.s.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.qf.myafterprojecy]' package. Please check your configuration.
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port(s): 8080 (http)
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO o.a.catalina.core.StandardService - Starting service [Tomcat]
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO o.a.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.68]
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 268 ms
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO o.h.jpa.internal.util.LogHelper - HHH000204: Processing PersistenceUnitInfo [name: default]
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource - WebProjectHikariCP - Starting...
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource - WebProjectHikariCP - Start completed.
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO org.hibernate.dialect.Dialect - HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO o.h.e.t.j.p.i.JtaPlatformInitiator - HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean - Initialized JPA EntityManagerFactory for persistence unit 'default'
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] WARN o.s.b.a.s.s.UserDetailsServiceAutoConfiguration -
|
|
|
|
|
|
|
|
|
|
Using generated security password: e4f76c3b-a578-4993-8c06-099ca64aac88
|
|
|
|
|
|
|
|
|
|
This generated password is for development use only. Your security configuration must be updated before running your application in production.
|
|
|
|
|
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO o.s.s.web.DefaultSecurityFilterChain - Will secure any request with [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@61e1947f, org.springframework.security.web.context.SecurityContextPersistenceFilter@43665935, org.springframework.security.web.header.HeaderWriterFilter@12df53fc, org.springframework.security.web.authentication.logout.LogoutFilter@da58f5f, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@3c3161c5, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@14532fd1, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@3d9a6a52, org.springframework.security.web.access.ExceptionTranslationFilter@3c129b01, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@34da3c43]
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping - Adding welcome page: class path resource [static/index.html]
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer - LiveReload server is running on port 35729
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port(s): 8080 (http) with context path ''
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO c.q.m.MyAfterProjecyApplication - Started MyAfterProjecyApplication in 0.706 seconds (JVM running for 17.767)
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO c.q.m.init.CategoryDataInit - ===== 分类数据初始化开始 =====
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO c.q.m.init.CategoryDataInit - 当前数据库中分类数量: 4
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO c.q.m.init.CategoryDataInit - 数据库中已存在分类数据,无需初始化
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO c.q.m.init.CategoryDataInit - ===== 分类数据初始化结束 =====
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO c.q.m.init.MessageDataInit - ===== 消息数据初始化开始 =====
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO c.q.m.init.MessageDataInit - 当前数据库中消息数量: 6
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO c.q.m.init.MessageDataInit - 数据库中已存在消息数据,无需初始化
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO c.q.m.init.MessageDataInit - ===== 消息数据初始化结束 =====
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO c.q.m.runner.MessageDataChecker - ===== 消息数据检查器开始运行 =====
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO c.q.m.runner.MessageDataChecker - 当前数据库中消息数量: 6
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO c.q.m.runner.MessageDataChecker - ===== 测试Repository查询方法 =====
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] TRACE o.h.type.descriptor.sql.BasicBinder - binding parameter [1] as [INTEGER] - [1]
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO c.q.m.runner.MessageDataChecker - 文章ID为1的消息数量: 0
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO c.q.m.runner.MessageDataChecker - 根消息数量: 3
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] TRACE o.h.type.descriptor.sql.BasicBinder - binding parameter [1] as [VARCHAR] - [%张%]
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] TRACE o.h.type.descriptor.sql.BasicBinder - binding parameter [2] as [CHAR] - [\]
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO c.q.m.runner.MessageDataChecker - 昵称包含'张'的消息数量: 1
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] TRACE o.h.type.descriptor.sql.BasicBinder - binding parameter [1] as [INTEGER] - [1]
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO c.q.m.runner.MessageDataChecker - 文章ID为1的评论数量: 0
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] TRACE o.h.type.descriptor.sql.BasicBinder - binding parameter [1] as [INTEGER] - [1]
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO c.q.m.runner.MessageDataChecker - 消息ID为1的回复数量: 1
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO c.q.m.runner.MessageDataChecker - ===== 测试Service层方法 =====
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO c.q.m.service.MessageService - 查询所有消息
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO c.q.m.runner.MessageDataChecker - 获取所有消息: 成功=true, 消息数量=6
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO c.q.m.service.MessageService - 根据ID查询消息: 1
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] TRACE o.h.type.descriptor.sql.BasicBinder - binding parameter [1] as [INTEGER] - [1]
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO c.q.m.runner.MessageDataChecker - 根据ID1获取消息: 成功=true, 昵称=张三
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO c.q.m.service.MessageService - 获取文章评论数量: 1
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] TRACE o.h.type.descriptor.sql.BasicBinder - binding parameter [1] as [INTEGER] - [1]
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO c.q.m.runner.MessageDataChecker - 获取文章ID为1的评论数量: 成功=true, 数量=0
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO c.q.m.service.MessageService - 查询所有根消息
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO c.q.m.runner.MessageDataChecker - 获取根消息: 成功=true, 数量=3
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO c.q.m.service.MessageService - 保存消息: 测试用户
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] TRACE o.h.type.descriptor.sql.BasicBinder - binding parameter [1] as [INTEGER] - [1]
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] TRACE o.h.type.descriptor.sql.BasicBinder - binding parameter [2] as [VARCHAR] - [这是一条测试消息]
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] TRACE o.h.type.descriptor.sql.BasicBinder - binding parameter [3] as [TIMESTAMP] - [Thu Oct 16 16:41:34 CST 2025]
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] TRACE o.h.type.descriptor.sql.BasicBinder - binding parameter [4] as [VARCHAR] - [test@example.com]
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] TRACE o.h.type.descriptor.sql.BasicBinder - binding parameter [5] as [VARCHAR] - [测试用户]
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] TRACE o.h.type.descriptor.sql.BasicBinder - binding parameter [6] as [INTEGER] - [null]
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO c.q.m.service.MessageService - 消息保存成功: 54
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO c.q.m.runner.MessageDataChecker - 保存新消息: 成功=true, 消息ID=54
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO c.q.m.service.MessageService - 删除消息: 54
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] TRACE o.h.type.descriptor.sql.BasicBinder - binding parameter [1] as [INTEGER] - [54]
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] TRACE o.h.type.descriptor.sql.BasicBinder - binding parameter [1] as [INTEGER] - [54]
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] TRACE o.h.type.descriptor.sql.BasicBinder - binding parameter [1] as [INTEGER] - [54]
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] TRACE o.h.type.descriptor.sql.BasicBinder - binding parameter [1] as [INTEGER] - [54]
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO c.q.m.service.MessageService - 消息删除成功: 54
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO c.q.m.runner.MessageDataChecker - 删除消息ID54: 成功=true
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO c.q.m.runner.MessageDataChecker - ===== 消息数据检查器运行结束 =====
|
|
|
|
|
2025-10-16 16:41:34 [restartedMain] INFO o.s.b.d.a.ConditionEvaluationDeltaLoggingListener - Condition evaluation delta:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==========================
|
|
|
|
|
CONDITION EVALUATION DELTA
|
|
|
|
|
==========================
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Positive matches:
|
|
|
|
|
-----------------
|
|
|
|
|
|
|
|
|
|
None
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Negative matches:
|
|
|
|
|
-----------------
|
|
|
|
|
|
|
|
|
|
SpringBootWebSecurityConfiguration:
|
|
|
|
|
Did not match:
|
|
|
|
|
- AllNestedConditions 1 matched 1 did not; NestedCondition on DefaultWebSecurityCondition.Beans @ConditionalOnMissingBean (types: org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter,org.springframework.security.web.SecurityFilterChain; SearchStrategy: all) found beans of type 'org.springframework.security.web.SecurityFilterChain' filterChain; NestedCondition on DefaultWebSecurityCondition.Classes @ConditionalOnClass found required classes 'org.springframework.security.web.SecurityFilterChain', 'org.springframework.security.config.annotation.web.builders.HttpSecurity' (DefaultWebSecurityCondition)
|
|
|
|
|
Matched:
|
|
|
|
|
- found 'session' scope (OnWebApplicationCondition)
|
|
|
|
|
|
|
|
|
|
WebSecurityEnablerConfiguration:
|
|
|
|
|
Did not match:
|
|
|
|
|
- @ConditionalOnMissingBean (names: springSecurityFilterChain; SearchStrategy: all) found beans named springSecurityFilterChain (OnBeanCondition)
|
|
|
|
|
Matched:
|
|
|
|
|
- @ConditionalOnClass found required class 'org.springframework.security.config.annotation.web.configuration.EnableWebSecurity' (OnClassCondition)
|
|
|
|
|
- found 'session' scope (OnWebApplicationCondition)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Exclusions:
|
|
|
|
|
-----------
|
|
|
|
|
|
|
|
|
|
None
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Unconditional classes:
|
|
|
|
|
----------------------
|
|
|
|
|
|
|
|
|
|
None
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-10-16 16:41:40 [http-nio-8080-exec-2] INFO o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring DispatcherServlet 'dispatcherServlet'
|
|
|
|
|
2025-10-16 16:41:40 [http-nio-8080-exec-2] INFO o.s.web.servlet.DispatcherServlet - Initializing Servlet 'dispatcherServlet'
|
|
|
|
|
2025-10-16 16:41:40 [http-nio-8080-exec-2] INFO o.s.web.servlet.DispatcherServlet - Completed initialization in 1 ms
|
|
|
|
|
2025-10-16 16:43:14 [http-nio-8080-exec-8] ERROR c.q.m.service.ArticleService - 获取文章失败: For input string: "title"
|
|
|
|
|
2025-10-16 16:43:37 [http-nio-8080-exec-9] ERROR c.q.m.service.ArticleService - 获取文章失败: For input string: "title"
|
|
|
|
|
2025-10-16 16:43:46 [http-nio-8080-exec-10] TRACE o.h.type.descriptor.sql.BasicBinder - binding parameter [1] as [VARCHAR] - [%1%]
|
|
|
|
|
2025-10-16 16:44:00 [http-nio-8080-exec-1] TRACE o.h.type.descriptor.sql.BasicBinder - binding parameter [1] as [VARCHAR] - [%2%]
|
|
|
|
|
2025-10-16 16:47:16 [http-nio-8080-exec-3] INFO c.q.m.controller.MessageController - 接收获取所有消息的请求
|
|
|
|
|
2025-10-16 16:47:16 [http-nio-8080-exec-3] INFO c.q.m.service.MessageService - 查询所有消息
|
|
|
|
|
2025-10-16 16:47:28 [http-nio-8080-exec-4] INFO c.q.m.controller.MessageController - 接收获取所有消息的请求
|
|
|
|
|
2025-10-16 16:47:28 [http-nio-8080-exec-4] INFO c.q.m.service.MessageService - 查询所有消息
|
|
|
|
|
2025-10-16 17:07:29 [SpringApplicationShutdownHook] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default'
|
|
|
|
|
2025-10-16 17:07:29 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource - WebProjectHikariCP - Shutdown initiated...
|
|
|
|
|
2025-10-16 17:07:29 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource - WebProjectHikariCP - Shutdown completed.
|
|
|
|
|
|