RedisPlugin redis = new RedisPlugin("geofly", "localhost");
me.add(redis);
我添加了依赖包,启动又报了下面的错
java.lang.VerifyError: (class: com/jfinal/plugin/redis/RedisPlugin, method: start signature: ()Z) Incompatible argument to function at com.oa.backstage.config.SystemConfig.configPlugin(SystemConfig.java:85) at com.jfinal.core.Config.configJFinal(Config.java:49) at com.jfinal.core.JFinal.init(JFinal.java:62) at com.jfinal.core.JFinalFilter.init(JFinalFilter.java:49) at org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:724) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:706) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95) at org.eclipse.jetty.server.Server.doStart(Server.java:277) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at com.jfinal.server.JettyServer.doStart(JettyServer.java:122) at com.jfinal.server.JettyServer.start(JettyServer.java:65) at com.jfinal.core.JFinal.start(JFinal.java:154) at com.oa.backstage.config.SystemConfig.main(SystemConfig.java:118)
发布评论
评论(1)
// 用于缓存news模块的redis服务
RedisPlugin redis = new RedisPlugin("geofly", "localhost");
me.add(redis);
我添加了依赖包,启动又报了下面的错
java.lang.VerifyError: (class: com/jfinal/plugin/redis/RedisPlugin, method: start signature: ()Z) Incompatible argument to function
at com.oa.backstage.config.SystemConfig.configPlugin(SystemConfig.java:85)
at com.jfinal.core.Config.configJFinal(Config.java:49)
at com.jfinal.core.JFinal.init(JFinal.java:62)
at com.jfinal.core.JFinalFilter.init(JFinalFilter.java:49)
at org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:724)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:706)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
at org.eclipse.jetty.server.Server.doStart(Server.java:277)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at com.jfinal.server.JettyServer.doStart(JettyServer.java:122)
at com.jfinal.server.JettyServer.start(JettyServer.java:65)
at com.jfinal.core.JFinal.start(JFinal.java:154)
at com.oa.backstage.config.SystemConfig.main(SystemConfig.java:118)