Jboot项目启动undertow失败

长门有葱 发布于 2018/11/15 11:09
阅读 439
收藏 0

项目是配置的

jboot.server.port=7091

然后启动时报错如下:

INFO   | jvm 1    | 2018/11/15 10:41:58 | 2018-11-15 10:41:58[io.jboot.server.undertow.UnderTowServer-196][WrapperSimpleAppMain][7663] - can not start undertow with port:6091
INFO   | jvm 1    | 2018/11/15 10:41:58 |   java.lang.IllegalArgumentException: UT000008: Handler cannot be null
INFO   | jvm 1    | 2018/11/15 10:41:58 |       at io.undertow.Handlers.handlerNotNull(Handlers.java:582)
INFO   | jvm 1    | 2018/11/15 10:41:58 |       at io.undertow.server.handlers.PathHandler.addPrefixPath(PathHandler.java:131)
INFO   | jvm 1    | 2018/11/15 10:41:58 |       at io.jboot.server.undertow.UnderTowServer.initUndertowServer(UnderTowServer.java:113)
INFO   | jvm 1    | 2018/11/15 10:41:58 |       at io.jboot.server.undertow.UnderTowServer.start(UnderTowServer.java:192)
INFO   | jvm 1    | 2018/11/15 10:41:58 |       at io.jboot.Jboot.startServer(Jboot.java:167)
INFO   | jvm 1    | 2018/11/15 10:41:58 |       at io.jboot.Jboot.start(Jboot.java:148)
INFO   | jvm 1    | 2018/11/15 10:41:58 |       at io.jboot.Jboot.run(Jboot.java:91)
INFO   | jvm 1    | 2018/11/15 10:41:58 |       at io.jboot.Jboot.main(Jboot.java:85)
INFO   | jvm 1    | 2018/11/15 10:41:58 |       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2018/11/15 10:41:58 |       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
INFO   | jvm 1    | 2018/11/15 10:41:58 |       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO   | jvm 1    | 2018/11/15 10:41:58 |       at java.lang.reflect.Method.invoke(Method.java:498)
INFO   | jvm 1    | 2018/11/15 10:41:58 |       at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
INFO   | jvm 1    | 2018/11/15 10:41:58 |       at java.lang.Thread.run(Thread.java:748)

之前没有出现过这个问题的。

加载中
返回顶部
顶部