Universal Robots Forum

NoClassDefFoundError for some SDK 1.2 classes

Hello to all,
I’m having some issues using the new features introduced since the SDK 1.2.

I’m following the samples idletime and cyclecounter and after reading Read variables set by assignment, I’m continuing having the NoClassDefFoundError when using for example VariableModel and the Filter running on the simulator (3.5.3 - API 1.2.56).
I’m correctly importing the classes in the source file (import com.ur.urcap.api.domain.variable.Variable;, import com.ur.urcap.api.domain.variable.VariableModel; and import com.ur.urcap.api.domain.util.Filter;) and building with the correct SDK.

What I’m missing?

Best regards,

Matteo Timossi @recognitionrobotics

For others reading, I found the issue…I was missing some packages from the MANIFEST file.