Implicit super constructor Object() is undefined for default constructor. Must define an explicit constructor

I am building a spring boot application but I cannot Figure out this issue in the main class.

  • Main Class

     package io.javabrains.coronavirustracker; 
     import org.springframework.boot.SpringApplication;
     import org.springframework.boot.autoconfigure.SpringBootApplication;
     import org.springframework.scheduling.annotation.EnableScheduling;
    
     @SpringBootApplication
     @EnableScheduling
     public class CoronavirusTrackerApplication {
    
         public static void main(String[] args) {
             SpringApplication.run(CoronavirusTrackerApplication.class, args);
         }
    
     }
    
  • The Error

Implicit super constructor Object() is undefined for the default constructor. Must define an explicit constructor

enter image description here

Please Help



Read more here: https://stackoverflow.com/questions/68478742/implicit-super-constructor-object-is-undefined-for-default-constructor-must-d

Content Attribution

This content was originally published by Pulasthi Aberathne at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: