Setting the base package for component scanning:
@SpringBootApplication(scanBasePackages=”com.journaldev.spring”)
where “” includes the location of the base package.
Setting the base package for component scanning:
@SpringBootApplication(scanBasePackages=”com.journaldev.spring”)
where “” includes the location of the base package.