JUnit

1 post / 0 new
Offline
Last seen: 2 years 10 months ago
Joined: 06/10/2021
Posts: 1
How do I set up Eclipse to run JUnit tests?

I'm trying to set up JUnit tests which depend on java classes generated from idls. I've added the nddsjava.jar to Referenced Libraries and set the run configuration PATH environment variable to point to the ndds java libraries.

When I try to run a JUnit test class I get the exception

java.lang.NoSuchMethodError: 'void com.rti.dds.typecode.StructMember.<init>(java.lang.String, boolean, short, boolean, com.rti.dds.typecode.TypeCode, int, boolean, com.rti.dds.typecode.Annotations)'

What am I missing?

Subscribe to RSS - JUnit