上一页 1 2 3 4 5 6 7 ··· 50 下一页
摘要: 1.ES安装 一定要关闭防火墙! 测试访问: 注意:-p 5601:5601 是kibana的端口地址 (我这里kibana的container共用elasticsearch的网络,所以这样设置。 补充: 如果运行时候报错: docker run -it --name elasticsearch - 阅读全文
posted @ 2019-08-14 00:45 toov5 阅读(3204) 评论(0) 推荐(0) 编辑
摘要: 点击左侧这个标志。 阅读全文
posted @ 2019-08-13 14:49 toov5 阅读(382) 评论(0) 推荐(0) 编辑
摘要: 报错: java.sql.SQLException: The server time zone value '�й���׼ʱ��' is unrecognized or represents more than one time zone. You must configure either the 阅读全文
posted @ 2019-08-12 22:39 toov5 阅读(200) 评论(0) 推荐(0) 编辑
摘要: Spring Bean生命周期的构成 Bean的完整生命周期经历了各种方法调用,这些方法可以划分为以下几类: 生命周期 创建 > 初始化 > 销毁 1. 实例化对象 2. setter注入,执行Bean的属性依赖注入 3. BeanNameAware的setBeanName(), 如果实现该接口,则 阅读全文
posted @ 2019-07-27 22:40 toov5 阅读(792) 评论(0) 推荐(0) 编辑
摘要: ctrl + alt + u 阅读全文
posted @ 2019-07-23 23:34 toov5 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 前言: 主要了解的内容有如下几点: @Qualifier与@Primary注解的使用 Spring中ApplicationContext的作用 BeanFactory与ApplicationContext区别 AnnotationConfigApplicationContext启动原理分析 假设 I 阅读全文
posted @ 2019-07-21 23:50 toov5 阅读(1103) 评论(0) 推荐(0) 编辑
摘要: 一些基础但是核心的知识总结: Spring Boot项目启动的时候需要加@Configuration、 @ComponentScan @Configuration + @Bean 把第三方jar包注入到容器中。 内部的直接 @Service @Controller等等之类配合 @ComponentS 阅读全文
posted @ 2019-07-21 23:25 toov5 阅读(466) 评论(0) 推荐(0) 编辑
摘要: 测试中: 一、unit中集中基本注解,是必须掌握的。 @BeforeClass – 表示在类中的任意public static void方法执行之前执行 @AfterClass – 表示在类中的任意public static void方法执行之后执行 @Before – 表示在任意使用@Test注解 阅读全文
posted @ 2019-07-18 10:16 toov5 阅读(692) 评论(0) 推荐(0) 编辑
摘要: 1. #{name} 直接从paramType的类中获取 2. paramType是integer时候, #{id} id可以随便起名字,是个占位符而已。 阅读全文
posted @ 2019-07-18 00:14 toov5 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-07-17 10:19 toov5 阅读(2920) 评论(1) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 50 下一页