powered by Jive Software

Error loading plugin HTTP File Upload


#1

Hi!

I’m running Openfire 4.0.2. on Linux server. When I try to install HTTP File Upload plugin (either from ui or by putting .jar in plugins folder), i get this error:

2018.06.02 18:26:30 org.jivesoftware.openfire.container.PluginManager - Error loading plugin: /opt/openfire/plugins/httpfileupload 
java.lang.NoSuchMethodError: org.jivesoftware.openfire.http.HttpBindManager.addJettyHandler(Lorg/eclipse/jetty/server/Handler;)V 
at org.igniterealtime.openfire.plugins.httpfileupload.HttpFileUploadPlugin.initializePlugin(HttpFileUploadPlugin.java:68) 
at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java:447) 
at org.jivesoftware.openfire.container.PluginManager.access$300(PluginManager.java:68) 
at org.jivesoftware.openfire.container.PluginManager$PluginMonitor.run(PluginManager.java:1037) 
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) 
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) 
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) 
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
at java.lang.Thread.run(Thread.java:745)

Can you please help me about this? I’m not sure if I’m doing something wrong, I can see that this plugin works for other people.

Do I need to upgrade Openfire? There’s no min version in plugin info.


#2

The version of the file upload plugin you’re using requires Openfire 4.1 or above; either upgrade yoru Openfire or downgrade the version of the plugin.


#3

I guess someone should add min version information into plugin and on the Downloads page. @akrherz @guus


#4

I updated the plugin.xml in the github repo, but am struggling to remember how to build the plugins and our bamboo jobs are not ready for this yet either. Sigh