Hi,
I’m writing a plugin. I need import a package which has been done and used in our other applications. I put the jar file of that package to /servoy_home/application_server/lib and then added it to my classpath. But after I exported my plugin and restarted servoy I always get “java.lang.NoClassDefFoundError” exception when I ran the plugin.
Out of my head: you should place the extra libraries that you use in a folder in the plugins folder (those libraries need to be pushed to the smart client via Java webstart) and you will also need to write a jnlp file to describe the libraries that your plugins is using (Java webstart needs it), have a look at the default plugin and you will see what I mean.
I’m writing a plugin. I need import a package which has been done and used in our other applications. I put the jar file of that package to /servoy_home/application_server/lib and then added it to my classpath. But after I exported my plugin and restarted servoy I always get “java.lang.NoClassDefFoundError” exception when I ran the plugin.
Have you read the Servoy documentation?
It should be explained in there as well…