URCAP ERROR HANDLING: The URCap needs a 3rd party dependency which is not available (CB3 Series)

Hi, I am currently using the SDK 1.17.0 to develop a URCap. I figured I start by studying the swing examples that came inside the SDK.

At first, I was using a virtual machine for E-Series 5.22 and executed the command “mvn install -P ursimvm” to install the “helloworldswing” and everything worked correctly. I was able to test the URCap.

Then I tried to test using a real robot. Currently I got a CB3-Series 3.15, so I just changed API version to 1.12.0 in the pom.xml file and executed the command “mvn install -Premote” and rebooted the robot. After booting, I got an error message: The URCap needs a 3rd party dependency which is not available.

I already read some of the related topics, but it is still not clear for me… (I just getting started with this kind of development)

How can I know which dependencies are missing? Can I install them or embed them, or is my robot too old for this SDK version?

Finally, I was able to solve my problem… Seems the issue was that I was using Java-21 which required me to use maven-compiler-plugin source and target options 8 or later. pom.xml file had this definition:

Seems that CB3 Series require to compile using options 6 instead.

So, in order to avoid this error:

I had to manually select older version of Java. In my case Java-11

After that URCap run in CB3 controller just fine.

1 Like