Error in Spring Framework: Could not find or load main class

1

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:

    
asked by anonymous 16.04.2018 / 20:27

0 answers