View Single Post
  #1   Spotlight this post!  
Unread 08-02-2015, 19:49
antonyebert antonyebert is offline
Registered User
FRC #4993
 
Join Date: Jan 2015
Location: NCA - Hutchinson, MN
Posts: 9
antonyebert is an unknown quantity at this point
Exclamation Import Cannot Be Resolved

Alright, so, I'm a really new programmer. And when I say really new, I mean I started 3 weeks ago, and all of my learning has been from youtube. So if any answers could be in layman terms, it would be much appreciated!

So, to start programming our robot, I created the program outline in RobotBuilder, then exported that to Eclipse. When I open the program in Eclipse however, it tells me that it cannot import most of the services it needs to run.

import edu.wpi.first.wpilibj.smartdashboard.SmartDashboar d;
import edu.wpi.first.wpilibj.*;
import edu.wpi.first.wpilibj.buttons.*;

These are an example of some of the things it won't import. The exact message is "import edu cannot be resolved". I have tried uninstalling eclipse, reinstalling it, and running a new program on it before trying to use RobotBuilder. I have checked the JARs, and they aren't corrupt.

Without these services, I cannot create pretty much any of the variables and objects I need (like Joysticks, solenoids, or speed controllers). Any ideas?
Reply With Quote