Could not load the created node

#1

HI All,

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!

0 Likes

#2

Hi @unnisathya92,
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.

best,
Gabriel

0 Likes

#3

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

0 Likes

#4

Hi @unnisathya92,
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.

best,
Gabriel

0 Likes

#7

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.

1 Like

#8

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.

best,
Gabriel

0 Likes