从填充的地方找
加载的是一个本地目录,
server端配置
spring: profiles: active: native cloud: config: server: native: search-locations: C:/Users/Administrator/IdeaProjects/springcloud-study01/_conf
client-dev.yml 对应客户端配置:{name}-{profile}.yml
spring: application: name: client cloud: uri: http://localhost:8081 profile: dev
client-dev.yml
存储的是配置信息,
user: south
你可以加一个,加一个时间戳
我算是服了,花两天时间,启动一直报错,发起了
兄嘚 就是你的D盘啊
大佬,后面怎么解决的,我也是这个问题
不太清楚,一直没解决,很难受
<parent> <artifactId>spring-boot-starter-parent</artifactId> <groupId>org.springframework.boot</groupId> <version>2.0.4.RELEASE</version> </parent> <dependencyManagement> <dependencies> <dependency> <groupId>org.springframe.cloud</groupId> <artifactId>spring-cloud-dependencies</artifactId> <version>Finchley.SR1</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-web --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <!-- https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-starter --> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter</artifactId> </dependency> <!-- https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-starter-config --> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-config</artifactId> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> </plugins> </build> <repositories> <repository> <id>maven-ali</id> <url>http://maven.aliyun.com/nexus/content/groups/public//</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>true</enabled> <updatePolicy>always</updatePolicy> <checksumPolicy>fail</checksumPolicy> </snapshots> </repository> </repositories>
源码手下
bootstarp a标签href=弹框id 或者邦定click事件 js 打开弹框 $("#id").modal("show");
maven引入依赖包:
<dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>23.0</version> </dependency>
并且,你的格式错了哦。是@Value("${system.name}")这个样子,不是@Value(${"system.name"})这个样子哦。再次感谢Gudy大神分享知识点!
没有。
国内环境Maven用aliyun的源是最好的选择了
那是接口有问题呢
请仔细看两者的区别
因为小伙伴们里面还是有部分才刚入门,所以有些地方在放慢了讲述
https://github.com/2051935865/scc-demo/
https://github.com/sfwyly/scc-demo
估计Gudy大神的本意是要【有志者们】自己跟着敲一遍。一定会受益良多!