发布到Linux以后,项目启动报错
undertow-server: 优先使用配置文件中的 undertow.port = 8001
Starting Undertow Server http://0.0.0.0:8001
Exception in thread "main" java.lang.NoSuchMethodError: javax.servlet.ServletContext.getClassLoader()Ljava/lang/ClassLoader;
at io.undertow.websockets.jsr.Bootstrap.handleDeployment(Bootstrap.java:84)
at io.undertow.servlet.core.DeploymentManagerImpl.handleExtensions(DeploymentManagerImpl.java:277)
at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:154)
at com.jfinal.server.undertow.UndertowServer.doStart(UndertowServer.java:253)
at com.jfinal.server.undertow.UndertowServer.start(UndertowServer.java:152)
at com.greatchn.common.htcloud.web.WebAppConfig.main(WebAppConfig.java:62)
项目:JFinal