Import issues

I have been trying to get my code to work, and the only problem that I’m running into is that the imports from last year no longer work, specifically the following imports:

import com.ctre.phoenix.motorcontrol.ControlMode;
import com.ctre.phoenix.motorcontrol.NeutralMode;
import com.ctre.phoenix.motorcontrol.canTalon;

On all of these imports, the com.ctre is what’s being flagged as an error.
Does anyone know how to correct this? I have the latest Phoenix software downloaded, and the links to the specific imports are the same.

Did you add the Phoenix libraries to your project per these instructions? The libraries have to be installed into each project.

Yes, I have done this, and restarted eclipse, but still nothing.

Eclipse? You should be using vscode this year.

Can I just copy and paste the code from eclipse into vscode?

You can do that (after creating a new robot project in vscode), or you can run the importer.

Perfect, thanks