WARNING: No mapping found for HTTP request with URI [/springmvc-11/helloworld] in DispatcherServlet

纪念我逝去的时光,迎接照亮人生的理智之光。

我的项目只是一个springmvc的helloworld,希望对被此问题困扰的朋友有所帮助。


项目的.java文件没有在tomcat下生成.class字节码文件。用javac命令编译生成.class后,把.class文件复制到tomcat后,此问题消失,项目运行成功。


.java文件

package com.atguigu.springmvc.handlers;


import org.springframework.stereotype.Controller;

import org.springframework.web.bind.annotation.RequestMapping;


@Controller

public class HelloWorld {

/**

* 1.使用@RequestMapping注解来映射请求的URL

* 2.返回值会通过视图解析器解析为实际的物理视图 对于InternalResourceViewResolver 视图解析器会做如下的解析:

* prefix+returnVal+后缀 这样的方式得到实际的物理视图,然后做转发操作

*   /WEB-INF/views/success.jsp

*/

@RequestMapping("/helloworld")

public String hello(){

System.out.println("hello world");

return "success";

}

}


src包下的springmvn.xml

<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns="http://www.springframework.org/schema/beans"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xmlns:context="http://www.springframework.org/schema/context"

xmlns:mvc="http://www.springframework.org/schema/mvc"

xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd

http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd

http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd

">

<!-- 配置自动扫描的包 -->

<context:component-scan 

base-package="com.atguigu.springmvc.handlers"></context:component-scan>

<!-- 静态资源访问 -->



<!-- 配置视图解析器:如何把handler方法返回值解析为实际的物理视图 -->

<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">

<property name="prefix" value="/WEB-INF/views/"></property>

<property name="suffix" value=".jsp"></property>

</bean>

</beans>


WEB-INF下的web.xml配置

<?xml version="1.0" encoding="UTF-8"?> 

<!DOCTYPE xml>

<web-app version="2.5" 

xmlns="http://java.sun.com/xml/ns/javaee" 

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 

xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 

http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">

  



  <!--configure the setting of springmvcDispatcherServlet and configure the mapping-->

  <servlet>

      <servlet-name>springmvc</servlet-name>

      <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>

      <init-param>

            <param-name>contextConfigLocation</param-name>

            <param-value>classpath:springmvc.xml</param-value>

        </init-param>

         <load-on-startup>1</load-on-startup> 

  </servlet>


  <servlet-mapping>

      <servlet-name>springmvc</servlet-name>

      <url-pattern>/</url-pattern>

  </servlet-mapping>



</web-app>


具体为什么tomcat中没有字节码文件,欢迎留言。微笑


做了几天练习后,发现在struts2项目中也不能在tomcat内生成.class文件,就去找了解决办法,

虽然不理解,但办法是找到了,在myeclipse的菜单栏中的“project”有个Buile Automatically选项,点击一下就行了。

