package com.example.chapter1cousmer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.context.annotation.Bean;
import org.springframework.web.client.RestTemplate;
@EnableDiscoveryClient // Eureka Discovery Client 标识
@SpringBootApplication // Spring Boot 应用标识
public class Chapter1cousmerApplication {
@Bean
@LoadBalanced
RestTemplate restTemplate() {
return new RestTemplate();
}
public static void main(String[] args)
{
// 程序启动入口
// 启动嵌入式的 Tomcat 并初始化 Spring 环境及其各 Spring 组件
SpringApplication.run(Chapter1cousmerApplication.class,args);
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
eruaka.rar_eruaka_eruaka效率问题_eruaka注册中心_springcloud_什么是eruaka
共573个文件
xml:523个
java:9个
class:9个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 33 浏览量
2022-09-21
21:15:44
上传
评论
收藏 400KB RAR 举报
温馨提示
springcloud 注册中心,eruaka
资源推荐
资源详情
资源评论
收起资源包目录
eruaka.rar_eruaka_eruaka效率问题_eruaka注册中心_springcloud_什么是eruaka (573个子文件)
Chapter1c2Application.class 1KB
Chapte1cApplication.class 1KB
DemotestApplication.class 1KB
Chapter1cousmerApplication.class 1KB
CustomerController.class 1018B
Chapter1cousmerApplicationTests.class 677B
Chapter1c2ApplicationTests.class 652B
Chapte1cApplicationTests.class 642B
DemotestApplicationTests.class 642B
mvnw.cmd 5KB
mvnw.cmd 5KB
mvnw.cmd 5KB
mvnw.cmd 5KB
.gitignore 249B
.gitignore 249B
.gitignore 249B
.gitignore 249B
chapter1c2.iml 15KB
chapte1c.iml 15KB
demotest.iml 15KB
chapter1cousmer.iml 14KB
maven-wrapper.jar 46KB
maven-wrapper.jar 46KB
maven-wrapper.jar 46KB
maven-wrapper.jar 46KB
Chapter1cousmerApplication.java 856B
Chapter1c2Application.java 836B
Chapte1cApplication.java 828B
DemotestApplication.java 746B
CustomerController.java 714B
Chapter1cousmerApplicationTests.java 353B
Chapter1c2ApplicationTests.java 343B
Chapte1cApplicationTests.java 339B
DemotestApplicationTests.java 339B
mvnw 6KB
mvnw 6KB
mvnw 6KB
mvnw 6KB
maven-wrapper.properties 110B
maven-wrapper.properties 110B
maven-wrapper.properties 110B
maven-wrapper.properties 110B
workspace.xml 24KB
workspace.xml 22KB
workspace.xml 22KB
workspace.xml 20KB
pom.xml 2KB
pom.xml 2KB
pom.xml 2KB
pom.xml 1KB
Maven__org_springframework_cloud_spring_cloud_netflix_eureka_client_1_3_1_RELEASE.xml 801B
Maven__org_springframework_cloud_spring_cloud_netflix_eureka_client_1_3_5_RELEASE.xml 801B
Maven__org_springframework_cloud_spring_cloud_netflix_eureka_server_1_3_5_RELEASE.xml 801B
Maven__org_springframework_cloud_spring_cloud_starter_eureka_server_1_3_5_RELEASE.xml 801B
Maven__org_springframework_cloud_spring_cloud_netflix_eureka_server_1_3_5_RELEASE.xml 801B
Maven__org_springframework_cloud_spring_cloud_starter_eureka_server_1_3_5_RELEASE.xml 801B
Maven__org_springframework_cloud_spring_cloud_netflix_eureka_client_1_3_5_RELEASE.xml 801B
Maven__org_springframework_cloud_spring_cloud_starter_eureka_server_1_3_5_RELEASE.xml 801B
Maven__org_springframework_cloud_spring_cloud_netflix_eureka_server_1_3_5_RELEASE.xml 801B
Maven__org_springframework_cloud_spring_cloud_netflix_eureka_client_1_3_5_RELEASE.xml 801B
Maven__org_springframework_boot_spring_boot_starter_freemarker_1_5_8_RELEASE.xml 769B
Maven__org_springframework_boot_spring_boot_test_autoconfigure_1_5_3_RELEASE.xml 769B
Maven__org_springframework_boot_spring_boot_test_autoconfigure_1_5_8_RELEASE.xml 769B
Maven__org_springframework_boot_spring_boot_test_autoconfigure_1_5_8_RELEASE.xml 769B
Maven__org_springframework_boot_spring_boot_starter_freemarker_1_5_8_RELEASE.xml 769B
Maven__org_springframework_boot_spring_boot_test_autoconfigure_1_5_8_RELEASE.xml 769B
Maven__org_springframework_boot_spring_boot_starter_freemarker_1_5_8_RELEASE.xml 769B
Maven__org_springframework_cloud_spring_cloud_starter_archaius_1_3_1_RELEASE.xml 766B
Maven__org_springframework_cloud_spring_cloud_starter_archaius_1_3_5_RELEASE.xml 766B
Maven__org_springframework_cloud_spring_cloud_starter_archaius_1_3_5_RELEASE.xml 766B
Maven__org_springframework_cloud_spring_cloud_starter_archaius_1_3_5_RELEASE.xml 766B
Maven__org_springframework_boot_spring_boot_starter_actuator_1_5_8_RELEASE.xml 755B
Maven__org_springframework_boot_spring_boot_starter_actuator_1_5_8_RELEASE.xml 755B
Maven__org_springframework_boot_spring_boot_starter_actuator_1_5_8_RELEASE.xml 755B
Maven__org_springframework_cloud_spring_cloud_starter_eureka_1_3_1_RELEASE.xml 752B
Maven__org_springframework_cloud_spring_cloud_starter_ribbon_1_3_1_RELEASE.xml 752B
Maven__org_springframework_cloud_spring_cloud_starter_ribbon_1_3_5_RELEASE.xml 752B
Maven__org_springframework_cloud_spring_cloud_starter_ribbon_1_3_5_RELEASE.xml 752B
Maven__org_springframework_cloud_spring_cloud_starter_ribbon_1_3_5_RELEASE.xml 752B
Maven__org_springframework_boot_spring_boot_starter_logging_1_5_3_RELEASE.xml 748B
Maven__org_springframework_boot_spring_boot_starter_logging_1_5_8_RELEASE.xml 748B
Maven__org_springframework_boot_spring_boot_starter_logging_1_5_8_RELEASE.xml 748B
Maven__org_springframework_boot_spring_boot_starter_logging_1_5_8_RELEASE.xml 748B
Maven__com_fasterxml_jackson_module_jackson_module_jaxb_annotations_2_8_10.xml 743B
Maven__com_fasterxml_jackson_module_jackson_module_jaxb_annotations_2_8_10.xml 743B
Maven__com_fasterxml_jackson_module_jackson_module_jaxb_annotations_2_8_10.xml 743B
Maven__org_springframework_boot_spring_boot_starter_tomcat_1_5_3_RELEASE.xml 741B
Maven__org_springframework_boot_spring_boot_starter_tomcat_1_5_8_RELEASE.xml 741B
Maven__org_springframework_boot_spring_boot_starter_tomcat_1_5_8_RELEASE.xml 741B
Maven__org_springframework_boot_spring_boot_starter_tomcat_1_5_8_RELEASE.xml 741B
Maven__org_springframework_cloud_spring_cloud_netflix_core_1_3_1_RELEASE.xml 738B
Maven__org_springframework_cloud_spring_cloud_netflix_core_1_3_5_RELEASE.xml 738B
Maven__org_springframework_cloud_spring_cloud_netflix_core_1_3_5_RELEASE.xml 738B
Maven__org_springframework_cloud_spring_cloud_netflix_core_1_3_5_RELEASE.xml 738B
Maven__org_springframework_boot_spring_boot_autoconfigure_1_5_3_RELEASE.xml 734B
Maven__org_springframework_boot_spring_boot_autoconfigure_1_5_8_RELEASE.xml 734B
Maven__org_springframework_boot_spring_boot_autoconfigure_1_5_8_RELEASE.xml 734B
Maven__org_springframework_boot_spring_boot_autoconfigure_1_5_8_RELEASE.xml 734B
Maven__org_springframework_security_spring_security_crypto_4_2_2_RELEASE.xml 729B
Maven__org_springframework_security_spring_security_crypto_4_2_3_RELEASE.xml 729B
共 573 条
- 1
- 2
- 3
- 4
- 5
- 6
资源评论
weixin_42653672
- 粉丝: 93
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功