• +91 9723535972
  • info@interviewmaterial.com

Spring Interview Questions and Answers

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 {}

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners