| | |
| | | import org.springframework.boot.autoconfigure.SpringBootApplication; |
| | | import org.springframework.boot.context.properties.EnableConfigurationProperties; |
| | | import org.springframework.cloud.client.discovery.EnableDiscoveryClient; |
| | | import org.springframework.cloud.netflix.feign.EnableFeignClients; |
| | | import org.springframework.cloud.openfeign.EnableFeignClients; |
| | | |
| | | |
| | | /** |
| | |
| | | |
| | | |
| | | public static void main(String[] args) throws Exception { |
| | | SpringApplication.run(AppSpringBootApplication.class, args); |
| | | try{ |
| | | SpringApplication.run(AppSpringBootApplication.class, args); |
| | | }catch (Throwable e){ |
| | | logger.error("系统启动失败",e); |
| | | } |
| | | } |
| | | } |