Quantcast
Channel: Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled - Stack Overflow
Viewing all articles
Browse latest Browse all 13

Answer by Kem Andrew for Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled

$
0
0

I had the same error. My fix was to add "@Component" to the top of my class declaration. In your case it would be:

@Componentpublic class Application {  public static void main(String[] args) {      SpringApplication springApplication=new SpringApplication(Application.class);      System.out.println("Spring Core Version:- " + SpringVersion.getVersion());      springApplication.run(args);  }}

Viewing all articles
Browse latest Browse all 13

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>