2019-03-05 15:42

@正负余 ,我用的是jfinal-undertow-1.5

2019-03-05 12:57

@正负余,undertow.hotSwapClassPrefix=live.autu.plugin.jfinal.swagger

2019-03-05 12:57

undertow.hotSwapClassPrefix=live.autu.plugin.jfinal.swagger

2019-03-05 11:44

java.lang.ClassCastException: live.autu.plugin.jfinal.swagger.config.SwaggerPlugin cannot be cast to com.jfinal.plugin.IPlugin
at com.jfinal.core.Config.startPlugins(Config.java:118)
at com.jfinal.core.Config.configPluginWithOrder(Config.java:71)
at com.jfinal.core.Config.configJFinal(Config.java:56)
at com.jfinal.core.JFinal.init(JFinal.java:61)
at com.jfinal.core.JFinalFilter.init(JFinalFilter.java:63)
at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:111)
at io.undertow.servlet.core.ManagedFilter.createFilter(ManagedFilter.java:80)
at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:589)
at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:554)
at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:596)
at com.jfinal.server.undertow.UndertowServer.configHttp(UndertowServer.java:277)
at com.jfinal.server.undertow.UndertowServer.doStart(UndertowServer.java:255)
at com.jfinal.server.undertow.UndertowServer.start(UndertowServer.java:152)
at com.jfinal.server.undertow.UndertowServer.start(UndertowServer.java:81)
at com.smart.SmartApiConfig.main(SmartApiConfig.java:51)