WangHan
2025-04-02 a8ba678a3fe5a39da2c732014cebbb66e408e97c
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;
//    }
}