No mapping found for HTTP request with URI [/brand/findAll.do] in DispatcherServlet with name 'sprin

本文详细介绍了在使用SpringMVC框架时遇到的一个常见问题:URL映射不匹配导致的请求无法处理。通过具体案例分析了问题产生的原因,并给出了有效的解决办法。

No mapping found for HTTP request with URI [/brand/findAll.do] in DispatcherServlet with name 'springmvc'

一 原因: No mapping found

二 解决:

    1 .看请求的url与设置的requestMapping("/findAll")是否相同

    我的错误就在这里

      requestMapping("findALl")       l大写了
      url:    http://localhost:9101/findAll.do    而url中findAll是l小写的

 

   2. 看看注解扫描的包是否正确



2025-10-22 22:31:38 DEBUG DispatcherServlet:865 - DispatcherServlet with name 'springMVC' processing GET request for [/] 2025-10-22 22:31:38 DEBUG RequestMappingHandlerMapping:310 - Looking up handler method for path /index.html 2025-10-22 22:31:38 DEBUG RequestMappingHandlerMapping:320 - Did not find handler method for [/index.html] 2025-10-22 22:31:38 DEBUG SimpleUrlHandlerMapping:190 - Matching patterns for request [/index.html] are [/**] 2025-10-22 22:31:38 DEBUG SimpleUrlHandlerMapping:219 - URI Template variables for request [/index.html] are {} 2025-10-22 22:31:38 DEBUG SimpleUrlHandlerMapping:140 - Mapping [/index.html] to HandlerExecutionChain with handler [ResourceHttpRequestHandler [locations=[ServletContext resource [/WEB-INF/views/]], resolvers=[org.springframework.web.servlet.resource.PathResourceResolver@2d8a68cc]]] and 1 interceptor 2025-10-22 22:31:38 DEBUG DispatcherServlet:951 - Last-Modified value for [/] is: -1 2025-10-22 22:31:38 DEBUG DispatcherServlet:1044 - Null ModelAndView returned to DispatcherServlet with name 'springMVC': assuming HandlerAdapter completed request handling 2025-10-22 22:31:38 DEBUG DispatcherServlet:1000 - Successfully completed request 2025-10-22 22:31:55 DEBUG DispatcherServlet:865 - DispatcherServlet with name 'springMVC' processing GET request for [/user/list] 2025-10-22 22:31:55 DEBUG RequestMappingHandlerMapping:310 - Looking up handler method for path /user/list 2025-10-22 22:31:55 DEBUG RequestMappingHandlerMapping:317 - Returning handler method [public java.lang.String com.yourcompany.controller.UserController.getUserList(org.springframework.ui.Model)] 2025-10-22 22:31:55 DEBUG DefaultListableBeanFactory:251 - Returning cached instance of singleton bean 'userController' 2025-10-22 22:31:55 DEBUG DispatcherServlet:951 - Last-Modified value for [/user/list] is: -1 22:31:55.701 [http-nio-8080-exec-9] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession 22:31:55.707 [http-nio-8080-exec-9] DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@3b91154] was not registered for synchronization because synchronization is not active 2025-10-22 22:31:55 DEBUG DataSourceUtils:110 - Fetching JDBC Connection from DataSource 22:31:55.750 [http-nio-8080-exec-9] INFO com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource - Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, contextClassLoaderSource -> caller, dataSourceName -> 1hgeirabe3f6je32dl1po|4b58de13, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, extensions -> {}, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, forceUseNamedDriverClass -> false, identityToken -> 1hgeirabe3f6je32dl1po|4b58de13, idleConnectionTestPeriod -> 300, initialPoolSize -> 3, jdbcUrl -> jdbc:mysql://localhost:3306/as3?serverTimezone=UTC&seUnicode=true&characterEncoding=utf8&useSSL=false, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 20, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 5, numHelperThreads -> 3, preferredTestQuery -> null, privilegeSpawnedThreads -> false, properties -> {user=******, password=******}, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, userOverrides -> {}, usesTraditionalReflectiveProxies -> false ] 22:31:55.766 [http-nio-8080-exec-9] DEBUG com.mchange.v2.cfg.MConfig - The configuration file for resource identifier '/mchange-commons.properties' could not be found. Skipping. 22:31:55.766 [http-nio-8080-exec-9] DEBUG com.mchange.v2.cfg.MConfig - The configuration file for resource identifier '/mchange-log.properties' could not be found. Skipping. 22:31:55.766 [http-nio-8080-exec-9] DEBUG com.mchange.v2.cfg.MConfig - The configuration file for resource identifier '/c3p0.properties' could not be found. Skipping. 22:31:55.766 [http-nio-8080-exec-9] DEBUG com.mchange.v2.cfg.MConfig - The configuration file for resource identifier 'hocon:/reference,/application,/c3p0,/' could not be found. Skipping. 22:31:55.766 [http-nio-8080-exec-9] WARN com.mchange.v2.resourcepool.BasicResourcePool - Bad pool size config, start 3 < min 5. Using 5 as start. 22:31:55.768 [http-nio-8080-exec-9] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - com.mchange.v2.resourcepool.BasicResourcePool@2541f640 config: [start -> 5; min -> 5; max -> 20; inc -> 3; num_acq_attempts -> 30; acq_attempt_delay -> 1000; check_idle_resources_delay -> 300000; max_resource_age -> 0; max_idle_time -> 0; excess_max_idle_time -> 0; destroy_unreturned_resc_time -> 0; expiration_enforcement_delay -> 0; break_on_acquisition_failure -> false; debug_store_checkout_exceptions -> false; force_synchronous_checkins -> false] 22:31:55.768 [http-nio-8080-exec-9] DEBUG com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager - Created new pool for auth, username (masked): 'ro******'. 22:31:55.768 [http-nio-8080-exec-9] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - acquire test -- pool size: 0; target_pool_size: 5; desired target? 1 22:31:55.768 [http-nio-8080-exec-9] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - awaitAvailable(): [unknown] 22:31:55.997 [http-nio-8080-exec-9] DEBUG org.mybatis.spring.transaction.SpringManagedTransaction - JDBC Connection [com.mchange.v2.c3p0.impl.NewProxyConnection@f47a4d7 [wrapping: com.mysql.jdbc.JDBC4Connection@2121fc6a]] will not be managed by Spring 22:31:56.003 [http-nio-8080-exec-9] DEBUG com.yourcompany.dao.UserMapper.getAllUsers - ==> Preparing: SELECT * FROM users 22:31:56.026 [http-nio-8080-exec-9] DEBUG com.yourcompany.dao.UserMapper.getAllUsers - ==> Parameters: 22:31:56.050 [http-nio-8080-exec-9] DEBUG com.yourcompany.dao.UserMapper.getAllUsers - <== Total: 1 22:31:56.054 [http-nio-8080-exec-9] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@3b91154] 2025-10-22 22:31:56 DEBUG DataSourceUtils:327 - Returning JDBC Connection to DataSource [User{id=1, name='111', email=11111}]jgeydugwu 2025-10-22 22:31:56 DEBUG DefaultListableBeanFactory:1631 - Invoking afterPropertiesSet() on bean with name 'userList' 2025-10-22 22:31:56 DEBUG DispatcherServlet:1251 - Rendering view [org.springframework.web.servlet.view.JstlView: name 'userList'; URL [/userList.html]] in DispatcherServlet with name 'springMVC' 2025-10-22 22:31:56 DEBUG JstlView:432 - Added model object 'user' of type [java.util.ArrayList] to request in view with name 'userList' 2025-10-22 22:31:56 DEBUG JstlView:166 - Forwarding to resource [/userList.html] in InternalResourceView 'userList' 2025-10-22 22:31:56 DEBUG DispatcherServlet:865 - DispatcherServlet with name 'springMVC' processing GET request for [/userList.html] 2025-10-22 22:31:56 DEBUG RequestMappingHandlerMapping:310 - Looking up handler method for path /userList.html 2025-10-22 22:31:56 DEBUG RequestMappingHandlerMapping:320 - Did not find handler method for [/userList.html] 2025-10-22 22:31:56 DEBUG SimpleUrlHandlerMapping:190 - Matching patterns for request [/userList.html] are [/**] 2025-10-22 22:31:56 DEBUG SimpleUrlHandlerMapping:219 - URI Template variables for request [/userList.html] are {} 2025-10-22 22:31:56 DEBUG SimpleUrlHandlerMapping:140 - Mapping [/userList.html] to HandlerExecutionChain with handler [ResourceHttpRequestHandler [locations=[ServletContext resource [/WEB-INF/views/]], resolvers=[org.springframework.web.servlet.resource.PathResourceResolver@2d8a68cc]]] and 1 interceptor 2025-10-22 22:31:56 DEBUG DispatcherServlet:951 - Last-Modified value for [/userList.html] is: -1 2025-10-22 22:31:56 DEBUG DispatcherServlet:1044 - Null ModelAndView returned to DispatcherServlet with name 'springMVC': assuming HandlerAdapter completed request handling 2025-10-22 22:31:56 DEBUG DispatcherServlet:1000 - Successfully completed request 2025-10-22 22:31:56 DEBUG DispatcherServlet:1000 - Successfully completed request 2025-10-22 22:32:09 DEBUG DispatcherServlet:865 - DispatcherServlet with name 'springMVC' processing GET request for [/user/list] 2025-10-22 22:32:09 DEBUG RequestMappingHandlerMapping:310 - Looking up handler method for path /user/list 2025-10-22 22:32:09 DEBUG RequestMappingHandlerMapping:317 - Returning handler method [public java.lang.String com.yourcompany.controller.UserController.getUserList(org.springframework.ui.Model)] 2025-10-22 22:32:09 DEBUG DefaultListableBeanFactory:251 - Returning cached instance of singleton bean 'userController' 2025-10-22 22:32:09 DEBUG DispatcherServlet:951 - Last-Modified value for [/user/list] is: -1 22:32:09.397 [http-nio-8080-exec-7] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession 22:32:09.397 [http-nio-8080-exec-7] DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@1459739] was not registered for synchronization because synchronization is not active 2025-10-22 22:32:09 DEBUG DataSourceUtils:110 - Fetching JDBC Connection from DataSource 22:32:09.398 [http-nio-8080-exec-7] DEBUG org.mybatis.spring.transaction.SpringManagedTransaction - JDBC Connection [com.mchange.v2.c3p0.impl.NewProxyConnection@bbdfc49 [wrapping: com.mysql.jdbc.JDBC4Connection@2121fc6a]] will not be managed by Spring 22:32:09.398 [http-nio-8080-exec-7] DEBUG com.yourcompany.dao.UserMapper.getAllUsers - ==> Preparing: SELECT * FROM users 22:32:09.398 [http-nio-8080-exec-7] DEBUG com.yourcompany.dao.UserMapper.getAllUsers - ==> Parameters: 22:32:09.399 [http-nio-8080-exec-7] DEBUG com.yourcompany.dao.UserMapper.getAllUsers - <== Total: 1 22:32:09.399 [http-nio-8080-exec-7] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@1459739] 2025-10-22 22:32:09 DEBUG DataSourceUtils:327 - Returning JDBC Connection to DataSource [User{id=1, name='111', email=11111}]jgeydugwu 2025-10-22 22:32:09 DEBUG DispatcherServlet:1251 - Rendering view [org.springframework.web.servlet.view.JstlView: name 'userList'; URL [/userList.html]] in DispatcherServlet with name 'springMVC' 2025-10-22 22:32:09 DEBUG JstlView:432 - Added model object 'user' of type [java.util.ArrayList] to request in view with name 'userList' 2025-10-22 22:32:09 DEBUG JstlView:166 - Forwarding to resource [/userList.html] in InternalResourceView 'userList' 2025-10-22 22:32:09 DEBUG DispatcherServlet:865 - DispatcherServlet with name 'springMVC' processing GET request for [/userList.html] 2025-10-22 22:32:09 DEBUG RequestMappingHandlerMapping:310 - Looking up handler method for path /userList.html 2025-10-22 22:32:09 DEBUG RequestMappingHandlerMapping:320 - Did not find handler method for [/userList.html] 2025-10-22 22:32:09 DEBUG SimpleUrlHandlerMapping:190 - Matching patterns for request [/userList.html] are [/**] 2025-10-22 22:32:09 DEBUG SimpleUrlHandlerMapping:219 - URI Template variables for request [/userList.html] are {} 2025-10-22 22:32:09 DEBUG SimpleUrlHandlerMapping:140 - Mapping [/userList.html] to HandlerExecutionChain with handler [ResourceHttpRequestHandler [locations=[ServletContext resource [/WEB-INF/views/]], resolvers=[org.springframework.web.servlet.resource.PathResourceResolver@2d8a68cc]]] and 1 interceptor 2025-10-22 22:32:09 DEBUG DispatcherServlet:951 - Last-Modified value for [/userList.html] is: -1 2025-10-22 22:32:09 DEBUG DispatcherServlet:1044 - Null ModelAndView returned to DispatcherServlet with name 'springMVC': assuming HandlerAdapter completed request handling 2025-10-22 22:32:09 DEBUG DispatcherServlet:1000 - Successfully completed request 2025-10-22 22:32:09 DEBUG DispatcherServlet:1000 - Successfully completed request 2025-10-22 22:32:10 DEBUG DispatcherServlet:865 - DispatcherServlet with name 'springMVC' processing GET request for [/user/list] 2025-10-22 22:32:10 DEBUG RequestMappingHandlerMapping:310 - Looking up handler method for path /user/list 2025-10-22 22:32:10 DEBUG RequestMappingHandlerMapping:317 - Returning handler method [public java.lang.String com.yourcompany.controller.UserController.getUserList(org.springframework.ui.Model)] 2025-10-22 22:32:10 DEBUG DefaultListableBeanFactory:251 - Returning cached instance of singleton bean 'userController' 2025-10-22 22:32:10 DEBUG DispatcherServlet:951 - Last-Modified value for [/user/list] is: -1 22:32:10.118 [http-nio-8080-exec-8] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession 22:32:10.119 [http-nio-8080-exec-8] DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@7cca23ef] was not registered for synchronization because synchronization is not active 2025-10-22 22:32:10 DEBUG DataSourceUtils:110 - Fetching JDBC Connection from DataSource 22:32:10.119 [http-nio-8080-exec-8] DEBUG org.mybatis.spring.transaction.SpringManagedTransaction - JDBC Connection [com.mchange.v2.c3p0.impl.NewProxyConnection@7632489f [wrapping: com.mysql.jdbc.JDBC4Connection@2121fc6a]] will not be managed by Spring 22:32:10.119 [http-nio-8080-exec-8] DEBUG com.yourcompany.dao.UserMapper.getAllUsers - ==> Preparing: SELECT * FROM users 22:32:10.119 [http-nio-8080-exec-8] DEBUG com.yourcompany.dao.UserMapper.getAllUsers - ==> Parameters: 22:32:10.120 [http-nio-8080-exec-8] DEBUG com.yourcompany.dao.UserMapper.getAllUsers - <== Total: 1 22:32:10.120 [http-nio-8080-exec-8] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@7cca23ef] 2025-10-22 22:32:10 DEBUG DataSourceUtils:327 - Returning JDBC Connection to DataSource [User{id=1, name='111', email=11111}]jgeydugwu 2025-10-22 22:32:10 DEBUG DispatcherServlet:1251 - Rendering view [org.springframework.web.servlet.view.JstlView: name 'userList'; URL [/userList.html]] in DispatcherServlet with name 'springMVC' 2025-10-22 22:32:10 DEBUG JstlView:432 - Added model object 'user' of type [java.util.ArrayList] to request in view with name 'userList' 2025-10-22 22:32:10 DEBUG JstlView:166 - Forwarding to resource [/userList.html] in InternalResourceView 'userList' 2025-10-22 22:32:10 DEBUG DispatcherServlet:865 - DispatcherServlet with name 'springMVC' processing GET request for [/userList.html] 2025-10-22 22:32:10 DEBUG RequestMappingHandlerMapping:310 - Looking up handler method for path /userList.html 2025-10-22 22:32:10 DEBUG RequestMappingHandlerMapping:320 - Did not find handler method for [/userList.html] 2025-10-22 22:32:10 DEBUG SimpleUrlHandlerMapping:190 - Matching patterns for request [/userList.html] are [/**] 2025-10-22 22:32:10 DEBUG SimpleUrlHandlerMapping:219 - URI Template variables for request [/userList.html] are {} 2025-10-22 22:32:10 DEBUG SimpleUrlHandlerMapping:140 - Mapping [/userList.html] to HandlerExecutionChain with handler [ResourceHttpRequestHandler [locations=[ServletContext resource [/WEB-INF/views/]], resolvers=[org.springframework.web.servlet.resource.PathResourceResolver@2d8a68cc]]] and 1 interceptor 2025-10-22 22:32:10 DEBUG DispatcherServlet:951 - Last-Modified value for [/userList.html] is: -1 2025-10-22 22:32:10 DEBUG DispatcherServlet:1044 - Null ModelAndView returned to DispatcherServlet with name 'springMVC': assuming HandlerAdapter completed request handling 2025-10-22 22:32:10 DEBUG DispatcherServlet:1000 - Successfully completed request 2025-10-22 22:32:10 DEBUG DispatcherServlet:1000 - Successfully completed request 2025-10-22 22:32:10 DEBUG DispatcherServlet:865 - DispatcherServlet with name 'springMVC' processing GET request for [/user/list] 2025-10-22 22:32:10 DEBUG RequestMappingHandlerMapping:310 - Looking up handler method for path /user/list 2025-10-22 22:32:10 DEBUG RequestMappingHandlerMapping:317 - Returning handler method [public java.lang.String com.yourcompany.controller.UserController.getUserList(org.springframework.ui.Model)] 2025-10-22 22:32:10 DEBUG DefaultListableBeanFactory:251 - Returning cached instance of singleton bean 'userController' 2025-10-22 22:32:10 DEBUG DispatcherServlet:951 - Last-Modified value for [/user/list] is: -1 22:32:10.320 [http-nio-8080-exec-10] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession 22:32:10.320 [http-nio-8080-exec-10] DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@774dded2] was not registered for synchronization because synchronization is not active 2025-10-22 22:32:10 DEBUG DataSourceUtils:110 - Fetching JDBC Connection from DataSource 22:32:10.320 [http-nio-8080-exec-10] DEBUG org.mybatis.spring.transaction.SpringManagedTransaction - JDBC Connection [com.mchange.v2.c3p0.impl.NewProxyConnection@7db5b5a2 [wrapping: com.mysql.jdbc.JDBC4Connection@2121fc6a]] will not be managed by Spring 22:32:10.320 [http-nio-8080-exec-10] DEBUG com.yourcompany.dao.UserMapper.getAllUsers - ==> Preparing: SELECT * FROM users 22:32:10.321 [http-nio-8080-exec-10] DEBUG com.yourcompany.dao.UserMapper.getAllUsers - ==> Parameters: 22:32:10.321 [http-nio-8080-exec-10] DEBUG com.yourcompany.dao.UserMapper.getAllUsers - <== Total: 1 22:32:10.321 [http-nio-8080-exec-10] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@774dded2] 2025-10-22 22:32:10 DEBUG DataSourceUtils:327 - Returning JDBC Connection to DataSource [User{id=1, name='111', email=11111}]jgeydugwu 2025-10-22 22:32:10 DEBUG DispatcherServlet:1251 - Rendering view [org.springframework.web.servlet.view.JstlView: name 'userList'; URL [/userList.html]] in DispatcherServlet with name 'springMVC' 2025-10-22 22:32:10 DEBUG JstlView:432 - Added model object 'user' of type [java.util.ArrayList] to request in view with name 'userList' 2025-10-22 22:32:10 DEBUG JstlView:166 - Forwarding to resource [/userList.html] in InternalResourceView 'userList' 2025-10-22 22:32:10 DEBUG DispatcherServlet:865 - DispatcherServlet with name 'springMVC' processing GET request for [/userList.html] 2025-10-22 22:32:10 DEBUG RequestMappingHandlerMapping:310 - Looking up handler method for path /userList.html 2025-10-22 22:32:10 DEBUG RequestMappingHandlerMapping:320 - Did not find handler method for [/userList.html] 2025-10-22 22:32:10 DEBUG SimpleUrlHandlerMapping:190 - Matching patterns for request [/userList.html] are [/**] 2025-10-22 22:32:10 DEBUG SimpleUrlHandlerMapping:219 - URI Template variables for request [/userList.html] are {} 2025-10-22 22:32:10 DEBUG SimpleUrlHandlerMapping:140 - Mapping [/userList.html] to HandlerExecutionChain with handler [ResourceHttpRequestHandler [locations=[ServletContext resource [/WEB-INF/views/]], resolvers=[org.springframework.web.servlet.resource.PathResourceResolver@2d8a68cc]]] and 1 interceptor 2025-10-22 22:32:10 DEBUG DispatcherServlet:951 - Last-Modified value for [/userList.html] is: -1 2025-10-22 22:32:10 DEBUG DispatcherServlet:1044 - Null ModelAndView returned to DispatcherServlet with name 'springMVC': assuming HandlerAdapter completed request handling 2025-10-22 22:32:10 DEBUG DispatcherServlet:1000 - Successfully completed request 2025-10-22 22:32:10 DEBUG DispatcherServlet:1000 - Successfully completed request 2025-10-22 22:32:10 DEBUG DispatcherServlet:865 - DispatcherServlet with name 'springMVC' processing GET request for [/user/list] 2025-10-22 22:32:10 DEBUG RequestMappingHandlerMapping:310 - Looking up handler method for path /user/list 2025-10-22 22:32:10 DEBUG RequestMappingHandlerMapping:317 - Returning handler method [public java.lang.String com.yourcompany.controller.UserController.getUserList(org.springframework.ui.Model)] 2025-10-22 22:32:10 DEBUG DefaultListableBeanFactory:251 - Returning cached instance of singleton bean 'userController' 2025-10-22 22:32:10 DEBUG DispatcherServlet:951 - Last-Modified value for [/user/list] is: -1 22:32:10.509 [http-nio-8080-exec-2] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession 22:32:10.509 [http-nio-8080-exec-2] DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@69d48655] was not registered for synchronization because synchronization is not active 2025-10-22 22:32:10 DEBUG DataSourceUtils:110 - Fetching JDBC Connection from DataSource 22:32:10.509 [http-nio-8080-exec-2] DEBUG org.mybatis.spring.transaction.SpringManagedTransaction - JDBC Connection [com.mchange.v2.c3p0.impl.NewProxyConnection@3ad758c4 [wrapping: com.mysql.jdbc.JDBC4Connection@2121fc6a]] will not be managed by Spring 22:32:10.509 [http-nio-8080-exec-2] DEBUG com.yourcompany.dao.UserMapper.getAllUsers - ==> Preparing: SELECT * FROM users 22:32:10.509 [http-nio-8080-exec-2] DEBUG com.yourcompany.dao.UserMapper.getAllUsers - ==> Parameters: 22:32:10.510 [http-nio-8080-exec-2] DEBUG com.yourcompany.dao.UserMapper.getAllUsers - <== Total: 1 22:32:10.510 [http-nio-8080-exec-2] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@69d48655] 2025-10-22 22:32:10 DEBUG DataSourceUtils:327 - Returning JDBC Connection to DataSource [User{id=1, name='111', email=11111}]jgeydugwu 2025-10-22 22:32:10 DEBUG DispatcherServlet:1251 - Rendering view [org.springframework.web.servlet.view.JstlView: name 'userList'; URL [/userList.html]] in DispatcherServlet with name 'springMVC' 2025-10-22 22:32:10 DEBUG JstlView:432 - Added model object 'user' of type [java.util.ArrayList] to request in view with name 'userList' 2025-10-22 22:32:10 DEBUG JstlView:166 - Forwarding to resource [/userList.html] in InternalResourceView 'userList' 2025-10-22 22:32:10 DEBUG DispatcherServlet:865 - DispatcherServlet with name 'springMVC' processing GET request for [/userList.html] 2025-10-22 22:32:10 DEBUG RequestMappingHandlerMapping:310 - Looking up handler method for path /userList.html 2025-10-22 22:32:10 DEBUG RequestMappingHandlerMapping:320 - Did not find handler method for [/userList.html] 2025-10-22 22:32:10 DEBUG SimpleUrlHandlerMapping:190 - Matching patterns for request [/userList.html] are [/**] 2025-10-22 22:32:10 DEBUG SimpleUrlHandlerMapping:219 - URI Template variables for request [/userList.html] are {} 2025-10-22 22:32:10 DEBUG SimpleUrlHandlerMapping:140 - Mapping [/userList.html] to HandlerExecutionChain with handler [ResourceHttpRequestHandler [locations=[ServletContext resource [/WEB-INF/views/]], resolvers=[org.springframework.web.servlet.resource.PathResourceResolver@2d8a68cc]]] and 1 interceptor 2025-10-22 22:32:10 DEBUG DispatcherServlet:951 - Last-Modified value for [/userList.html] is: -1 2025-10-22 22:32:10 DEBUG DispatcherServlet:1044 - Null ModelAndView returned to DispatcherServlet with name 'springMVC': assuming HandlerAdapter completed request handling 2025-10-22 22:32:10 DEBUG DispatcherServlet:1000 - Successfully completed request 2025-10-22 22:32:10 DEBUG DispatcherServlet:1000 - Successfully completed request 2025-10-22 22:32:10 DEBUG DispatcherServlet:865 - DispatcherServlet with name 'springMVC' processing GET request for [/user/list] 2025-10-22 22:32:10 DEBUG RequestMappingHandlerMapping:310 - Looking up handler method for path /user/list 2025-10-22 22:32:10 DEBUG RequestMappingHandlerMapping:317 - Returning handler method [public java.lang.String com.yourcompany.controller.UserController.getUserList(org.springframework.ui.Model)] 2025-10-22 22:32:10 DEBUG DefaultListableBeanFactory:251 - Returning cached instance of singleton bean 'userController' 2025-10-22 22:32:10 DEBUG DispatcherServlet:951 - Last-Modified value for [/user/list] is: -1 22:32:10.695 [http-nio-8080-exec-1] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession 22:32:10.695 [http-nio-8080-exec-1] DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@440a7656] was not registered for synchronization because synchronization is not active 2025-10-22 22:32:10 DEBUG DataSourceUtils:110 - Fetching JDBC Connection from DataSource 22:32:10.695 [http-nio-8080-exec-1] DEBUG org.mybatis.spring.transaction.SpringManagedTransaction - JDBC Connection [com.mchange.v2.c3p0.impl.NewProxyConnection@4ef21d26 [wrapping: com.mysql.jdbc.JDBC4Connection@2121fc6a]] will not be managed by Spring 22:32:10.695 [http-nio-8080-exec-1] DEBUG com.yourcompany.dao.UserMapper.getAllUsers - ==> Preparing: SELECT * FROM users 22:32:10.695 [http-nio-8080-exec-1] DEBUG com.yourcompany.dao.UserMapper.getAllUsers - ==> Parameters: 22:32:10.697 [http-nio-8080-exec-1] DEBUG com.yourcompany.dao.UserMapper.getAllUsers - <== Total: 1 22:32:10.697 [http-nio-8080-exec-1] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@440a7656] 2025-10-22 22:32:10 DEBUG DataSourceUtils:327 - Returning JDBC Connection to DataSource [User{id=1, name='111', email=11111}]jgeydugwu 2025-10-22 22:32:10 DEBUG DispatcherServlet:1251 - Rendering view [org.springframework.web.servlet.view.JstlView: name 'userList'; URL [/userList.html]] in DispatcherServlet with name 'springMVC' 2025-10-22 22:32:10 DEBUG JstlView:432 - Added model object 'user' of type [java.util.ArrayList] to request in view with name 'userList' 2025-10-22 22:32:10 DEBUG JstlView:166 - Forwarding to resource [/userList.html] in InternalResourceView 'userList' 2025-10-22 22:32:10 DEBUG DispatcherServlet:865 - DispatcherServlet with name 'springMVC' processing GET request for [/userList.html] 2025-10-22 22:32:10 DEBUG RequestMappingHandlerMapping:310 - Looking up handler method for path /userList.html 2025-10-22 22:32:10 DEBUG RequestMappingHandlerMapping:320 - Did not find handler method for [/userList.html] 2025-10-22 22:32:10 DEBUG SimpleUrlHandlerMapping:190 - Matching patterns for request [/userList.html] are [/**] 2025-10-22 22:32:10 DEBUG SimpleUrlHandlerMapping:219 - URI Template variables for request [/userList.html] are {} 2025-10-22 22:32:10 DEBUG SimpleUrlHandlerMapping:140 - Mapping [/userList.html] to HandlerExecutionChain with handler [ResourceHttpRequestHandler [locations=[ServletContext resource [/WEB-INF/views/]], resolvers=[org.springframework.web.servlet.resource.PathResourceResolver@2d8a68cc]]] and 1 interceptor 2025-10-22 22:32:10 DEBUG DispatcherServlet:951 - Last-Modified value for [/userList.html] is: -1 2025-10-22 22:32:10 DEBUG DispatcherServlet:1044 - Null ModelAndView returned to DispatcherServlet with name 'springMVC': assuming HandlerAdapter completed request handling 2025-10-22 22:32:10 DEBUG DispatcherServlet:1000 - Successfully completed request 2025-10-22 22:32:10 DEBUG DispatcherServlet:1000 - Successfully completed request 2025-10-22 22:32:10 DEBUG DispatcherServlet:865 - DispatcherServlet with name 'springMVC' processing GET request for [/user/list] 2025-10-22 22:32:10 DEBUG RequestMappingHandlerMapping:310 - Looking up handler method for path /user/list 2025-10-22 22:32:10 DEBUG RequestMappingHandlerMapping:317 - Returning handler method [public java.lang.String com.yourcompany.controller.UserController.getUserList(org.springframework.ui.Model)] 2025-10-22 22:32:10 DEBUG DefaultListableBeanFactory:251 - Returning cached instance of singleton bean 'userController' 2025-10-22 22:32:10 DEBUG DispatcherServlet:951 - Last-Modified value for [/user/list] is: -1 22:32:10.903 [http-nio-8080-exec-3] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession 22:32:10.903 [http-nio-8080-exec-3] DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@4f16f8e4] was not registered for synchronization because synchronization is not active 2025-10-22 22:32:10 DEBUG DataSourceUtils:110 - Fetching JDBC Connection from DataSource 22:32:10.903 [http-nio-8080-exec-3] DEBUG org.mybatis.spring.transaction.SpringManagedTransaction - JDBC Connection [com.mchange.v2.c3p0.impl.NewProxyConnection@fa43cca [wrapping: com.mysql.jdbc.JDBC4Connection@2121fc6a]] will not be managed by Spring 22:32:10.903 [http-nio-8080-exec-3] DEBUG com.yourcompany.dao.UserMapper.getAllUsers - ==> Preparing: SELECT * FROM users 22:32:10.904 [http-nio-8080-exec-3] DEBUG com.yourcompany.dao.UserMapper.getAllUsers - ==> Parameters: 22:32:10.905 [http-nio-8080-exec-3] DEBUG com.yourcompany.dao.UserMapper.getAllUsers - <== Total: 1 22:32:10.905 [http-nio-8080-exec-3] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@4f16f8e4] 2025-10-22 22:32:10 DEBUG DataSourceUtils:327 - Returning JDBC Connection to DataSource [User{id=1, name='111', email=11111}]jgeydugwu 2025-10-22 22:32:10 DEBUG DispatcherServlet:1251 - Rendering view [org.springframework.web.servlet.view.JstlView: name 'userList'; URL [/userList.html]] in DispatcherServlet with name 'springMVC' 2025-10-22 22:32:10 DEBUG JstlView:432 - Added model object 'user' of type [java.util.ArrayList] to request in view with name 'userList' 2025-10-22 22:32:10 DEBUG JstlView:166 - Forwarding to resource [/userList.html] in InternalResourceView 'userList' 2025-10-22 22:32:10 DEBUG DispatcherServlet:865 - DispatcherServlet with name 'springMVC' processing GET request for [/userList.html] 2025-10-22 22:32:10 DEBUG RequestMappingHandlerMapping:310 - Looking up handler method for path /userList.html 2025-10-22 22:32:10 DEBUG RequestMappingHandlerMapping:320 - Did not find handler method for [/userList.html] 2025-10-22 22:32:10 DEBUG SimpleUrlHandlerMapping:190 - Matching patterns for request [/userList.html] are [/**] 2025-10-22 22:32:10 DEBUG SimpleUrlHandlerMapping:219 - URI Template variables for request [/userList.html] are {} 2025-10-22 22:32:10 DEBUG SimpleUrlHandlerMapping:140 - Mapping [/userList.html] to HandlerExecutionChain with handler [ResourceHttpRequestHandler [locations=[ServletContext resource [/WEB-INF/views/]], resolvers=[org.springframework.web.servlet.resource.PathResourceResolver@2d8a68cc]]] and 1 interceptor 2025-10-22 22:32:10 DEBUG DispatcherServlet:951 - Last-Modified value for [/userList.html] is: -1 2025-10-22 22:32:10 DEBUG DispatcherServlet:1044 - Null ModelAndView returned to DispatcherServlet with name 'springMVC': assuming HandlerAdapter completed request handling 2025-10-22 22:32:10 DEBUG DispatcherServlet:1000 - Successfully completed request 2025-10-22 22:32:10 DEBUG DispatcherServlet:1000 - Successfully completed request 2025-10-22 22:32:11 DEBUG DispatcherServlet:865 - DispatcherServlet with name 'springMVC' processing GET request for [/user/list] 2025-10-22 22:32:11 DEBUG RequestMappingHandlerMapping:310 - Looking up handler method for path /user/list 2025-10-22 22:32:11 DEBUG RequestMappingHandlerMapping:317 - Returning handler method [public java.lang.String com.yourcompany.controller.UserController.getUserList(org.springframework.ui.Model)] 2025-10-22 22:32:11 DEBUG DefaultListableBeanFactory:251 - Returning cached instance of singleton bean 'userController' 2025-10-22 22:32:11 DEBUG DispatcherServlet:951 - Last-Modified value for [/user/list] is: -1 22:32:11.112 [http-nio-8080-exec-5] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession 22:32:11.112 [http-nio-8080-exec-5] DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@5d865fa1] was not registered for synchronization because synchronization is not active 2025-10-22 22:32:11 DEBUG DataSourceUtils:110 - Fetching JDBC Connection from DataSource 22:32:11.112 [http-nio-8080-exec-5] DEBUG org.mybatis.spring.transaction.SpringManagedTransaction - JDBC Connection [com.mchange.v2.c3p0.impl.NewProxyConnection@6ff6baeb [wrapping: com.mysql.jdbc.JDBC4Connection@2121fc6a]] will not be managed by Spring 22:32:11.112 [http-nio-8080-exec-5] DEBUG com.yourcompany.dao.UserMapper.getAllUsers - ==> Preparing: SELECT * FROM users 22:32:11.112 [http-nio-8080-exec-5] DEBUG com.yourcompany.dao.UserMapper.getAllUsers - ==> Parameters: 22:32:11.113 [http-nio-8080-exec-5] DEBUG com.yourcompany.dao.UserMapper.getAllUsers - <== Total: 1 22:32:11.113 [http-nio-8080-exec-5] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@5d865fa1] 2025-10-22 22:32:11 DEBUG DataSourceUtils:327 - Returning JDBC Connection to DataSource [User{id=1, name='111', email=11111}]jgeydugwu 2025-10-22 22:32:11 DEBUG DispatcherServlet:1251 - Rendering view [org.springframework.web.servlet.view.JstlView: name 'userList'; URL [/userList.html]] in DispatcherServlet with name 'springMVC' 2025-10-22 22:32:11 DEBUG JstlView:432 - Added model object 'user' of type [java.util.ArrayList] to request in view with name 'userList' 2025-10-22 22:32:11 DEBUG JstlView:166 - Forwarding to resource [/userList.html] in InternalResourceView 'userList' 2025-10-22 22:32:11 DEBUG DispatcherServlet:865 - DispatcherServlet with name 'springMVC' processing GET request for [/userList.html] 2025-10-22 22:32:11 DEBUG RequestMappingHandlerMapping:310 - Looking up handler method for path /userList.html 2025-10-22 22:32:11 DEBUG RequestMappingHandlerMapping:320 - Did not find handler method for [/userList.html] 2025-10-22 22:32:11 DEBUG SimpleUrlHandlerMapping:190 - Matching patterns for request [/userList.html] are [/**] 2025-10-22 22:32:11 DEBUG SimpleUrlHandlerMapping:219 - URI Template variables for request [/userList.html] are {} 2025-10-22 22:32:11 DEBUG SimpleUrlHandlerMapping:140 - Mapping [/userList.html] to HandlerExecutionChain with handler [ResourceHttpRequestHandler [locations=[ServletContext resource [/WEB-INF/views/]], resolvers=[org.springframework.web.servlet.resource.PathResourceResolver@2d8a68cc]]] and 1 interceptor 2025-10-22 22:32:11 DEBUG DispatcherServlet:951 - Last-Modified value for [/userList.html] is: -1 2025-10-22 22:32:11 DEBUG DispatcherServlet:1044 - Null ModelAndView returned to DispatcherServlet with name 'springMVC': assuming HandlerAdapter completed request handling 2025-10-22 22:32:11 DEBUG DispatcherServlet:1000 - Successfully completed request 2025-10-22 22:32:11 DEBUG DispatcherServlet:1000 - Successfully completed request
10-23
2025-10-22 21:06:30 DEBUG DispatcherServlet:865 - DispatcherServlet with name 'springMVC' processing GET request for [/list] 2025-10-22 21:06:30 DEBUG RequestMappingHandlerMapping:310 - Looking up handler method for path /list 2025-10-22 21:06:30 DEBUG RequestMappingHandlerMapping:317 - Returning handler method [public java.lang.String com.yourcompany.controller.UserController.getUserList(org.springframework.ui.Model)] 2025-10-22 21:06:30 DEBUG DefaultListableBeanFactory:251 - Returning cached instance of singleton bean 'userController' 2025-10-22 21:06:30 DEBUG DispatcherServlet:951 - Last-Modified value for [/list] is: -1 21:06:30.561 [http-nio-8080-exec-7] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession 21:06:30.566 [http-nio-8080-exec-7] DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@14e38a46] was not registered for synchronization because synchronization is not active 2025-10-22 21:06:30 DEBUG DataSourceUtils:110 - Fetching JDBC Connection from DataSource 21:06:30.610 [http-nio-8080-exec-7] INFO com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource - Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, contextClassLoaderSource -> caller, dataSourceName -> 1hgeirabe3c42rl1x8q6m|7e251c25, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, extensions -> {}, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, forceUseNamedDriverClass -> false, identityToken -> 1hgeirabe3c42rl1x8q6m|7e251c25, idleConnectionTestPeriod -> 300, initialPoolSize -> 3, jdbcUrl -> jdbc:mysql://localhost:3306/as3?serverTimezone=UTC&seUnicode=true&characterEncoding=utf8&useSSL=false, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 20, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 5, numHelperThreads -> 3, preferredTestQuery -> null, privilegeSpawnedThreads -> false, properties -> {user=******, password=******}, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, userOverrides -> {}, usesTraditionalReflectiveProxies -> false ] 21:06:30.627 [http-nio-8080-exec-7] DEBUG com.mchange.v2.cfg.MConfig - The configuration file for resource identifier '/mchange-commons.properties' could not be found. Skipping. 21:06:30.627 [http-nio-8080-exec-7] DEBUG com.mchange.v2.cfg.MConfig - The configuration file for resource identifier '/mchange-log.properties' could not be found. Skipping. 21:06:30.627 [http-nio-8080-exec-7] DEBUG com.mchange.v2.cfg.MConfig - The configuration file for resource identifier '/c3p0.properties' could not be found. Skipping. 21:06:30.627 [http-nio-8080-exec-7] DEBUG com.mchange.v2.cfg.MConfig - The configuration file for resource identifier 'hocon:/reference,/application,/c3p0,/' could not be found. Skipping. 21:06:30.627 [http-nio-8080-exec-7] WARN com.mchange.v2.resourcepool.BasicResourcePool - Bad pool size config, start 3 < min 5. Using 5 as start. 21:06:30.629 [http-nio-8080-exec-7] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - com.mchange.v2.resourcepool.BasicResourcePool@37b32fb4 config: [start -> 5; min -> 5; max -> 20; inc -> 3; num_acq_attempts -> 30; acq_attempt_delay -> 1000; check_idle_resources_delay -> 300000; max_resource_age -> 0; max_idle_time -> 0; excess_max_idle_time -> 0; destroy_unreturned_resc_time -> 0; expiration_enforcement_delay -> 0; break_on_acquisition_failure -> false; debug_store_checkout_exceptions -> false; force_synchronous_checkins -> false] 21:06:30.629 [http-nio-8080-exec-7] DEBUG com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager - Created new pool for auth, username (masked): 'ro******'. 21:06:30.630 [http-nio-8080-exec-7] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - acquire test -- pool size: 0; target_pool_size: 5; desired target? 1 21:06:30.630 [http-nio-8080-exec-7] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - awaitAvailable(): [unknown] 21:06:30.865 [http-nio-8080-exec-7] DEBUG org.mybatis.spring.transaction.SpringManagedTransaction - JDBC Connection [com.mchange.v2.c3p0.impl.NewProxyConnection@5923328a [wrapping: com.mysql.jdbc.JDBC4Connection@e344df4]] will not be managed by Spring 21:06:30.871 [http-nio-8080-exec-7] DEBUG com.yourcompany.dao.UserMapper.getAllUsers - ==> Preparing: SELECT * FROM users 21:06:30.894 [http-nio-8080-exec-7] DEBUG com.yourcompany.dao.UserMapper.getAllUsers - ==> Parameters: 21:06:30.919 [http-nio-8080-exec-7] DEBUG com.yourcompany.dao.UserMapper.getAllUsers - <== Total: 1 21:06:30.924 [http-nio-8080-exec-7] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@14e38a46] 2025-10-22 21:06:30 DEBUG DataSourceUtils:327 - Returning JDBC Connection to DataSource [User{id=1, name='111', email=11111}] 2025-10-22 21:06:30 DEBUG DefaultListableBeanFactory:1631 - Invoking afterPropertiesSet() on bean with name 'userList' 2025-10-22 21:06:30 DEBUG DispatcherServlet:1251 - Rendering view [org.springframework.web.servlet.view.JstlView: name 'userList'; URL [/WEB-INF/views/userList.html]] in DispatcherServlet with name 'springMVC' 2025-10-22 21:06:30 DEBUG JstlView:432 - Added model object 'userList' of type [java.util.ArrayList] to request in view with name 'userList' 2025-10-22 21:06:30 DEBUG JstlView:166 - Forwarding to resource [/WEB-INF/views/userList.html] in InternalResourceView 'userList' 2025-10-22 21:06:30 DEBUG DispatcherServlet:865 - DispatcherServlet with name 'springMVC' processing GET request for [/WEB-INF/views/userList.html] 2025-10-22 21:06:30 DEBUG RequestMappingHandlerMapping:310 - Looking up handler method for path /WEB-INF/views/userList.html 2025-10-22 21:06:30 DEBUG RequestMappingHandlerMapping:320 - Did not find handler method for [/WEB-INF/views/userList.html] 2025-10-22 21:06:30 DEBUG SimpleUrlHandlerMapping:190 - Matching patterns for request [/WEB-INF/views/userList.html] are [/**] 2025-10-22 21:06:30 DEBUG SimpleUrlHandlerMapping:219 - URI Template variables for request [/WEB-INF/views/userList.html] are {} 2025-10-22 21:06:30 DEBUG SimpleUrlHandlerMapping:140 - Mapping [/WEB-INF/views/userList.html] to HandlerExecutionChain with handler [ResourceHttpRequestHandler [locations=[ServletContext resource [/WEB-INF/views/]], resolvers=[org.springframework.web.servlet.resource.PathResourceResolver@73e5836d]]] and 1 interceptor 2025-10-22 21:06:30 DEBUG DispatcherServlet:951 - Last-Modified value for [/WEB-INF/views/userList.html] is: -1 2025-10-22 21:06:30 DEBUG DispatcherServlet:1044 - Null ModelAndView returned to DispatcherServlet with name 'springMVC': assuming HandlerAdapter completed request handling 2025-10-22 21:06:30 DEBUG DispatcherServlet:1000 - Successfully completed request 2025-10-22 21:06:30 DEBUG DispatcherServlet:1000 - Successfully completed request
10-23
2025-10-23 16:04:19 DEBUG DispatcherServlet:865 - DispatcherServlet with name 'springMVC' processing GET request for [/user/list] 2025-10-23 16:04:19 DEBUG RequestMappingHandlerMapping:310 - Looking up handler method for path /user/list 2025-10-23 16:04:19 DEBUG RequestMappingHandlerMapping:317 - Returning handler method [public java.lang.String com.yourcompany.controller.UserController.getUserList(org.springframework.ui.Model)] 2025-10-23 16:04:19 DEBUG DefaultListableBeanFactory:251 - Returning cached instance of singleton bean 'userController' 2025-10-23 16:04:19 DEBUG DispatcherServlet:951 - Last-Modified value for [/user/list] is: -1 16:04:19.343 [http-nio-8080-exec-3] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession 16:04:19.350 [http-nio-8080-exec-3] DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@4991572] was not registered for synchronization because synchronization is not active 2025-10-23 16:04:19 DEBUG DataSourceUtils:110 - Fetching JDBC Connection from DataSource 16:04:19.440 [http-nio-8080-exec-3] INFO com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource - Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, contextClassLoaderSource -> caller, dataSourceName -> 1hge6yybe4gs89r1q2nsaf|10ed5253, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, extensions -> {}, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, forceUseNamedDriverClass -> false, identityToken -> 1hge6yybe4gs89r1q2nsaf|10ed5253, idleConnectionTestPeriod -> 300, initialPoolSize -> 3, jdbcUrl -> jdbc:mysql://localhost:3306/as3?useUnicode=true&characterEncoding=UTF-8, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 20, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 5, numHelperThreads -> 3, preferredTestQuery -> null, privilegeSpawnedThreads -> false, properties -> {user=******, password=******}, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, userOverrides -> {}, usesTraditionalReflectiveProxies -> false ] 16:04:19.457 [http-nio-8080-exec-3] DEBUG com.mchange.v2.cfg.MConfig - The configuration file for resource identifier '/mchange-commons.properties' could not be found. Skipping. 16:04:19.457 [http-nio-8080-exec-3] DEBUG com.mchange.v2.cfg.MConfig - The configuration file for resource identifier '/mchange-log.properties' could not be found. Skipping. 16:04:19.457 [http-nio-8080-exec-3] DEBUG com.mchange.v2.cfg.MConfig - The configuration file for resource identifier '/c3p0.properties' could not be found. Skipping. 16:04:19.457 [http-nio-8080-exec-3] DEBUG com.mchange.v2.cfg.MConfig - The configuration file for resource identifier 'hocon:/reference,/application,/c3p0,/' could not be found. Skipping. 16:04:19.457 [http-nio-8080-exec-3] WARN com.mchange.v2.resourcepool.BasicResourcePool - Bad pool size config, start 3 < min 5. Using 5 as start. 16:04:19.459 [http-nio-8080-exec-3] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - com.mchange.v2.resourcepool.BasicResourcePool@158df5a3 config: [start -> 5; min -> 5; max -> 20; inc -> 3; num_acq_attempts -> 30; acq_attempt_delay -> 1000; check_idle_resources_delay -> 300000; max_resource_age -> 0; max_idle_time -> 0; excess_max_idle_time -> 0; destroy_unreturned_resc_time -> 0; expiration_enforcement_delay -> 0; break_on_acquisition_failure -> false; debug_store_checkout_exceptions -> false; force_synchronous_checkins -> false] 16:04:19.459 [http-nio-8080-exec-3] DEBUG com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager - Created new pool for auth, username (masked): 'ro******'. 16:04:19.459 [http-nio-8080-exec-3] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - acquire test -- pool size: 0; target_pool_size: 5; desired target? 1 16:04:19.459 [http-nio-8080-exec-3] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - awaitAvailable(): [unknown] 16:04:19.693 [http-nio-8080-exec-3] DEBUG org.mybatis.spring.transaction.SpringManagedTransaction - JDBC Connection [com.mchange.v2.c3p0.impl.NewProxyConnection@1be497fe [wrapping: com.mysql.jdbc.JDBC4Connection@48b0a4c5]] will not be managed by Spring 16:04:19.700 [http-nio-8080-exec-3] DEBUG com.yourcompany.dao.UserMapper.getAllUsers - ==> Preparing: SELECT * FROM user 16:04:19.724 [http-nio-8080-exec-3] DEBUG com.yourcompany.dao.UserMapper.getAllUsers - ==> Parameters: 16:04:19.750 [http-nio-8080-exec-3] DEBUG com.yourcompany.dao.UserMapper.getAllUsers - <== Total: 1 16:04:19.755 [http-nio-8080-exec-3] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@4991572] 2025-10-23 16:04:19 DEBUG DataSourceUtils:327 - Returning JDBC Connection to DataSource [User{id=1, name='111', email=11111}]jgeydugwu 2025-10-23 16:04:19 DEBUG DefaultListableBeanFactory:1631 - Invoking afterPropertiesSet() on bean with name 'userList' 2025-10-23 16:04:19 DEBUG DispatcherServlet:1251 - Rendering view [org.springframework.web.servlet.view.JstlView: name 'userList'; URL [/userList.html]] in DispatcherServlet with name 'springMVC' 2025-10-23 16:04:19 DEBUG JstlView:432 - Added model object 'user' of type [java.util.ArrayList] to request in view with name 'userList' 2025-10-23 16:04:19 DEBUG JstlView:166 - Forwarding to resource [/userList.html] in InternalResourceView 'userList' 2025-10-23 16:04:19 DEBUG DispatcherServlet:865 - DispatcherServlet with name 'springMVC' processing GET request for [/userList.html] 2025-10-23 16:04:19 DEBUG RequestMappingHandlerMapping:310 - Looking up handler method for path /userList.html 2025-10-23 16:04:19 DEBUG RequestMappingHandlerMapping:320 - Did not find handler method for [/userList.html] 2025-10-23 16:04:19 DEBUG SimpleUrlHandlerMapping:190 - Matching patterns for request [/userList.html] are [/**] 2025-10-23 16:04:19 DEBUG SimpleUrlHandlerMapping:219 - URI Template variables for request [/userList.html] are {} 2025-10-23 16:04:19 DEBUG SimpleUrlHandlerMapping:140 - Mapping [/userList.html] to HandlerExecutionChain with handler [ResourceHttpRequestHandler [locations=[ServletContext resource [/WEB-INF/views/]], resolvers=[org.springframework.web.servlet.resource.PathResourceResolver@246610]]] and 1 interceptor 2025-10-23 16:04:19 DEBUG DispatcherServlet:951 - Last-Modified value for [/userList.html] is: -1 2025-10-23 16:04:19 DEBUG DispatcherServlet:1044 - Null ModelAndView returned to DispatcherServlet with name 'springMVC': assuming HandlerAdapter completed request handling 2025-10-23 16:04:19 DEBUG DispatcherServlet:1000 - Successfully completed request 2025-10-23 16:04:19 DEBUG DispatcherServlet:1000 - Successfully completed request
最新发布
10-24
2025-10-22 22:02:26 DEBUG DispatcherServlet:865 - DispatcherServlet with name 'springMVC' processing GET request for [/list] 2025-10-22 22:02:26 DEBUG RequestMappingHandlerMapping:310 - Looking up handler method for path /list 2025-10-22 22:02:26 DEBUG RequestMappingHandlerMapping:317 - Returning handler method [public java.lang.String com.yourcompany.controller.UserController.getUserList(org.springframework.ui.Model)] 2025-10-22 22:02:26 DEBUG DefaultListableBeanFactory:251 - Returning cached instance of singleton bean 'userController' 2025-10-22 22:02:26 DEBUG DispatcherServlet:951 - Last-Modified value for [/list] is: -1 22:02:26.568 [http-nio-8080-exec-2] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession 22:02:26.573 [http-nio-8080-exec-2] DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@40a594c4] was not registered for synchronization because synchronization is not active 2025-10-22 22:02:26 DEBUG DataSourceUtils:110 - Fetching JDBC Connection from DataSource 22:02:26.613 [http-nio-8080-exec-2] INFO com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource - Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, contextClassLoaderSource -> caller, dataSourceName -> 1hgeirabe3e4xhqer7gp8|3b2a5f67, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, extensions -> {}, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, forceUseNamedDriverClass -> false, identityToken -> 1hgeirabe3e4xhqer7gp8|3b2a5f67, idleConnectionTestPeriod -> 300, initialPoolSize -> 3, jdbcUrl -> jdbc:mysql://localhost:3306/as3?serverTimezone=UTC&seUnicode=true&characterEncoding=utf8&useSSL=false, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 20, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 5, numHelperThreads -> 3, preferredTestQuery -> null, privilegeSpawnedThreads -> false, properties -> {user=******, password=******}, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, userOverrides -> {}, usesTraditionalReflectiveProxies -> false ] 22:02:26.628 [http-nio-8080-exec-2] DEBUG com.mchange.v2.cfg.MConfig - The configuration file for resource identifier '/mchange-commons.properties' could not be found. Skipping. 22:02:26.628 [http-nio-8080-exec-2] DEBUG com.mchange.v2.cfg.MConfig - The configuration file for resource identifier '/mchange-log.properties' could not be found. Skipping. 22:02:26.628 [http-nio-8080-exec-2] DEBUG com.mchange.v2.cfg.MConfig - The configuration file for resource identifier '/c3p0.properties' could not be found. Skipping. 22:02:26.628 [http-nio-8080-exec-2] DEBUG com.mchange.v2.cfg.MConfig - The configuration file for resource identifier 'hocon:/reference,/application,/c3p0,/' could not be found. Skipping. 22:02:26.628 [http-nio-8080-exec-2] WARN com.mchange.v2.resourcepool.BasicResourcePool - Bad pool size config, start 3 < min 5. Using 5 as start. 22:02:26.630 [http-nio-8080-exec-2] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - com.mchange.v2.resourcepool.BasicResourcePool@49a00888 config: [start -> 5; min -> 5; max -> 20; inc -> 3; num_acq_attempts -> 30; acq_attempt_delay -> 1000; check_idle_resources_delay -> 300000; max_resource_age -> 0; max_idle_time -> 0; excess_max_idle_time -> 0; destroy_unreturned_resc_time -> 0; expiration_enforcement_delay -> 0; break_on_acquisition_failure -> false; debug_store_checkout_exceptions -> false; force_synchronous_checkins -> false] 22:02:26.630 [http-nio-8080-exec-2] DEBUG com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager - Created new pool for auth, username (masked): 'ro******'. 22:02:26.630 [http-nio-8080-exec-2] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - acquire test -- pool size: 0; target_pool_size: 5; desired target? 1 22:02:26.630 [http-nio-8080-exec-2] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - awaitAvailable(): [unknown] 22:02:26.843 [http-nio-8080-exec-2] DEBUG org.mybatis.spring.transaction.SpringManagedTransaction - JDBC Connection [com.mchange.v2.c3p0.impl.NewProxyConnection@efcbda1 [wrapping: com.mysql.jdbc.JDBC4Connection@7f63eef7]] will not be managed by Spring 22:02:26.849 [http-nio-8080-exec-2] DEBUG com.yourcompany.dao.UserMapper.getAllUsers - ==> Preparing: SELECT * FROM users 22:02:26.870 [http-nio-8080-exec-2] DEBUG com.yourcompany.dao.UserMapper.getAllUsers - ==> Parameters: 22:02:26.893 [http-nio-8080-exec-2] DEBUG com.yourcompany.dao.UserMapper.getAllUsers - <== Total: 1 22:02:26.898 [http-nio-8080-exec-2] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@40a594c4] 2025-10-22 22:02:26 DEBUG DataSourceUtils:327 - Returning JDBC Connection to DataSource [User{id=1, name='111', email=11111}]jgeydugwu 2025-10-22 22:02:26 DEBUG DefaultListableBeanFactory:1631 - Invoking afterPropertiesSet() on bean with name 'userList' 2025-10-22 22:02:26 DEBUG DispatcherServlet:1251 - Rendering view [org.springframework.web.servlet.view.JstlView: name 'userList'; URL [/userList.html]] in DispatcherServlet with name 'springMVC' 2025-10-22 22:02:26 DEBUG JstlView:432 - Added model object 'userList' of type [java.util.ArrayList] to request in view with name 'userList' 2025-10-22 22:02:26 DEBUG JstlView:166 - Forwarding to resource [/userList.html] in InternalResourceView 'userList' 2025-10-22 22:02:26 DEBUG DispatcherServlet:865 - DispatcherServlet with name 'springMVC' processing GET request for [/userList.html] 2025-10-22 22:02:26 DEBUG RequestMappingHandlerMapping:310 - Looking up handler method for path /userList.html 2025-10-22 22:02:26 DEBUG RequestMappingHandlerMapping:320 - Did not find handler method for [/userList.html] 2025-10-22 22:02:26 DEBUG SimpleUrlHandlerMapping:190 - Matching patterns for request [/userList.html] are [/**] 2025-10-22 22:02:26 DEBUG SimpleUrlHandlerMapping:219 - URI Template variables for request [/userList.html] are {} 2025-10-22 22:02:26 DEBUG SimpleUrlHandlerMapping:140 - Mapping [/userList.html] to HandlerExecutionChain with handler [ResourceHttpRequestHandler [locations=[ServletContext resource [/WEB-INF/views/]], resolvers=[org.springframework.web.servlet.resource.PathResourceResolver@6d15109c]]] and 1 interceptor 2025-10-22 22:02:26 DEBUG DispatcherServlet:951 - Last-Modified value for [/userList.html] is: -1 2025-10-22 22:02:26 DEBUG DispatcherServlet:1044 - Null ModelAndView returned to DispatcherServlet with name 'springMVC': assuming HandlerAdapter completed request handling 2025-10-22 22:02:26 DEBUG DispatcherServlet:1000 - Successfully completed request 2025-10-22 22:02:26 DEBUG DispatcherServlet:1000 - Successfully completed request
10-23
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值