上一页 1 ··· 3 4 5 6 7 8 9 下一页
摘要: 1、这玩意可以帮助我们自动实现set、get方法,实现过程有两处,只要理解了这两处,对其实际工作如何使用就非常简单了 2、第一点就是编译过程,比如使用gradle build 等编译工具进行编译时,会在加有lombok相关注解的类上,对其属性进行set、get方法的生成;第二点就是,如果只在编译下才 阅读全文
posted @ 2019-03-25 22:08 0o飞行天下o0 阅读(614) 评论(0) 推荐(0) 编辑
摘要: Centos 搭建activemq 1,官方下载 http://activemq.apache.org/activemq-5122-release.html apache-activemq-5.15.2-bin.tar.gz 2,tar -zxvf apache-activemq-5.15.2-bi 阅读全文
posted @ 2019-03-12 10:23 0o飞行天下o0 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 一、引入jar包 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-aop</artifactId> </dependency>实现操作日志记录的功能,无非就是监控用户调用 阅读全文
posted @ 2019-01-07 14:28 0o飞行天下o0 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 亲测有效 环境:springboot+gradle+jdk1.8+sonarqube7.4 一、说明: SonarQube为静态代码检查工具,采用B/S架构,帮助检查代码缺陷,改善代码质量,提高开发速度,通过插件形式,可以支持Java、C、C++、JavaScripe等等二十几种编程语言的代码质量管 阅读全文
posted @ 2018-12-21 16:47 0o飞行天下o0 阅读(3338) 评论(0) 推荐(0) 编辑
摘要: 1、首先说一下软件的版本:springboot:1.5.2;springcloud:D-SR1;swaager2:2.6.0;gradle:4.5。工程模块是分开的单独的entity,api,mapper,service,每一个都是一个工程。 2、新项目需要集成swagger,看了一堆网上的例子,觉 阅读全文
posted @ 2018-11-12 17:53 0o飞行天下o0 阅读(1994) 评论(0) 推荐(0) 编辑
摘要: 1、首先说一下官网对bootstrap和application两种配置文件的区别: Spring Cloud 构建于 Spring Boot 之上,在 Spring Boot 中有两种上下文,一种是 bootstrap, 另外一种是 application, bootstrap 是应用程序的父上下文 阅读全文
posted @ 2018-11-02 10:24 0o飞行天下o0 阅读(12619) 评论(3) 推荐(0) 编辑
摘要: 1、首先说两种启动命令,网上最多的是用./nexus start。这种是后台启动,看不到实时日志;./nexus run 是实时启动可以看到日志。 2、linux下解压nexus-3.6.2-01-unix.tar.gz一般是没有啥问题,用run时可能会看到有关memery的报错,这时可以考虑是机器 阅读全文
posted @ 2018-10-24 21:20 0o飞行天下o0 阅读(9193) 评论(1) 推荐(2) 编辑
摘要: 一、iptables防火墙1、基本操作 # 查看防火墙状态 service iptables status # 停止防火墙 service iptables stop # 启动防火墙 service iptables start # 重启防火墙 service iptables restart # 阅读全文
posted @ 2018-10-23 10:37 0o飞行天下o0 阅读(379477) 评论(4) 推荐(16) 编辑
摘要: linux下配置使用以第一台为例(先配置好jdk环境)1、解压kafka:2.10-0.10.1.12、修改zookeeper.properties 新增配置:maxClientCnxns=0 tickTime=2000 initLimit=10 syncLimit=5 session.timeou 阅读全文
posted @ 2018-10-17 14:21 0o飞行天下o0 阅读(880) 评论(0) 推荐(0) 编辑
摘要: elasticsearch { elasticsearch { action => "index" #The operation on ES action => "index" #The operation on ES hosts => "localhost:9200" #ElasticSearch 阅读全文
posted @ 2018-09-13 17:04 0o飞行天下o0 阅读(182) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 下一页