package com.changhong.epc.server;
|
|
import com.iemsoft.framework.cloud.core.run.IEMApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
|
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
|
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
|
import org.springframework.context.annotation.ComponentScan;
|
|
@EnableEurekaServer
|
@SpringBootApplication(exclude={DataSourceAutoConfiguration.class,HibernateJpaAutoConfiguration.class})
|
@ComponentScan(basePackages={"com.iemsoft.framework.cloud.core"})
|
public class ServerApplication{
|
|
public static void main(String[] args) {
|
new IEMApplication(ServerApplication.class).run(args);
|
}
|
|
}
|