Go to Post So, apparently I have my own division in nationals going by the search, "elgin clock division". Why was I not told about this? jeesh... - Elgin Clock [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 12-03-2015, 17:52
minutebot minutebot is offline
Programming Captain
FRC #4536 (The Minutebots)
Team Role: Programmer
 
Join Date: Mar 2014
Rookie Year: 2014
Location: Saint Paul, Minnesota
Posts: 26
minutebot is a glorious beacon of lightminutebot is a glorious beacon of lightminutebot is a glorious beacon of lightminutebot is a glorious beacon of lightminutebot is a glorious beacon of light
Code Works on Robot but Still Displays Errors

I'm working with Java in Eclipse and even though when I deploy code it works fine on the robot, I'm still getting error messages throughout my code stemming from the initial errors in the import statements "The import edu cannot be resolved". I've tried a number of things to fix this
-Removing the JRE system library and readding it
-I've selected jdk.1.8.0_25 in the installed JREs
-Reimported from github
-Reinstalled eclipse
-Reinstalled the FRC plugins

Yet none of these have worked. I'd really like to be able to tell when my code has an actual error so any help is much appreciated.
Reply With Quote
  #2   Spotlight this post!  
Unread 12-03-2015, 20:17
Fauge7 Fauge7 is offline
Head programmer
FRC #3019 (firebird robotics)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Scottsdale
Posts: 195
Fauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to all
Re: Code Works on Robot but Still Displays Errors

Try removing and added the referenced libraries in your code. By that I mean remove the wpilib and add it again...its looking in a different location and eclipse cannot find it however the build script does. I had the same problem just readd the libraries and it should be fixed.
Reply With Quote
  #3   Spotlight this post!  
Unread 14-03-2015, 11:44
minutebot minutebot is offline
Programming Captain
FRC #4536 (The Minutebots)
Team Role: Programmer
 
Join Date: Mar 2014
Rookie Year: 2014
Location: Saint Paul, Minnesota
Posts: 26
minutebot is a glorious beacon of lightminutebot is a glorious beacon of lightminutebot is a glorious beacon of lightminutebot is a glorious beacon of lightminutebot is a glorious beacon of light
Re: Code Works on Robot but Still Displays Errors

I just fixed it. Turns out I needed to add wpilib as a new variable and manually set the build path.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:28.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi