Salve a tutti,
Mi da questo errore:
Multiple markers at this line
- The method run(Object, String...) from the type SpringApplication refers to the missing type
ConfigurableApplicationContext
- The type org.springframework.context.ConfigurableApplicationContext cannot be resolved. It is indirectly
referenced from required .class files
Poi mi da un altro errore:
The requested profile "pom.xml" could not be activated because it does not exist
Non capisco ho fatto le ricerche è mi dà sempre errore nel main.
package com.example.demo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class ProvaApplication {
public static void main(String[] args) {
SpringApplication.run(ProvaApplication.class, args);
}
}