event 事件使用undertow 启动
java.lang.ClassCastException: net.dreamlu.event.EventPlugin 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:62)
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:276)
at com.jfinal.server.undertow.UndertowServer.doStart(UndertowServer.java:254)
at com.jfinal.server.undertow.UndertowServer.start(UndertowServer.java:151)
at com.jfinal.server.undertow.UndertowServer.start(UndertowServer.java:80)
at com.demo.common.DemoConfig.main(DemoConfig.java:34)
undertow.hotSwapClassPrefix=net.dreamlu.