摘要:
IDEA里面有很多工具,比如Run DashBoard等,这些工具默认都是以docked mode都附着在IDEA两边或底框上,如下图 当我们把Docked Mode勾选去掉,选择Floating Mode 或者Window Mode工具栏就会流动或悬浮起来,单独作为一个窗体存在 这时候可以在工具栏 阅读全文
摘要:
之前看一些协议里经常包含一些魔数,这些数字有啥作用? 查到维基百科的魔数说明: 也就是: 1、可以通过检查文件是否包含这些数据来快速地识别文件格式。 2、也可以看下这个帖子 阅读全文
摘要:
周五时候 使用docker-machine 创建docker环境时候 一直报错 IP not found for MAC xxx in DHCP leases 各种Google 找到了好多类似的Issue 但是没有解决问题 有的说启动下minikube 就好了 有的说过段时间自己就好了 还有的说是b 阅读全文
【随手记录】关于 The following classes could not be excluded because they are not auto-configuration classes
摘要:
用@SpringBootApplication(exclude = RibbonRule.class)排除类@bean注入的类的时候报错 The following classes could not be excluded because they are not auto-configurati 阅读全文
摘要:
今天看《重新定义spring cloud实战》 的 ribbon实战时候,引入 spring-cloud-starter-netflix-eureka-client 同时又引入spring-cloud-starter-ribbon 想到之前写样例时候没有引入spring-cloud-starter- 阅读全文
摘要:
今天看书时候发现一个Maven引用 spring-cloud-starter-eureka-server 记得之前使用的都是spring-cloud-starter-netflix-eureka-server 去maven仓库看了下 spring-cloud-starter-eureka-serve 阅读全文
摘要:
今天被迫切换到idea, 熟悉了下基操作,记录下如何在idea下自定义注释模版。 1、找到Live Templates(Mac 下在IntelliJ IDEA 选项卡 --> Preferences; Windows下在 file选项卡 -->setting里) 2、点击右侧+ 号,先选择模版组,建 阅读全文
摘要:
1、安装maven步骤(Mac windows步骤一样) 1.1下载maven,有源码及编译过的 https://maven.apache.org/download.cgi 1.2解压缩、目录说明 maven主要目录包括 bin: mvn脚本 boot:maven自己实现的classloader c 阅读全文
摘要:
用了spring boot开发后,由于spring boot 起步依赖,自动集成了内嵌了tomcat,所以有一个月没有使用外置tomcat,今天新下载了个tomcat,发布war包时候一直报错,错误截图如下: 意思是找不到这个方法.... 在http://tomcat.10.x6.nabble.co 阅读全文
摘要:
说明: 如果我们的spring-boot项目中添加了spring-boot-starter-actuator ,项目启动后我们可以通过 http://localhost:8080/actuator/beans 查看启动的项目中加载了多少beans 问题: 晚上测试时候发现报错,但是http://lo 阅读全文