![]() |
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. |
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.
|
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.
|
| All times are GMT -5. The time now is 10:27. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi