I created a custom Knime node and tried loading it in the Knime AP. I was not able to see the node in the node repo pane
FOllowing is the error I got
ERROR Worker-1 RepositoryManager Node org.knime.example.node.KPMGRestNodeFactory’ from plugin ‘org.kpmg.restnode’ could not be created: Can’t load factory class for node: org.knime.example.node.KPMGRestNodeFactory The corresponding plugin bundle could not be activated!
you need to take a look at the KNIME log, there you should find the exception that caused this error, next to the error message you posted.
Hi @gab1one ,
Thanks for your reply. I was able to load the custom Knime node built in my eclipse`s Knime AP. But when I try to export this as deployable plugin fragment and load it in my Knime Desktop, it does not load up nor does it show any error message in the knime.log
These kinds of issues are usually caused by dependency problems, can you make sure that the log level is set to DEBUG? If that does not show anything you can try to connect to your KNIME AP installation via remote debugging, for that you need to modify the startup settings: (https://www.eclipse.org/jetty/documentation/9.4.x/enable-remote-debugging.html) and create a new Remote Debug launch configuration in eclipse.
just resolve the error,i removed the node jar itself,i.e XXNodeFactory, the XXNode.jar must be in the classpath.
suggest update the FAQ https://www.knime.com/developer/faq remind developer do not remove the node jar self.
Thank you for that note, we are currently reworking the developer guide, I will make sure the section about the class path is sufficiently clear.