You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
622 B
23 lines
622 B
package com.bx.imserver;
|
|
|
|
|
|
import org.springframework.boot.CommandLineRunner;
|
|
import org.springframework.boot.SpringApplication;
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
import org.springframework.context.annotation.ComponentScan;
|
|
import org.springframework.scheduling.annotation.EnableAsync;
|
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
|
|
|
|
@EnableAsync
|
|
@EnableScheduling
|
|
@ComponentScan(basePackages={"com.bx"})
|
|
@SpringBootApplication
|
|
public class IMServerApp {
|
|
|
|
|
|
public static void main(String[] args) {
|
|
SpringApplication.run(IMServerApp.class,args);
|
|
}
|
|
|
|
}
|
|
|