Question - Can you tell how to exclude any package without using the basePackages filter?
Answer -
We can use the exclude attribute while using the annotation @SpringBootApplication as follows:
- @SpringBootApplication(exclude= {Student.class})
- public class InterviewBitAppConfiguration {}