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

rosjava_core not compiling with messsage error

asked 2012-04-13 06:40:46 -0600

dfseifer gravatar image

I am trying to build rosjava_core using the command:

./gradlew install

and getting the following error output (only the seeming relevant error included):



Exception in thread "main" java.util.NoSuchElementException: No message definition available for: move_arm_msgs/MoveArmGoal at org.ros.internal.message.MessageDefinitionProviderChain.get( at org.ros.internal.message.DefaultMessageFactory.newFromType( at org.ros.internal.message.MessageFieldType.getDefaultValue( at org.ros.internal.message.ScalarField.newValue( at org.ros.internal.message.MessageContext.addValueField( at org.ros.internal.message.MessageContextFactory$1.scalar( at org.ros.internal.message.MessageDefinitionParser.parseField( at org.ros.internal.message.MessageDefinitionParser.parse( at org.ros.internal.message.MessageContextFactory.newFromMessageDeclaration( at at org.ros.internal.message.GenerateInterfaces.writeServiceInterfaces( at org.ros.internal.message.GenerateInterfaces.generate( at org.ros.internal.message.GenerateInterfaces.main(

It should be noted that does exist in rosjava_messages. Any ideas?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-04-15 06:04:11 -0600

dfseifer gravatar image

OK, I figured out the problem. I had some code written for diamondback that had references to deprecated messages in my workspace. Creating a clean workspace, with only the electric stacks and none of my own code fixed the problem.

edit flag offensive delete link more

Question Tools


Asked: 2012-04-13 06:40:46 -0600

Seen: 176 times

Last updated: Apr 15 '12