java.lang.NoClassDefFoundError: org/knime/core/node/workflow/VariableType in Eclipse SDK

Hi Team,

When I start KNIME AP from my Eclipse IDE (Eclipse 2021-3 and KNIME 4.3.3), I see the below error. Any help would be appreciated. In my sdk, I have setup the Actually this happens randomly. My sdk setup was working all these days but suddenly throwing the below error now.

Exception in thread "Thread-6" java.lang.NoClassDefFoundError: org/knime/core/node/workflow/VariableType
	at com.schrodinger.knime.util.NodeUtils.<clinit>(
	at com.schrodinger.knime.util.MAEFileUtils.exec(
	at com.schrodinger.knime.util.MAEFileUtils.exec(
	at com.schrodinger.knime.util.MAEFileUtils.checkLicense(
	at com.schrodinger.knime.util.PythonService.startService(
	at com.schrodinger.knime.util.PythonService.lambda$0(
Caused by: java.lang.ClassNotFoundException: org.knime.core.node.workflow.VariableType cannot be found by com.schrodinger.knime.base_21.3.87.qualifier
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(
	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(
	at java.lang.ClassLoader.loadClass(
	... 7 more


Hi @ravikiran

Did you by chance use the same eclipse workspace with both the KNIME 4.4.0 and 4.3.3 target platform? This might lead to strange effects like this one. Alternatively did you maybe set a much older target platform? The VariableType was released with 2019-12 / 4.1.0.


No for both.
Actually, recreating my eclipse sdk setup from scratch worked. Looks like some transient corruption in my eclipse.


1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.