WangHan
2025-04-03 a1b85ef72062ca80db35546e4216dd564f3e0f57
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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;
//    }
}