I’m not able to resolve this import:
I can’t find it to add to my dependencies… Any ideas?
Hi @azsb1g19,
You can’t import classes with $
. The correct import is: org.knime.core.node.port.PortObject.PortObjectSerializer
The class is part of org.knime.core
which you should have already as a dependency.
best,
Gabriel
Hi @azsb1g19,
- This class is located in the
org.knime.core
bundle, so make sure to add that one as a dependency. - Please do not depend on source bundles, e.g.
org.knime.core.wizard.souce
they only contain source code and are not meant as runtime dependencies.
best,
Gabriel
Thanks @gab1one how do I do add org.knime.core
as a dependency? It’s not available in the plug-in selection dialog .