上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 48 下一页
  2019年12月23日
摘要: 参考:https://www.jianshu.com/p/7f724bec3dc3 (1)添加依赖 <dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-spring</artifactId> <version>1.4. 阅读全文
posted @ 2019-12-23 08:14 song.yan 阅读(299) 评论(0) 推荐(0) 编辑
  2019年12月19日
摘要: 1,引入依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> </dependency> 2,添加静态文件 3,修改配置文件 阅读全文
posted @ 2019-12-19 17:31 song.yan 阅读(347) 评论(0) 推荐(0) 编辑
  2019年12月14日
摘要: 源码地址:https://github.com/VioletSY/article-base 1:创建一个基本项目:https://www.cnblogs.com/excellencesy/p/12522248.html 2:整合oracle: (1)添加依赖(pom.xml): <!--jdbc - 阅读全文
posted @ 2019-12-14 20:48 song.yan 阅读(390) 评论(0) 推荐(0) 编辑
  2019年12月13日
摘要: 一、父模块配置 1,指定pakaging:pom 2,指定编译的版本:如下图: 3,屏蔽内置的tomcat: (1)这个内置的tomcat是在spring-boot-starter-web这个start中引入的,所以说: 1)如果你的项目里面用到了这个starter(如下),就加上下面蓝色框中的代码 阅读全文
posted @ 2019-12-13 22:02 song.yan 阅读(5780) 评论(0) 推荐(1) 编辑
  2019年12月2日
摘要: 1,什么是starter 2,手把手教你写starter,了解starter的实现原理 3,常见的starter之logger的前世今生 4,常见的starter之jdbc的基本应用 5,spring的另一大神器,Actuator监控 6,了解一点JMX 阅读全文
posted @ 2019-12-02 20:50 song.yan 阅读(159) 评论(0) 推荐(0) 编辑
  2019年11月30日
摘要: (1)查看节点信息:ls / (2)查看单个节点的状态:stat /zookeeper (3)在Java中使用的zk客户端:zkClient,curator (4)curator是apache的开源的组件 阅读全文
posted @ 2019-11-30 08:37 song.yan 阅读(163) 评论(0) 推荐(0) 编辑
  2019年11月29日
摘要: (1)下载安装zookeeper,进行基本的配置,详细教程:https://www.cnblogs.com/excellencesy/p/11956485.html (2)在三台虚拟机上分别按照以上方式安装配置。 (3)在上面的基础上进行以下操作: 1)修改配置文件 zoo.cfg 配置日志目录:可 阅读全文
posted @ 2019-11-29 16:49 song.yan 阅读(365) 评论(0) 推荐(0) 编辑
摘要: (1)出错原因: 错误:No suitable device found: no device found for connection "System eth0" 原因:克隆虚拟机后只修改了ip没修改mac (2)正确的操作: 1)将虚拟机关机 2)编辑虚拟机设置-网络适配器-移除-添加(移除掉重 阅读全文
posted @ 2019-11-29 13:47 song.yan 阅读(730) 评论(0) 推荐(0) 编辑
摘要: 1,下载地址:http://apache.fayea.com/zookeeper/ 2,检查环境变量(需要确保配置了环境变量): java -version 3,安装配置: (1)解压 tar -zxvf apache-zookeeper-3.5.6-bin.tar.gz (2)修改配置文件 1)在 阅读全文
posted @ 2019-11-29 11:05 song.yan 阅读(398) 评论(0) 推荐(0) 编辑
  2019年11月28日
摘要: 1,SpringBoot里面有内置的tomcat容器。 2,SpringBoot是基于已有的东西创建的新的东西。核心:(AutoConfiguration)自动装载,Starter,Actuator,SpringBoot CLI 3,SpringBoot本质上还是使用IOC。 4,剖析启动注解(Sp 阅读全文
posted @ 2019-11-28 20:35 song.yan 阅读(1037) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 48 下一页