04 2019 档案

摘要:用@SpringBootApplication(exclude = RibbonRule.class)排除类@bean注入的类的时候报错 The following classes could not be excluded because they are not auto-configurati 阅读全文
posted @ 2019-04-25 18:53 空知大仙人 阅读(12268) 评论(0) 推荐(0)
摘要:今天看《重新定义spring cloud实战》 的 ribbon实战时候,引入 spring-cloud-starter-netflix-eureka-client 同时又引入spring-cloud-starter-ribbon 想到之前写样例时候没有引入spring-cloud-starter- 阅读全文
posted @ 2019-04-25 17:06 空知大仙人 阅读(5099) 评论(0) 推荐(0)
摘要:今天看书时候发现一个Maven引用 spring-cloud-starter-eureka-server 记得之前使用的都是spring-cloud-starter-netflix-eureka-server 去maven仓库看了下 spring-cloud-starter-eureka-serve 阅读全文
posted @ 2019-04-24 15:44 空知大仙人 阅读(13032) 评论(0) 推荐(2)
摘要:今天被迫切换到idea, 熟悉了下基操作,记录下如何在idea下自定义注释模版。 1、找到Live Templates(Mac 下在IntelliJ IDEA 选项卡 --> Preferences; Windows下在 file选项卡 -->setting里) 2、点击右侧+ 号,先选择模版组,建 阅读全文
posted @ 2019-04-16 19:16 空知大仙人 阅读(252) 评论(0) 推荐(0)
摘要:1、安装maven步骤(Mac windows步骤一样) 1.1下载maven,有源码及编译过的 https://maven.apache.org/download.cgi 1.2解压缩、目录说明 maven主要目录包括 bin: mvn脚本 boot:maven自己实现的classloader c 阅读全文
posted @ 2019-04-15 18:35 空知大仙人 阅读(187) 评论(0) 推荐(0)
摘要:用了spring boot开发后,由于spring boot 起步依赖,自动集成了内嵌了tomcat,所以有一个月没有使用外置tomcat,今天新下载了个tomcat,发布war包时候一直报错,错误截图如下: 意思是找不到这个方法.... 在http://tomcat.10.x6.nabble.co 阅读全文
posted @ 2019-04-10 20:10 空知大仙人 阅读(772) 评论(0) 推荐(0)