1.1.34.3. fejezet, Annotációk

Annotációk scan-elése

@SpringBootApplication
@EnableJpaRepositories(basePackages = { "hu.infokristaly.backupservice.repository" })
@EntityScan(basePackages = { "hu.infokristaly.backupservice.model" })
@ComponentScan(basePackages = { "hu.infokristaly.backupservice.controller", "hu.infokristaly.backupservice.service" })
public class BackupServerV2Application {
 
	public static void main(String[] args) {
		SpringApplication.run(BackupServerV2Application.class, args);
	}
 
}