Starting JFinal 4.3 -> http://0.0.0.0:9999
Info: jfinal-undertow 1.7, undertow 2.0.22.Final, jvm 1.8.0_91
2019-08-06 20:58:35
[DEBUG]-[Thread: main]-[io.undertow.server.handlers.resource.PathResourceManager.<clinit>()]: Logging Provider: org.jboss.logging.Log4jLoggerProvider
2019-08-06 20:58:35
[DEBUG]-[Thread: main]-[org.jboss.logging.DelegatingBasicLogger.debugf()]: Setting default session timeout to 1800
2019-08-06 20:58:35
[DEBUG]-[Thread: main]-[io.undertow.server.session.InMemorySessionManager.registerSessionListener()]: Registered session listener io.undertow.servlet.core.SessionListenerBridge@55a1c291
2019-08-06 20:58:37
[INFO]-[Thread: main]-[com.alibaba.druid.pool.DruidDataSource.init()]: {dataSource-1} inited
2019-08-06 20:58:37
[DEBUG]-[Thread: main]-[io.undertow.Undertow.start()]: starting undertow server io.undertow.Undertow@58be6e8
2019-08-06 20:58:37
[INFO]-[Thread: main]-[org.xnio.Xnio.<clinit>()]: XNIO version 3.3.8.Final
2019-08-06 20:58:37
[INFO]-[Thread: main]-[org.xnio.nio.NioXnio.<clinit>()]: XNIO NIO Implementation Version 3.3.8.Final
2019-08-06 20:58:37
[DEBUG]-[Thread: XNIO-1 I/O-2]-[org.xnio.nio.WorkerThread.run()]: Started channel thread 'XNIO-1 I/O-2', selector sun.nio.ch.WindowsSelectorImpl@37201494
2019-08-06 20:58:37
[DEBUG]-[Thread: XNIO-1 I/O-1]-[org.xnio.nio.WorkerThread.run()]: Started channel thread 'XNIO-1 I/O-1', selector sun.nio.ch.WindowsSelectorImpl@5b4b64dc
2019-08-06 20:58:37
[DEBUG]-[Thread: XNIO-1 I/O-3]-[org.xnio.nio.WorkerThread.run()]: Started channel thread 'XNIO-1 I/O-3', selector sun.nio.ch.WindowsSelectorImpl@3ff2548a
2019-08-06 20:58:37
[DEBUG]-[Thread: XNIO-1 I/O-4]-[org.xnio.nio.WorkerThread.run()]: Started channel thread 'XNIO-1 I/O-4', selector sun.nio.ch.WindowsSelectorImpl@77a179d2
2019-08-06 20:58:37
[DEBUG]-[Thread: main]-[io.undertow.Undertow.start()]: Configuring listener with protocol HTTP for interface 0.0.0.0 and port 9999
2019-08-06 20:58:37
[DEBUG]-[Thread: XNIO-1 Accept]-[org.xnio.nio.WorkerThread.run()]: Started channel thread 'XNIO-1 Accept', selector sun.nio.ch.WindowsSelectorImpl@43a32c4c
Starting Complete in 2.4 seconds. Welcome To The JFinal World (^_^)
2019-08-06 20:58:38
[DEBUG]-[Thread: XNIO-1 I/O-4]-[io.undertow.util.PathMatcher.match()]: Matched default handler path /login
2019-08-06 20:58:38
[DEBUG]-[Thread: XNIO-1 I/O-4]-[io.undertow.util.PathMatcher.match()]: Matched default handler path /login/
2019-08-06 20:58:38
[DEBUG]-[Thread: XNIO-1 task-1]-[io.undertow.security.impl.SecurityContextImpl.authenticate()]: Attempting to authenticate /login/, authentication required: false
2019-08-06 20:58:38
[DEBUG]-[Thread: XNIO-1 task-1]-[io.undertow.security.impl.SecurityContextImpl$AuthAttempter.transition()]: Authentication outcome was NOT_ATTEMPTED with method io.undertow.security.impl.CachedAuthenticatedSessionMechanism@3f79c438 for /login/
2019-08-06 20:58:38
[DEBUG]-[Thread: XNIO-1 task-1]-[io.undertow.security.impl.SecurityContextImpl.authTransition()]: Authentication result was ATTEMPTED for /login/
2019-08-06 20:58:38
[WARN]-[Thread: XNIO-1 task-1]-[com.jfinal.core.ActionHandler.handle()]: 404 Action Not Found: /login/
如上,已把控制器路由、拦截器全部注释掉了,还是会出现,当访问login的时候自动302到login/,访问其他名称的路径不会出现这个问题。
https://www.oschina.net/question/941098_93842
记得搞定后回来反馈一下