Openfire插件 - NoSuchMethodError javax.servlet.jsp.JspFactory.getJspApplicationContext

时间:2018-03-19 03:30:04

标签: openfire nosuchmethoderror

在编译并将openfire-apns.jar部署到Openfire后,当我选择“APNS设置”打开APNS插件设置页面时,我得到一个空白页面并在日志中看到以下错误。我搜索过但无法找到任何人为此建议的解决方案,也不是可能的原因。

我使用的是Openfire 3.9.3,servlet.jar版本是2.5。感谢您帮助解决这个问题。

2018.03.18 23:18:43 org.jivesoftware.openfire.container.PluginServlet - javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax / servlet / ServletContext;)Ljavax / servlet / jsp / JspApplicationContext; java.lang.NoSuchMethodError:javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax / servlet / ServletContext;)Ljavax / servlet / jsp / JspApplicationContext;     在com.wecapslabs.openfire.plugin.jsp.apns_jsp._jspInit(apns_jsp.java:40)     在org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:79)     在org.jivesoftware.openfire.container.PluginServlet.registerServlets(PluginServlet.java:179)     在org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java:464)     在org.jivesoftware.openfire.container.PluginManager.access $ 300(PluginManager.java:80)     在org.jivesoftware.openfire.container.PluginManager $ PluginMonitor.run(PluginManager.java:1074)     at java.util.concurrent.Executors $ RunnableAdapter.call(Unknown Source)     at java.util.concurrent.FutureTask.runAndReset(Unknown Source)     at java.util.concurrent.ScheduledThreadPoolExecutor $ ScheduledFutureTask.access $ 301(Unknown Source)     at java.util.concurrent.ScheduledThreadPoolExecutor $ ScheduledFutureTask.run(Unknown Source)     at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)     at java.util.concurrent.ThreadPoolExecutor $ Worker.run(Unknown Source)     在java.lang.Thread.run(未知来源)

1 个答案:

答案 0 :(得分:0)

                  java.lang.NoSuchMethodError: 

表示存在jar冲突。尝试删除servlet jar并使用提供的容器。