ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

rosjava build error in kinetic: Could not find org.ros.rosjava_messages:tf:1.11.9

asked 2017-11-28 20:00:12 -0500

rbiro gravatar image

I am trying to update from ROS Indigo (and Ubuntu 14) to ROS Kinetic (and Ubuntu 16) While my code builds under Indigo, when I try to do a catkin_make under Kinetic, I always get the same build failure when trying to generate rosjava bindings for my .msg and .srv files. The rest of the project builds fine - compiling C++ code, generating Python bindings for the .msg & .srv files, etc.

The build failure:

FAILURE: Build failed with an exception.

edit retag flag offensive close merge delete

Comments

It seems that the artifact for that version is missing in rosjava_mvn_repo:https://github.com/rosjava/rosjava_mvn_repo/tree/master/org/ros/rosjava_messages/tf.

I will add it soon.

jubeira gravatar image jubeira  ( 2017-11-29 14:08:09 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-12-04 08:05:42 -0500

jubeira gravatar image

@rbiro this is a known issue in genjava.

When you create a new custom service/ message, genjava will add a dependency to the messages you have installed in your system (in this case, for tf, the message version is 1.11.9).

The problem is that the latest version of the messages is not always available in rosjava_mvn_repo. I will add it when I can (the problem is that I will also need to update the version of it's dependencies, so it might take a while).

In the meantime, maybe you can try going to /home/grabit/svn/trunk/ros_linux/catkin_ws/devel/share/maven/org/ros/rosjava_messages/stackit_msgs/0.0.0/stackit_msgs-0.0.0.pom , and edit the dependency to tf:1.11.8 manually. See https://github.com/rosjava/rosjava_mv... for reference.

edit flag offensive delete link more

Comments

Hi @jubeira, I have the same problem now with:

org.ros.rosjava_messages:roscpp:1.12.16

org.ros.rosjava_messages:topic_tools:1.12.16

org.ros.rosjava_messages:actionlib:1.11.16

They don't seem to be available in the rosjava_mvn_repo. Unfortunately, I don't have any devel/share/maven directory in my workspace so I cannot modify the dependencies on my own. Do you have any ideas? Regards

rosmax gravatar image rosmax  ( 2020-09-18 08:11:44 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2017-11-28 20:00:12 -0500

Seen: 878 times

Last updated: Dec 04 '17