* fix 6427 - update Spring Boot to 2.1.3, update Spring Cloud to Greenwich.RELEASE * cleanup: specify Thymeleaf namespace, `@ComponentScan` is redundant near `@SpringBootApplication`
		
			
				
	
	
		
			20 lines
		
	
	
		
			672 B
		
	
	
	
		
			Java
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			672 B
		
	
	
	
		
			Java
		
	
	
	
	
	
package com.baeldung;
 | 
						|
 | 
						|
import org.springframework.boot.SpringApplication;
 | 
						|
import org.springframework.boot.autoconfigure.SpringBootApplication;
 | 
						|
import org.springframework.boot.autoconfigure.domain.EntityScan;
 | 
						|
import org.springframework.boot.web.servlet.ServletComponentScan;
 | 
						|
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
 | 
						|
 | 
						|
@ServletComponentScan
 | 
						|
@SpringBootApplication(scanBasePackages = "com.baeldung")
 | 
						|
@EnableJpaRepositories("com.baeldung.persistence.repo")
 | 
						|
@EntityScan("com.baeldung.persistence.model")
 | 
						|
public class Application {
 | 
						|
 | 
						|
    public static void main(String[] args) {
 | 
						|
        SpringApplication.run(Application.class, args);
 | 
						|
    }
 | 
						|
 | 
						|
}
 |