so库内存泄漏 https://www.cnblogs.com/AndyStudy/p/6409287.htmlg++-g-osomain.cpp-ldlvalgrind--tool=memcheck--log-file-exactly=./test.log--leak-check=full./so
maven本地打包 mvninstall:install-file-Dfile=D:\alipay-sdk-0.0.3.jar-DgroupId=com.ceshi-DartifactId=alipay-pay-sdk-Dversion=0.0.1-Dpackaging=jar-DgeneratePom=true<dependency> <groupId>com.ce...
spring data mogodb使用 正常查询Query query = new Query();query.addCriteria(new Criteria().andOperator(Criteria.where("type").ne("1"),Criteria.where("time").gte(start)));Long size = mongoTemplate.count(query, Data.class, doc...
springboot 拦截器 import org.springframework.lang.Nullable;import org.springframework.stereotype.Component;import org.springframework.web.bind.annotation.PathVariable;import org.springframework.web.context.request....
springboot aop日志拦截 maven依赖<dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>2.7</version></dependency>&
HttpStatus所有枚举 CONTINUE(100, "Continue"),SWITCHING_PROTOCOLS(101, "Switching Protocols"),PROCESSING(102, "Processing"),CHECKPOINT(103, "Checkpoint"),OK(200, "OK"),CREATED(201, "Created"),ACCEPTED(202, &qu
java连接rabbitMQ maven依赖 <dependency> <groupId>com.rabbitmq</groupId> <artifactId>amqp-client</artifactId> <version>5.2.0</versi...
安装rabbit 第一步也是往往最重要的一步:下载安装包!Rabbitmq地址:https://github.com/rabbitmq/rabbitmq-server/releases/tag/v3.7.5Erlang地址:https://github.com/rabbitmq/erlang-rpm/releases特殊说明:Install ErlangBefore installing Rab...
java连接mongodb static MongoClient mongoClient = null; static { System.out.println("===============MongoDBUtil初始化========================"); String ip = "47.104.105.175"; int por...
安装mysql 安装https://www.cnblogs.com/zhaosiwen/p/5824271.htmlchmod +x mysql_install_dblinux下Mysql命令1,进入mysql,终端中输入 mysql -u 用户名 -p 。enter键后,提示输入密码。2,执行grant all privileges on xxxdb.* to usertest@"%" ...
安装ik ik_max_word ik_smartpost http://192.168.1.111:9200/film2/_mapping/dongzuo/{ "properties": { "title": { "type": "text","analyzer": "ik_smart" },
java链接es https://www.elastic.co/guide/en/elasticsearch/reference/current/_installation.html 具体参数配置https://www.cnblogs.com/ginb/p/8716485.html对方法进行封装https://blog.csdn.net/ctwy291314/article/details/81...
ElasticSearch 启动命令 sh ./bin/elasticsearchhttps://github.com/mobz/elasticsearch-head/archive/master.zipunzip master.zip 安装head npm install启动head npm run start cluster.name: yujngnode.name: ma...
基于Spring注解方式配置Quartz 之前我们都是通过基于XML的方式实现Spring Quartz 虽然配置起来特别的方便,但是Spring还支持基本注解的方式来配置,这样做不仅更加简单,而且代码量也更加少了很多。1、配置需要调度的类,并添加注解import java.text.SimpleDateFormat;import java.util.Date; import org.springframework.sch...
HttpClient 英文文档http://hc.apache.org/httpcomponents-client-ga/tutorial/html/fundamentals.htmlCloseableHttpClient httpclient = HttpClients.createDefault();//创建httpclient HttpGet httpget = new HttpGet("http:/...
shiro <!-- 1. 配置 Shiro 的 shiroFilter. 2. DelegatingFilterProxy 实际上是 Filter 的一个代理对象. 默认情况下, Spring 会到 IOC 容器中查找和 <filter-name> 对应的 filter bean. 也可以通过 targetBeanName 的初始化参数来配置 filter...
文件夹上传 首先,我们的html需要这样写 <form action="/file/upload" enctype="multipart/form-data" method="post"> <input type="hidden" name="type" value="1"/> <input id=&quo
SpringBoot搭建 2.0https://blog.csdn.net/Winter_chen001/article/details/800109671.5https://blog.csdn.net/winter_chen001/article/details/77249029