• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in Spring by
Q:
Can you tell how to exclude any package without using the basePackages filter?

1 Answer

0 votes
by

We can use the exclude attribute while using the annotation @SpringBootApplication as follows

@SpringBootApplication(exclude= {Student.class})

public class InterviewBitAppConfiguration {}

Related questions

0 votes
asked Apr 4, 2021 in Spring by Robindeniel
0 votes
asked Apr 4, 2021 in Spring by Robindeniel
...