powered by Jive Software

Failed to install plugin!

error message:An exception occurred while loading plugin ‘pade’

I’m sorry to hear that you are experiencing a problem. If you’d like for us to try and help, you will need to provide relevant information.

Please post a screenshot using your desktop sniping tool or screen capture tool if you can. If you can, go to your Openfire admin console/web page, look for the error logs and post any error messages you can find.

If you can provide more information on how you loaded the plugin, what version of the plugin you loaded as well as the version of Openfire you are using plus any information about the O/S and Java JVM your openfire is running under will be very much appreciated.

微信截图_20220309231609
pade.jar 1.6.0

2022.03.09 23:19:52 INFO  [pool-51-thread-1]: uk.ifsoft.openfire.plugins.pade.PadePlugin - start pade server host.docker.internal:7443
2022.03.09 23:19:53 ERROR [pool-51-thread-1]: org.jivesoftware.openfire.container.PluginManager - An exception occurred while loading plugin 'pade':
java.lang.NoClassDefFoundError: javax/ws/rs/ext/MessageBodyReader
	at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_77]
	at java.lang.ClassLoader.defineClass(ClassLoader.java:763) ~[?:1.8.0_77]
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.8.0_77]
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) ~[?:1.8.0_77]
	at java.net.URLClassLoader.access$100(URLClassLoader.java:73) ~[?:1.8.0_77]
	at java.net.URLClassLoader$1.run(URLClassLoader.java:368) ~[?:1.8.0_77]
	at java.net.URLClassLoader$1.run(URLClassLoader.java:362) ~[?:1.8.0_77]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_77]
	at java.net.URLClassLoader.findClass(URLClassLoader.java:361) ~[?:1.8.0_77]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_77]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:411) ~[?:1.8.0_77]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_77]
	at java.lang.Class.forName0(Native Method) ~[?:1.8.0_77]
	at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_77]
	at com.sun.jersey.core.reflection.ReflectionHelper$3.run(ReflectionHelper.java:284) ~[jersey-core-1.19.4.jar!/:?]
	at com.sun.jersey.core.reflection.ReflectionHelper$3.run(ReflectionHelper.java:279) ~[jersey-core-1.19.4.jar!/:?]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_77]
	at com.sun.jersey.spi.service.ServiceFinder$AbstractLazyIterator.hasNext(ServiceFinder.java:697) ~[jersey-core-1.19.4.jar!/:?]
	at com.sun.jersey.spi.service.ServiceFinder.toClassArray(ServiceFinder.java:549) ~[jersey-core-1.19.4.jar!/:?]
	at com.sun.jersey.core.spi.component.ProviderServices.getServiceClasses(ProviderServices.java:345) ~[jersey-core-1.19.4.jar!/:?]
	at com.sun.jersey.core.spi.component.ProviderServices.getServiceClasses(ProviderServices.java:338) ~[jersey-core-1.19.4.jar!/:?]
	at com.sun.jersey.core.spi.component.ProviderServices.getServices(ProviderServices.java:162) ~[jersey-core-1.19.4.jar!/:?]
	at com.sun.jersey.core.spi.factory.MessageBodyFactory.initReaders(MessageBodyFactory.java:176) ~[jersey-core-1.19.4.jar!/:?]
	at com.sun.jersey.core.spi.factory.MessageBodyFactory.init(MessageBodyFactory.java:162) ~[jersey-core-1.19.4.jar!/:?]
	at com.sun.jersey.server.impl.application.WebApplicationImpl._initiate(WebApplicationImpl.java:1338) ~[jersey-server-1.19.4.jar!/:?]
	at com.sun.jersey.server.impl.application.WebApplicationImpl.access$700(WebApplicationImpl.java:180) ~[jersey-server-1.19.4.jar!/:?]
	at com.sun.jersey.server.impl.application.WebApplicationImpl$13.f(WebApplicationImpl.java:799) ~[jersey-server-1.19.4.jar!/:?]
	at com.sun.jersey.server.impl.application.WebApplicationImpl$13.f(WebApplicationImpl.java:795) ~[jersey-server-1.19.4.jar!/:?]
	at com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:193) ~[jersey-core-1.19.4.jar!/:?]
	at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:795) ~[jersey-server-1.19.4.jar!/:?]
	at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:790) ~[jersey-server-1.19.4.jar!/:?]
	at com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:509) ~[jersey-servlet-1.19.4.jar!/:?]
	at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:339) ~[jersey-servlet-1.19.4.jar!/:?]
	at com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:605) ~[jersey-servlet-1.19.4.jar!/:?]
	at com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:207) ~[jersey-servlet-1.19.4.jar!/:?]
	at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:394) ~[jersey-servlet-1.19.4.jar!/:?]
	at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:577) ~[jersey-servlet-1.19.4.jar!/:?]
	at javax.servlet.GenericServlet.init(GenericServlet.java:244) ~[javax.servlet-api-3.1.0.jar:3.1.0]
	at org.jivesoftware.openfire.plugin.rest.service.JerseyWrapper.init(JerseyWrapper.java:95) ~[pade-1.6.2.jar!/:?]
	at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:632) ~[jetty-servlet-9.4.43.v20210629.jar:9.4.43.v20210629]
	at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:415) ~[jetty-servlet-9.4.43.v20210629.jar:9.4.43.v20210629]
	at org.eclipse.jetty.servlet.ServletHandler.lambda$initialize$0(ServletHandler.java:731) ~[jetty-servlet-9.4.43.v20210629.jar:9.4.43.v20210629]
	at java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:352) ~[?:1.8.0_77]
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) ~[?:1.8.0_77]
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) ~[?:1.8.0_77]
	at java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:312) ~[?:1.8.0_77]
	at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:743) ~[?:1.8.0_77]
	at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580) ~[?:1.8.0_77]
	at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:755) ~[jetty-servlet-9.4.43.v20210629.jar:9.4.43.v20210629]
	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:379) ~[jetty-servlet-9.4.43.v20210629.jar:9.4.43.v20210629]
	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:910) ~[jetty-server-9.4.43.v20210629.jar:9.4.43.v20210629]
	at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:288) ~[jetty-servlet-9.4.43.v20210629.jar:9.4.43.v20210629]
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[jetty-util-9.4.43.v20210629.jar:9.4.43.v20210629]
	at org.jivesoftware.openfire.http.HttpBindManager.addJettyHandler(HttpBindManager.java:958) ~[xmppserver-4.7.1.jar:4.7.1]
	at uk.ifsoft.openfire.plugins.pade.PadePlugin.initializePlugin(PadePlugin.java:108) ~[pade-1.6.2.jar!/:?]
	at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java:637) [xmppserver-4.7.1.jar:4.7.1]
	at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask$4.call(PluginMonitor.java:375) [xmppserver-4.7.1.jar:4.7.1]
	at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask$4.call(PluginMonitor.java:363) [xmppserver-4.7.1.jar:4.7.1]
	at java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266) [?:1.8.0_77]
	at java.util.concurrent.FutureTask.run(FutureTask.java) [?:1.8.0_77]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_77]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_77]
	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_77]
Caused by: java.lang.ClassNotFoundException: javax.ws.rs.ext.MessageBodyReader
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[?:1.8.0_77]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_77]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_77]
	... 63 more