“The type edu.wpi.first.wpilibj.SpeedController cannot be resolved. It is indirectly referenced from required type com.revrobotics.CANSparkMaxLowLevelJava(16777563)”
How do I fix this error in my code?
I know how to solve the other errors in my code but not this one
“Open WPILib Command Palette” (the W icon, or ctrl-shift-p keyboard shortcut)
WPILib: Manage Vendor Libraries
Manage current libraries
If REVLib is not 2023.1.1, click box and uninstall it
Install new library (online) https://software-metadata.revrobotics.com/REVLib-2023.json