I’ve updated WPILib to version 2022.1.1 and FRC Driver Station 22.0. RoboRio image is FRC_roboRio_2022_v3.0.
After deploying code to rio, the we get an error message in the rioLog.
Error: Could not find or load main class frc.robot.Main
Caused by: java.lang.ClassNotFoundException: frc.robot.Main
I’ve recreated the project multiple times using the WPI create a new project feature but the same message every time. There are no other errors in the code.
Main project looks like this
package frc.robot;
import edu.wpi.first.wpilibj.RobotBase;
public final class Main {
private Main() {}
public static void main(String... args) {
RobotBase.startRobot(Robot::new);
}
}