Error: Could not find or load main class com.eventoapp.Eventoappalication

Asked

Viewed 400 times

0

I’m with this error I can’t run my application.


Error: Could not find or load main class com.eventoapp.Eventoappalication

My class

package com.eventoapp;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class EventoappApplication {

    public static void main(String[] args) {
        SpringApplication.run(EventoappApplication.class, args);
    }
}
  • What is the structure of your project?

  • How you are trying to run your application?

  • The structure of my project is in Maven. I’m running it with java Application.

  • Running from the command line? If so, what command? Is it from the IDE? What? Your class is ok, it may be environment problem

  • I’m running through IDE:Eclipse neon

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.