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

problem with installation of gradlew

asked 2012-10-26 03:26:55 -0600

iran gravatar image

updated 2012-10-26 04:24:32 -0600


I am trying to install gradlew through this command with the help of []

I got this error "package motion_planning_msgs does not exist"

does anyone have any idea how should I solve this problem

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2012-10-26 04:43:03 -0600

updated 2012-10-29 02:58:30 -0600

Hi Iran,

I guess you are using ROS Fuerte, right? The package that was called motion_planning_msgs in Electric has been merged into arm_navigation_msgs in Fuerte, so it doesn't exist any more. My guess is that you still have some artifacts from an Electric build lying around somewhere. Can you delete the directories ~/.m2 and ~/.ros/rosjava/ and try again?

If that doesn't help, check that your environment variables are set up correctly. In particular, check that the ROS_PACKAGE_PATH is correct (see "Environment setup" in the ROS installation instructions).


should say something like this (first some place(s) under your home dir where you put your own packages, then /opt/ros/fuerte stuff, no electric):


UPDATE (solution): For later reference: In private communication with Iran, it turned out that the problem's cause was that an older revision of rosjava_core was built with electric, then rosjava_core was updated to the current tip and compiled with Fuerte. Removing the rosjava_core directory and cloning it fresh solved the problem.

edit flag offensive delete link more


Yes, I have ROS electric installed in my computer. but, as you suggested, I delete ~/.m2 and ~/.ros/rosjava/ and then I try ./gradlew install. Again I have the same error. Also, my environment variable setup which was correct. any other suggestion? what about deleting the whole ROS electric?

iran gravatar image iran  ( 2012-10-28 04:29:37 -0600 )edit

answered 2012-10-26 05:28:00 -0600

iran gravatar image

Hi Martin,

I made mistake in removing! instead of removing ~/.ros/rosjava. I delete the whole folder ~/.ros

First, how should I recover the whole dependency which I removed?

Thanks, Iran

edit flag offensive delete link more


The .ros directory doesn't contain anything terribly important (log files, rviz configs...); everything should be regenerated automatically, so don't worry.

P.S.: When responding to an answer, you shouldn't post another answer, but use the "post a comment" button below that answer instead.

Martin Günther gravatar image Martin Günther  ( 2012-10-26 07:06:32 -0600 )edit

Question Tools

1 follower


Asked: 2012-10-26 03:26:55 -0600

Seen: 236 times

Last updated: Oct 29 '12