openfire 插件部署
博客专区 > mqzhange 的博客 > 博客详情
openfire 插件部署
mqzhange 发表于3年前
openfire 插件部署
  • 发表于 3年前
  • 阅读 81
  • 收藏 0
  • 点赞 0
  • 评论 0

新睿云服务器60天免费使用,快来体验!>>>   

摘要: openfire 插件部署

openfire 插件部署遇到一个问题,就是在本地使用eclipse开发出的REST插件,在本地运行正常但把build后的xxx.jar插件部署到其他openfire服务器上就会报错. 网上搜了下,有人说是jersey-core.jar和jersey-server.jar版本不一致,但也没道理本地环境下可以使用,放到别的服务器用不了啊...求各位帮帮忙


2014.11.05 22:01:40 org.jivesoftware.openfire.container.PluginServlet - com.sun.jersey.core.spi.factory.ContextResolverFactory.<init>(Lcom/sun/jersey/core/spi/component/ProviderServices;Lcom/sun/jersey/core/spi/factory/InjectableProviderFactory;)V        
               java.lang.NoSuchMethodError: com.sun.jersey.core.spi.factory.ContextResolverFactory.<init>(Lcom/sun/jersey/core/spi/component/ProviderServices;Lcom/sun/jersey/core/spi/factory/InjectableProviderFactory;)V
                at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:804)
                at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:589)
                at com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:403)
                at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:252)
                at com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:550)
                at com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:201)
                at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:307)
                at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:470)
                at javax.servlet.GenericServlet.init(GenericServlet.java:241)
                at com.isoftstone.plugin.servlet.EtuneWrapper.init(EtuneWrapper.java:41)
                at org.jivesoftware.openfire.container.PluginServlet.registerServlets(PluginServlet.java:179)        
                at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java:470)        
                at org.jivesoftware.openfire.container.PluginManager.access$300(PluginManager.java:80)        
                at org.jivesoftware.openfire.container.PluginManager$PluginMonitor.run(PluginManager.java:1074)        
                at org.jivesoftware.openfire.container.PluginManager.installPlugin(PluginManager.java:195)        
                at org.jivesoftware.openfire.admin.plugin_002dadmin_jsp._jspService(plugin_002dadmin_jsp.java:168)        
                at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
                at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)
                at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1359)
                at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
                at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
                at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330)
                at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:74)        
                at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330)
                at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:50)        
                at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330)
                at org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:78)        
                at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330)
                at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:164)        
                at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330)
                at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:478)
                at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
                at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520)
                at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
                at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:941)
                at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)
                at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
                at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875)
                at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
                at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250)
                at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)
                at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
                at org.eclipse.jetty.server.Server.handle(Server.java:349)
                at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441)
                at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:936)
                at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:801)
                at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:224)
                at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:51)
                at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:586)
                at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:44)
                at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)
                at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)
                at java.lang.Thread.run(Thread.java:745)


  • 打赏
  • 点赞
  • 收藏
  • 分享
共有 人打赏支持
粉丝 0
博文 1
码字总数 386
×
mqzhange
如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
* 金额(元)
¥1 ¥5 ¥10 ¥20 其他金额
打赏人
留言
* 支付类型
微信扫码支付
打赏金额:
已支付成功
打赏金额: