When 'org.springframework.boot:spring-boot-starter-web' dependency is only added and
run the following code:
@EnableAutoConfiguration
@ComponentScan
public class Application {
public static void main(String[] args) {
SpringApplication.run(Application.class);
}
}
Got the following exception:
java.lang.ClassNotFoundException: org.springframework.dao.DataAccessException
I think there's no reason to get the above exception.