I am trying to deploy a KNIME Extension from a project that I have not previously worked on. It builds fine in eclipse, but when I generate the update site, the extension fails to load with a bunch of identical errors, one for each node, saying that the factor class could not be loaded because the corresponding plugin bundle could not be activated. I haven’t been able to find any sensible (to me) hints on the web. Does anyone here have any experience with this issue? It is likely that this extension hasn’t been deployed in a couple years, so maybe something in KNIME changed in this time?
I have seen errors like this many times, it is most likely an issue with the plugin configuration, this error sounds like there is something off in the configuration which prevents the activation.
Can you share the code with us, so I can take a look? Also, try connecting to the running KNIME AP installation using remote debugging (https://javarevisited.blogspot.com/2011/02/how-to-setup-remote-debugging-in.html), and setting a breakpoint in the activator of your plugin. Then you can observe any occurring errors.
Thanks for the hints. I was eventually able to track the error down to some conflicting compiler settings. It wasn’t very straightforward to find a meaningful message regarding the problem, but as a hint to future folks, using the feature export wizard gave more detailed error logs than the update site builder.