package com.iplatform; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.Bean; import org.springframework.context.support.PropertySourcesPlaceholderConfigurer; import org.springframework.scheduling.annotation.EnableAsync; @SpringBootApplication(scanBasePackages = {"com.walker","com.iplatform"}) @EnableAsync public class CtomsTcpApplication { public static void main(String[] args) throws Exception{ SpringApplication.run(CtomsTcpApplication.class, args); } // @Bean // public static PropertySourcesPlaceholderConfigurer placeholderConfigurer() { // PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer = new PropertySourcesPlaceholderConfigurer(); // propertySourcesPlaceholderConfigurer.setIgnoreUnresolvablePlaceholders(true); // return propertySourcesPlaceholderConfigurer; // } }