自己都觉得尴尬睡觉。。。



 


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
F:\apache-tomcat-9.0.111-windows-x64\apache-tomcat-9.0.111\bin\catalina.bat run [2025-10-19 04:09:44,450] Artifact untitled3:war: Waiting for server connection to start artifact deployment... Using CATALINA_BASE: "C:\Users\ZhuanZ1\AppData\Local\JetBrains\IntelliJIdea2020.1\tomcat\Unnamed_untitled3" Using CATALINA_HOME: "F:\apache-tomcat-9.0.111-windows-x64\apache-tomcat-9.0.111" Using CATALINA_TMPDIR: "F:\apache-tomcat-9.0.111-windows-x64\apache-tomcat-9.0.111" Using JRE_HOME: "C:\Program Files\Java\jdk1.8.0_202" Using CLASSPATH: "F:\apache-tomcat-9.0.111-windows-x64\apache-tomcat-9.0.111\bin\bootstrap.jar;F:\apache-tomcat-9.0.111-windows-x64\apache-tomcat-9.0.111\bin\tomcat-juli.jar" Using CATALINA_OPTS: "" Connected to the target VM, address: '127.0.0.1:50342', transport: 'socket' 19-Oct-2025 16:09:45.543 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server.服务器版本: Apache Tomcat/9.0.111 19-Oct-2025 16:09:45.546 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 服务器构建: Oct 10 2025 14:13:20 UTC 19-Oct-2025 16:09:45.546 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 服务器版本号: 9.0.111.0 19-Oct-2025 16:09:45.546 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 操作系统名称: Windows 10 19-Oct-2025 16:09:45.546 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS.版本: 10.0 19-Oct-2025 16:09:45.546 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 架构: amd64 19-Oct-2025 16:09:45.546 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java 环境变量: C:\Program Files\Java\jdk1.8.0_202\jre 19-Oct-2025 16:09:45.546 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java虚拟机版本: 1.8.0_202-b08 19-Oct-2025 16:09:45.546 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM.供应商: Oracle Corporation 19-Oct-2025 16:09:45.546 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Users\ZhuanZ1\AppData\Local\JetBrains\IntelliJIdea2020.1\tomcat\Unnamed_untitled3 19-Oct-2025 16:09:45.546 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: F:\apache-tomcat-9.0.111-windows-x64\apache-tomcat-9.0.111 19-Oct-2025 16:09:45.547 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数: -Djava.util.logging.config.file=C:\Users\ZhuanZ1\AppData\Local\JetBrains\IntelliJIdea2020.1\tomcat\Unnamed_untitled3\conf\logging.properties 19-Oct-2025 16:09:45.547 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 19-Oct-2025 16:09:45.547 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数: -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:50342,suspend=y,server=n 19-Oct-2025 16:09:45.547 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数: -javaagent:C:\Users\ZhuanZ1\AppData\Local\JetBrains\IntelliJIdea2020.1\captureAgent\debugger-agent.jar 19-Oct-2025 16:09:45.547 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数: -Dcom.sun.management.jmxremote= 19-Oct-2025 16:09:45.547 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数: -Dcom.sun.management.jmxremote.port=1099 19-Oct-2025 16:09:45.547 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数: -Dcom.sun.management.jmxremote.ssl=false 19-Oct-2025 16:09:45.547 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数: -Dcom.sun.management.jmxremote.password.file=C:\Users\ZhuanZ1\AppData\Local\JetBrains\IntelliJIdea2020.1\tomcat\Unnamed_untitled3\jmxremote.password 19-Oct-2025 16:09:45.547 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数: -Dcom.sun.management.jmxremote.access.file=C:\Users\ZhuanZ1\AppData\Local\JetBrains\IntelliJIdea2020.1\tomcat\Unnamed_untitled3\jmxremote.access 19-Oct-2025 16:09:45.547 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数: -Djava.rmi.server.hostname=127.0.0.1 19-Oct-2025 16:09:45.547 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数: -Djdk.tls.ephemeralDHKeySize=2048 19-Oct-2025 16:09:45.547 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources 19-Oct-2025 16:09:45.548 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数: -Dsun.io.useCanonCaches=false 19-Oct-2025 16:09:45.548 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数: -Dignore.endorsed.dirs= 19-Oct-2025 16:09:45.550 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数: -Dcatalina.base=C:\Users\ZhuanZ1\AppData\Local\JetBrains\IntelliJIdea2020.1\tomcat\Unnamed_untitled3 19-Oct-2025 16:09:45.550 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数: -Dcatalina.home=F:\apache-tomcat-9.0.111-windows-x64\apache-tomcat-9.0.111 19-Oct-2025 16:09:45.550 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数: -Djava.io.tmpdir=F:\apache-tomcat-9.0.111-windows-x64\apache-tomcat-9.0.111 19-Oct-2025 16:09:45.552 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent 使用APR版本[1.7.4]加载了基于APR的Apache Tomcat本机库[1.3.1]。 19-Oct-2025 16:09:45.552 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR功能:IPv6[true]、sendfile[true]、accept filters[false]、random[true]、UDS [true]。 19-Oct-2025 16:09:45.552 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL配置:useAprConnector[false],useOpenSSL[true] 19-Oct-2025 16:09:45.557 信息 [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL成功初始化 [OpenSSL 3.0.14 4 Jun 2024] 19-Oct-2025 16:09:45.800 信息 [main] org.apache.coyote.AbstractProtocol.init 初始化协议处理器 ["http-nio-8080"] 19-Oct-2025 16:09:45.817 信息 [main] org.apache.catalina.startup.Catalina.load 服务器在[493]毫秒内初始化 19-Oct-2025 16:09:45.847 信息 [main] org.apache.catalina.core.StandardService.startInternal 正在启动服务[Catalina] 19-Oct-2025 16:09:45.848 信息 [main] org.apache.catalina.core.StandardEngine.startInternal 正在启动 Servlet 引擎:[Apache Tomcat/9.0.111] 19-Oct-2025 16:09:45.858 信息 [main] org.apache.coyote.AbstractProtocol.start 开始协议处理句柄["http-nio-8080"] 19-Oct-2025 16:09:45.874 信息 [main] org.apache.catalina.startup.Catalina.start [56]毫秒后服务器启动 Connected to server [2025-10-19 04:09:46,024] Artifact untitled3:war: Artifact is being deployed, please wait... 19-Oct-2025 16:09:47.079 信息 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars 至少有一个JAR被扫描用于TLD但尚未包含TLD。 为此记录器启用调试日志记录,以获取已扫描但未在其中找到TLD的完整JAR列表。 在扫描期间跳过不需要的JAR可以缩短启动时间和JSP编译时间。 19-Oct-2025 16:09:47.305 信息 [RMI TCP Connection(3)-127.0.0.1] org.springframework.web.servlet.FrameworkServlet.initServletBean FrameworkServlet 'spring': initialization started 19-Oct-2025 16:09:47.333 信息 [RMI TCP Connection(3)-127.0.0.1] org.springframework.context.support.AbstractApplicationContext.prepareRefresh Refreshing WebApplicationContext for namespace 'spring-servlet': startup date [Sun Oct 19 16:09:47 CST 2025]; root of context hierarchy 19-Oct-2025 16:09:47.378 信息 [RMI TCP Connection(3)-127.0.0.1] org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions Loading XML bean definitions from class path resource [spring-mvc.xml] 19-Oct-2025 16:09:47.954 信息 [RMI TCP Connection(3)-127.0.0.1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/hello]}" onto public org.springframework.web.servlet.ModelAndView com.springmvc.hello(java.lang.String) 19-Oct-2025 16:09:48.049 信息 [RMI TCP Connection(3)-127.0.0.1] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.initControllerAdviceCache Looking for @ControllerAdvice: WebApplicationContext for namespace 'spring-servlet': startup date [Sun Oct 19 16:09:47 CST 2025]; root of context hierarchy 19-Oct-2025 16:09:48.093 信息 [RMI TCP Connection(3)-127.0.0.1] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.initControllerAdviceCache Looking for @ControllerAdvice: WebApplicationContext for namespace 'spring-servlet': startup date [Sun Oct 19 16:09:47 CST 2025]; root of context hierarchy 19-Oct-2025 16:09:48.218 信息 [RMI TCP Connection(3)-127.0.0.1] org.springframework.web.servlet.FrameworkServlet.initServletBean FrameworkServlet 'spring': initialization completed in 913 ms [2025-10-19 04:09:48,240] Artifact untitled3:war: Artifact is deployed successfully [2025-10-19 04:09:48,241] Artifact untitled3:war: Deploy took 2,217 milliseconds 19-Oct-2025 16:09:48.661 警告 [http-nio-8080-exec-1] org.springframework.web.servlet.DispatcherServlet.noHandlerFound No mapping found for HTTP request with URI [/untitled3/] in DispatcherServlet with name 'spring' 19-Oct-2025 16:09:48.732 警告 [http-nio-8080-exec-3] org.springframework.web.servlet.DispatcherServlet.noHandlerFound No mapping found for HTTP request with URI [/untitled3/] in DispatcherServlet with name 'spring' 19-Oct-2025 16:09:55.861 信息 [Catalina-utility-1] org.apache.catalina.startup.HostConfig.deployDirectory 把web 应用程序部署到目录 [F:\apache-tomcat-9.0.111-windows-x64\apache-tomcat-9.0.111\webapps\manager] 19-Oct-2025 16:09:55.928 信息 [Catalina-utility-1] org.apache.jasper.servlet.TldScanner.scanJars 至少有一个JAR被扫描用于TLD但尚未包含TLD。 为此记录器启用调试日志记录,以获取已扫描但未在其中找到TLD的完整JAR列表。 在扫描期间跳过不需要的JAR可以缩短启动时间和JSP编译时间。 19-Oct-2025 16:09:55.939 信息 [Catalina-utility-1] org.apache.catalina.startup.HostConfig.deployDirectory Web应用程序目录[F:\apache-tomcat-9.0.111-windows-x64\apache-tomcat-9.0.111\webapps\manager]的部署已在[77]毫秒内完成
10-20
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值