日志文件:/home/du/ch11.log 内容 2024年12月22日 星期日 09:25:58
at cn.du.utils.JwtUtils.parseJWT(JwtUtils.java:42)
at cn.du.interceptor.LoginCheckInterceptor.preHandle(LoginCheckInterceptor.java:43)
at org.springframework.web.servlet.HandlerExecutionChain.applyPreHandle(HandlerExecutionChain.java:146)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1084)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903)
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:564)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:195)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:164)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:164)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140)
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:164)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:164)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:384)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63)
at java.base/java.lang.Thread.run(Thread.java:842)
2024-12-13T13:01:35.454+08:00 INFO 315033 --- [ch11] [nio-8082-exec-2] c.du.interceptor.LoginCheckInterceptor : 解析令牌失败 返回未登录错误信息
2024-12-13T13:01:37.667+08:00 INFO 315033 --- [ch11] [io-8082-exec-10] cn.du.controller.LoginController : 员工登录: Emp(id=null username=jinyong password=123456 name=null gender=null image=null job=null entrydate=null deptId=null createTime=null updateTime=null)
Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@37d848ce] was not registered for synchronization because synchronization is not active
JDBC Connection [HikariProxyConnection@1876768620 wrapping com.mysql.cj.jdbc.ConnectionImpl@a53d948] will not be managed by Spring
==> Preparing: select * from emp_du where username = ? and password = ?
==> Parameters: jinyong(String) 123456(String)
<== Total: 0
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@37d848ce]
2024-12-13T13:01:43.152+08:00 INFO 315033 --- [ch11] [nio-8082-exec-1] cn.du.controller.LoginController : 员工登录: Emp(id=null username=jinyong password=123456 name=null gender=null image=null job=null entrydate=null deptId=null createTime=null updateTime=null)
Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@29a56abe] was not registered for synchronization because synchronization is not active
JDBC Connection [HikariProxyConnection@1105337849 wrapping com.mysql.cj.jdbc.ConnectionImpl@a53d948] will not be managed by Spring
==> Preparing: select * from emp_du where username = ? and password = ?
==> Parameters: jinyong(String) 123456(String)
<== Total: 0
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@29a56abe]
2024-12-13T13:02:08.022+08:00 INFO 315033 --- [ch11] [nio-8082-exec-3] cn.du.controller.LoginController : 员工登录: Emp(id=null username=admin password=123456 name=null gender=null image=null job=null entrydate=null deptId=null createTime=null updateTime=null)
Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@3994a756] was not registered for synchronization because synchronization is not active
JDBC Connection [HikariProxyConnection@1382577939 wrapping com.mysql.cj.jdbc.ConnectionImpl@a53d948] will not be managed by Spring
==> Preparing: select * from emp_du where username = ? and password = ?
==> Parameters: admin(String) 123456(String)
<== Total: 0
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@3994a756]
2024-12-13T13:02:14.382+08:00 INFO 315033 --- [ch11] [nio-8082-exec-6] cn.du.controller.LoginController : 员工登录: Emp(id=null username=jin password=123456 name=null gender=null image=null job=null entrydate=null deptId=null createTime=null updateTime=null)
Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@6bf99b0f] was not registered for synchronization because synchronization is not active
JDBC Connection [HikariProxyConnection@1054913394 wrapping com.mysql.cj.jdbc.ConnectionImpl@a53d948] will not be managed by Spring
==> Preparing: select * from emp_du where username = ? and password = ?
==> Parameters: jin(String) 123456(String)
<== Total: 0
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@6bf99b0f]
2024-12-13T13:03:55.923+08:00 INFO 315033 --- [ch11] [nio-8082-exec-5] cn.du.controller.LoginController : 员工登录: Emp(id=null username=dzjiang password=123456 name=null gender=null image=null job=null entrydate=null deptId=null createTime=null updateTime=null)
Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@74cdf04a] was not registered for synchronization because synchronization is not active
JDBC Connection [HikariProxyConnection@770090834 wrapping com.mysql.cj.jdbc.ConnectionImpl@a53d948] will not be managed by Spring
==> Preparing: select * from emp_du where username = ? and password = ?
==> Parameters: dzjiang(String) 123456(String)
<== Total: 0
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@74cdf04a]
2024-12-13T13:04:19.232+08:00 INFO 315033 --- [ch11] [nio-8082-exec-7] cn.du.controller.LoginController : 员工登录: Emp(id=null username=dzjiang password=654321 name=null gender=null image=null job=null entrydate=null deptId=null createTime=null updateTime=null)
Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@131d58b4] was not registered for synchronization because synchronization is not active
JDBC Connection [HikariProxyConnection@1351894158 wrapping com.mysql.cj.jdbc.ConnectionImpl@a53d948] will not be managed by Spring
==> Preparing: select * from emp_du where username = ? and password = ?
==> Parameters: dzjiang(String) 654321(String)
<== Total: 0
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@131d58b4]
2024-12-13T20:24:50.860+08:00 INFO 315033 --- [ch11] [nio-8082-exec-4] cn.du.controller.LoginController : 员工登录: Emp(id=null username=admin password=123456 name=null gender=null image=null job=null entrydate=null deptId=null createTime=null updateTime=null)
Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@7d2a22c] was not registered for synchronization because synchronization is not active
JDBC Connection [HikariProxyConnection@1063506750 wrapping com.mysql.cj.jdbc.ConnectionImpl@1a3d6743] will not be managed by Spring
==> Preparing: select * from emp_du where username = ? and password = ?
==> Parameters: admin(String) 123456(String)
<== Total: 0
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@7d2a22c]
2024-12-13T20:25:29.177+08:00 INFO 315033 --- [ch11] [nio-8082-exec-8] cn.du.controller.LoginController : 员工登录: Emp(id=null username=dzj password=123456 name=null gender=null image=null job=null entrydate=null deptId=null createTime=null updateTime=null)
Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@9698e64] was not registered for synchronization because synchronization is not active
JDBC Connection [HikariProxyConnection@1074879518 wrapping com.mysql.cj.jdbc.ConnectionImpl@49dc237a] will not be managed by Spring
==> Preparing: select * from emp_du where username = ? and password = ?
==> Parameters: dzj(String) 123456(String)
<== Total: 0
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@9698e64]
2024-12-13T20:26:09.440+08:00 INFO 315033 --- [ch11] [nio-8082-exec-9] cn.du.controller.LoginController : 员工登录: Emp(id=null username=dzj password=123456 name=null gender=null image=null job=null entrydate=null deptId=null createTime=null updateTime=null)
Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@158716f1] was not registered for synchronization because synchronization is not active
JDBC Connection [HikariProxyConnection@75221607 wrapping com.mysql.cj.jdbc.ConnectionImpl@49dc237a] will not be managed by Spring
==> Preparing: select * from emp_du where username = ? and password = ?
==> Parameters: dzj(String) 123456(String)
<== Total: 0
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@158716f1]
2024-12-13T20:26:15.724+08:00 INFO 315033 --- [ch11] [nio-8082-exec-2] cn.du.controller.LoginController : 员工登录: Emp(id=null username=dzj password=123456 name=null gender=null image=null job=null entrydate=null deptId=null createTime=null updateTime=null)
Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@35ae23a4] was not registered for synchronization because synchronization is not active
JDBC Connection [HikariProxyConnection@2097519526 wrapping com.mysql.cj.jdbc.ConnectionImpl@49dc237a] will not be managed by Spring
==> Preparing: select * from emp_du where username = ? and password = ?
==> Parameters: dzj(String) 123456(String)
<== Total: 0
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@35ae23a4]
2024-12-13T20:27:21.488+08:00 INFO 315033 --- [ch11] [io-8082-exec-10] cn.du.controller.LoginController : 员工登录: Emp(id=null username=jinyong password=123456 name=null gender=null image=null job=null entrydate=null deptId=null createTime=null updateTime=null)
Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@3d4f2c8f] was not registered for synchronization because synchronization is not active
JDBC Connection [HikariProxyConnection@206315321 wrapping com.mysql.cj.jdbc.ConnectionImpl@49dc237a] will not be managed by Spring
==> Preparing: select * from emp_du where username = ? and password = ?
==> Parameters: jinyong(String) 123456(String)
<== Total: 0
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@3d4f2c8f]
2024-12-14T10:20:14.139+08:00 INFO 315033 --- [ch11] [nio-8082-exec-1] c.du.interceptor.LoginCheckInterceptor : 请求的url: http://localhost:8082/index
io.jsonwebtoken.ExpiredJwtException: JWT expired 6682712139 milliseconds ago at 2024-09-27T18:01:42.000Z. Current time: 2024-12-14T02:20:14.139Z. Allowed clock skew: 0 milliseconds.
at io.jsonwebtoken.impl.DefaultJwtParser.parse(DefaultJwtParser.java:682)
at io.jsonwebtoken.impl.DefaultJwtParser.parse(DefaultJwtParser.java:362)
at io.jsonwebtoken.impl.DefaultJwtParser.parse(DefaultJwtParser.java:94)
at io.jsonwebtoken.impl.io.AbstractParser.parse(AbstractParser.java:36)
at io.jsonwebtoken.impl.io.AbstractParser.parse(AbstractParser.java:29)
at io.jsonwebtoken.impl.DefaultJwtParser.parseSignedClaims(DefaultJwtParser.java:821)
at cn.du.utils.JwtUtils.parseJWT(JwtUtils.java:42)
at cn.du.interceptor.LoginCheckInterceptor.preHandle(LoginCheckInterceptor.java:43)
at org.springframework.web.servlet.HandlerExecutionChain.applyPreHandle(HandlerExecutionChain.java:146)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1084)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903)
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:564)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:195)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:164)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:164)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140)
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:164)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:164)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:384)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63)
at java.base/java.lang.Thread.run(Thread.java:842)
2024-12-14T10:20:14.140+08:00 INFO 315033 --- [ch11] [nio-8082-exec-1] c.du.interceptor.LoginCheckInterceptor : 解析令牌失败 返回未登录错误信息
2024-12-14T10:20:15.345+08:00 INFO 315033 --- [ch11] [nio-8082-exec-3] cn.du.controller.LoginController : 员工登录: Emp(id=null username=jinyong password=123456 name=null gender=null image=null job=null entrydate=null deptId=null createTime=null updateTime=null)
Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@1c7849cf] was not registered for synchronization because synchronization is not active
JDBC Connection [HikariProxyConnection@13300481 wrapping com.mysql.cj.jdbc.ConnectionImpl@118bcce4] will not be managed by Spring
==> Preparing: select * from emp_du where username = ? and password = ?
==> Parameters: jinyong(String) 123456(String)
<== Total: 0
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@1c7849cf]
2024-12-16T07:38:13.134+08:00 INFO 315033 --- [ch11] [nio-8082-exec-6] c.du.interceptor.LoginCheckInterceptor : 请求的url: http://localhost:8082/index
2024-12-16T07:38:13.134+08:00 INFO 315033 --- [ch11] [nio-8082-exec-6] c.du.interceptor.LoginCheckInterceptor : 请求头token为空返回未登录的信息
2024-12-21T06:58:28.325+08:00 INFO 315033 --- [ch11] [nio-8082-exec-5] c.du.interceptor.LoginCheckInterceptor : 请求的url: http://localhost:8082/index
2024-12-21T06:58:28.325+08:00 INFO 315033 --- [ch11] [nio-8082-exec-5] c.du.interceptor.LoginCheckInterceptor : 请求头token为空返回未登录的信息
2024-12-21T12:22:19.499+08:00 INFO 315033 --- [ch11] [nio-8082-exec-7] c.du.interceptor.LoginCheckInterceptor : 请求的url: http://localhost:8082/index
2024-12-21T12:22:19.499+08:00 INFO 315033 --- [ch11] [nio-8082-exec-7] c.du.interceptor.LoginCheckInterceptor : 请求头token为空返回未登录的信息
2024-12-21T17:34:30.688+08:00 INFO 315033 --- [ch11] [nio-8082-exec-4] c.du.interceptor.LoginCheckInterceptor : 请求的url: http://localhost:8082/index
2024-12-21T17:34:30.688+08:00 INFO 315033 --- [ch11] [nio-8082-exec-4] c.du.interceptor.LoginCheckInterceptor : 请求头token为空返回未登录的信息