AnsweredAssumed Answered

Plugin could not install.

Question asked by oldboy on Jul 20, 2010
Latest reply on Jul 29, 2010 by oldboy

I've downloaded Sparkplug and Spark SVN and compiled the ExamplePlugin (From SparkPlug Docs). But when I copied myplugin.jar file into Spark installation plugin directory it doesn't works. Following Error log into error.log

 

Jul 16, 2010 12:15:48 PM org.jivesoftware.spark.util.log.Log error
SEVERE: Unable to load plugin ExamplePlugin due to no minSparkVersion.
Jul 16, 2010 12:25:12 PM org.jivesoftware.spark.util.log.Log error
SEVERE: Unable to load plugin ExamplePlugin due to no minSparkVersion.
Jul 16, 2010 1:02:43 PM org.jivesoftware.spark.util.log.Log error
SEVERE: Unable to load plugin ExamplePlugin due to no minSparkVersion.
Jul 16, 2010 1:12:57 PM org.jivesoftware.spark.util.log.Log error
SEVERE: Unable to load plugin ExamplePlugin due to no minSparkVersion.
Jul 16, 2010 1:12:57 PM org.jivesoftware.spark.util.log.Log error
SEVERE: Unable to load plugin com.mypackage.MyPlugin.
java.lang.ClassNotFoundException: com.mypackage.MyPlugin
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.jivesoftware.spark.PluginManager.loadPublicPlugin(PluginManager.java:266)
at org.jivesoftware.spark.PluginManager.loadPublicPlugins(PluginManager.java:532)
at org.jivesoftware.spark.PluginManager.loadPlugins(PluginManager.java:170)
at org.jivesoftware.spark.Workspace$4.run(Workspace.java:257)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Jul 17, 2010 3:41:38 AM org.jivesoftware.spark.util.log.Log error
SEVERE: Unable to load plugin com.mypackage.ExamplePlugin.
java.lang.ClassNotFoundException: com.mypackage.ExamplePlugin
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.jivesoftware.spark.PluginManager.loadPublicPlugin(PluginManager.java:266)
at org.jivesoftware.spark.PluginManager.loadPublicPlugins(PluginManager.java:532)
at org.jivesoftware.spark.PluginManager.loadPlugins(PluginManager.java:170)
at org.jivesoftware.spark.Workspace$4.run(Workspace.java:257)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Does any one help me.

 

Thanks

Outcomes