Our team had the same error when our package structure was named incorrectly. If it's not currently the case, replace the lines
Code:
package=SOMETHING
robot.class=SOMETHING
with
Code:
package=org.usfirst.frc.team3871.robot
robot.class=${package}.Robot
This is in build.properties.