日志文件:/home/lwt/ch10.log 内容 2024年12月22日 星期日 14:56:06
nohup: 忽略输入
Standard Commons Logging discovery in action with spring-jcl: please remove commons-logging.jar from classpath in order to avoid potential conflicts
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__ | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v3.3.4)
2024-11-01T18:31:26.992+08:00 INFO 4897 --- [ main] cn.lwt.Ch1002Application : Starting Ch1002Application v0.0.1-SNAPSHOT using Java 17.0.12 with PID 4897 (/home/lwt/ch10.jar started by root in /home/lwt)
2024-11-01T18:31:26.994+08:00 INFO 4897 --- [ main] cn.lwt.Ch1002Application : No active profile set falling back to 1 default profile: "default"
2024-11-01T18:31:28.919+08:00 INFO 4897 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8081 (http)
2024-11-01T18:31:28.941+08:00 INFO 4897 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2024-11-01T18:31:28.941+08:00 INFO 4897 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.30]
2024-11-01T18:31:28.985+08:00 INFO 4897 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2024-11-01T18:31:28.986+08:00 INFO 4897 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1901 ms
Standard Commons Logging discovery in action with spring-jcl: please remove commons-logging.jar from classpath in order to avoid potential conflicts
Logging initialized using 'class org.apache.ibatis.logging.stdout.StdOutImpl' adapter.
------. --. --. --.
| .--. ' ----. ---. ---. | '--' | ---. | | ---. ---. --.--.
| '--' | ' -. | | .-. | | .-. : | .--. | | .-. : | | | .-. | | .-. : | .--'
| | --' \ '-' | ' '-' ' \ --. | | | | \ --. | | | '-' ' \ --. | |
`--' `--`--' .`- / `----' `--' `--' `----' `--' | |-' `----' `--'
`---' `--' is intercepting.
2024-11-01T18:31:30.031+08:00 INFO 4897 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8081 (http) with context path '/'
2024-11-01T18:31:30.063+08:00 INFO 4897 --- [ main] cn.lwt.Ch1002Application : Started Ch1002Application in 3.711 seconds (process running for 4.606)
2024-11-01T18:33:53.057+08:00 INFO 4897 --- [nio-8081-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
2024-11-01T18:33:53.058+08:00 INFO 4897 --- [nio-8081-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
2024-11-01T18:33:53.059+08:00 INFO 4897 --- [nio-8081-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms
2024-11-01T18:33:56.559+08:00 INFO 4897 --- [nio-8081-exec-2] cn.lwt.controller.DeptController : 查询全部部门数据
Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@6c21eb5b] was not registered for synchronization because synchronization is not active
2024-11-01T18:33:56.590+08:00 INFO 4897 --- [nio-8081-exec-2] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
2024-11-01T18:33:57.194+08:00 INFO 4897 --- [nio-8081-exec-2] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@47331321
2024-11-01T18:33:57.199+08:00 INFO 4897 --- [nio-8081-exec-2] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
JDBC Connection [HikariProxyConnection@154101654 wrapping com.mysql.cj.jdbc.ConnectionImpl@47331321] will not be managed by Spring
==> Preparing: select * from dept_lwt
==> Parameters:
<== Columns: id name create_time update_time
<== Row: 1 吕家学工部 2024-10-27 19:09:44 2024-10-27 19:09:44
<== Row: 2 吕氏教研部 2024-10-26 15:17:36 2024-10-26 15:17:36
<== Row: 3 吕氏咨询部 2024-10-26 15:17:36 2024-10-26 15:17:36
<== Row: 8 吕氏就业部 2024-10-27 19:07:35 2024-10-27 19:07:35
<== Total: 4
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@6c21eb5b]
2024-11-01T18:34:36.627+08:00 INFO 4897 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
2024-11-01T18:34:36.653+08:00 INFO 4897 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.