1 导包implementation 'org.springframework.cloud:spring-cloud-config-server'2 配置文件server: port: 8203spring: application: name: config-server cloud: config: server: git: u……继续阅读 » 寻梦 5年前 (2019-10-24) 387浏览 0评论0个赞
1 导入的包 implementation 'com.netflix.hystrix:hystrix-javanica' implementation 'org.springframework.boot:spring-boot-starter-actuator' implementation 'org.springframework.cloud:spring-cloud-netflix-h……继续阅读 » 寻梦 5年前 (2019-10-24) 470浏览 0评论0个赞
错误(iptables failed: iptables --wait -t filter -A DOCKER ! -i docker0 -o docker0 -p tcp -d 172.17.0.2 --dport 4399 -j ACCEPT: iptables: No chain/target/match by that name. (exit status 1)).解决重启dock……继续阅读 » 寻梦 5年前 (2019-10-23) 750浏览 0评论0个赞
网上大部分都是扯淡问题Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is feign.RetryableException: Connection timed out:……继续阅读 » 寻梦 5年前 (2019-10-23) 574浏览 0评论0个赞
1、判断文件夹是否存在//spath:文件夹路径名 using System.IO;if (Directory.Exists(spath)){}else{ DirectoryInfo directoryInfo = new DirectoryInfo(spath); directoryInfo.Create();}2、判断文件是否存在// f……继续阅读 » 寻梦 5年前 (2019-10-11) 1290浏览 0评论2个赞
问题:使用thymeleaf+springboot+maven的项目正常运行,打包jar后运行报错解决:@RequestMapping("/view")public String view() { return "/view";}改成@RequestMapping("/view")public String view() { return "view";}……继续阅读 » 寻梦 5年前 (2019-10-09) 1098浏览 0评论0个赞