I'm following some classes from a Spring workshop, but I can not continue because of the error: The main class could not be found or loaded. Below is the code that contains the main function: / p>
package com.algaworks.vinhos;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class OficinaSpringFrameworkApplication {
public static void main(String[] args) {
SpringApplication.run(OficinaSpringFrameworkApplication.class, args);
}
}
Below is the folder structure: