fix: spring-boot profile별 설정 읽을수 있도록 fix

dev
Jonguk. Lim 6 months ago
parent 13a1505a5c
commit 698fdf748b

@ -8,7 +8,6 @@ import java.util.stream.Collectors;
import org.egovframe.rte.fdl.cmmn.trace.LeaveaTrace;
import org.egovframe.rte.fdl.property.impl.EgovPropertyServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
@ -25,8 +24,11 @@ import com.fasterxml.jackson.databind.ObjectMapper;
@Configuration
@ComponentScan(basePackages = "cokr.xit")
public class CommonConfig {
@Autowired
Environment env;
final Environment env;
public CommonConfig(Environment env) {
this.env = env;
}
/**AntPathMatcher .
* @return AntPathMatcher

Loading…
Cancel
Save