The project was not built since its build path is incomplete.
Cannot find the class file for java.lang.Enum. Fix the build path then try building this project.
Project ->
Properties ->
Java Build Path -> Libraries -> Modulepath-> Add Library
JRE System Library->Next-> Workspace default JRE(jdk-17) -> Finish
Apply and Close