Skip to content

Spring boot

GunSik Choi edited this page Mar 4, 2016 · 10 revisions
@EnableAutoConfiguration
@ComponentScan("com.opencredo.springboot")

@Configuration 
@EnableAutoConfiguration 
@ComponentScan

@SpringBootApplication
  • boot property path
spring.config.location
  • The default search path classpath:,classpath:/config,file:,file:config/ is always used, irrespective of the value of spring.config.location.
  • profile specific path
spring.profiles.active

Clone this wiki locally