We can use the exclude attribute while using the annotation @SpringBootApplication as follows
@SpringBootApplication(exclude= {Student.class})
public class InterviewBitAppConfiguration {}