ITeye博客

http://www.bdsola.com/

mutourenoo · 共 196 篇文章

sharding-jdbc

sharding-jdbc结合mybatis实现分库分表功能: https://www.cnblogs.com/zwt1990/p/6762135.html

2019-02-18 17:55 · 分库分表 · 评论(0)

git revert

git revert HEAD 使用git reset回退公共远程分支的版本后,需要其他所有人手动用远程master分支覆盖本地master分支,显然,这不是优雅的回退方法,下面我们使用另个一个命令来回退版本: git revert HEAD //撤销最近一次提交 git revert HEAD~1 //撤销上上次的提交,注意:数字从0开始 git revert 0ffaacc //撤销0ffaacc这次提交 git revert 命令意思是撤销某次提交。它会产生一个新的提交,虽然代码回退了,但是版本依然是向前的,所以,当你用revert回退之后,所有人pull之后,他们的代码也自动的回退了…

2018-09-26 17:46 · Git · 评论(0)

ngrinder(性能测试工具)

性能测试之工具对比-ngrinder jmeter loadunner及ngrinder安装使用方法 https://blog.csdn.net/bear_w/article/details/78366078

2018-09-12 15:00 · ngrinder · 评论(0)

springMVC参数绑定失败的原因有以下2种

form-data和x-www-form-urlencoded的区别: 1、form-data: 就是http请求中的multipart/form-data,它会将表单的数据处理为一条消息,以标签为单元,用分隔符分开。既可以上传键值对,也可以上传文件。当上传的字段是文件时,会有Content-Type来表名文件类型;content-disposition,用来说明字段的一些信息; 由于有boundary隔离,所以multipart/form-data既可以上传文件,也可以上传键值对,它采用了键值对的方式,所以可以上传多个文件。 2、x-www-form-urlencoded: 就是appli…

2018-08-31 11:02 · spring · 评论(0)

MySqL com.mysql.jdbc.exceptions.jdbc4.MySQLTransactionRollbackException: Deadloc

### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLTransactionRollbackException: Deadlock found when trying to get lock; try restarting transaction ### The error may involve 解决办法: 参考文档:http://blog.sina.com.cn/s/blog_4acbd39c01014gsq.html https://blog.csdn.net/aesop_wubo/articl…

2018-08-28 14:20 · mysql · 评论(0)

tomcat无法启动,startup failed due to previous errors的错误.

参考 https://blog.csdn.net/caidimin/article/details/65436873 为了调试,我们要获得更详细的日志。可以在WEB-INF/classes目录下新建一个文件叫logging.properties handlers = org.apache.juli.FileHandler, java.util.logging.ConsoleHandler ############################################################ # Handler specific properties. # Describes…

2018-08-06 13:42 · logback · 评论(0)

logback日志配置文件的include

Spring Boot实战之配置使用Logback进行日志记录 https://blog.csdn.net/sun_t89/article/details/52130839

2018-07-26 10:28 · logback · 评论(0)

logback日志配置无效,没有日志输出

logback日志配置无效,没有日志输出 解决方法: 1.删除项目中jar包依赖 org.slf4j slf4j-log4j12 2.logback.xml文件中,如果想要过滤掉某个包下的日志输出,应该如下配置: Logger必须大写,小写不起作用

2018-07-24 19:38 · logback · 评论(0)

spring cloud 客户端连接config配置中心报错

报错信息: Description: Cannot determine embedded database driver class for database type NONE Action: If you want an embedded database please put a supported one on the classpath. If you have database settings to be loaded from a particular profile you may need to active it (the profiles "dev,redis,con…

2018-07-18 20:47 · spring cloud · 评论(0)

Intellij IDEA 最新旗舰版注册激活破解(2018亲测,可用)

转载: https://www.cnblogs.com/ameijiemu/p/9036528.html 1、2017年亲测 参考:https://www.haxotron.com/jetbrains-intellij-idea-crack-123/ 安装IntelliJ IDEA 最新版 启动IntelliJ IDEA 输入 license时,选择输入 ,在输入框中输入 http://jetbrains.tech 或者 http://idea.imsxm.com 。然后单击“Activate”按钮就可激活 这里写图片描述 亲测,该方法对于2016.3.5到2017.2.4版均生效。 2、2…

2018-07-16 10:03 · IntelliJ IDEA · 评论(0)

HttpClient 发送XML请求

@Test public void test_payNotify(){ String reqXML="<xml></xml>"; CloseableHttpClient httpclient = HttpClients.createDefault(); CloseableHttpResponse response = null; try { InputStreamEntity reqEntity = new InputStreamEntity(new ByteArrayInputStream(reqXML.getBytes())); reqEntity.setContentType("app…

2018-07-07 09:59 · httpClient4.5 · 评论(0)

httpClient POST表单登录

http://hc.apache.org/httpcomponents-client-4.5.x/examples.html @Test public void test_login(){ CloseableHttpClient httpclient = HttpClients.createDefault(); CloseableHttpResponse response = null; try{ HttpUriRequest login = RequestBuilder.post() .setUri(new URI(path+"/api/login")) .addParameter("mo…

2018-07-07 09:57 · httpClient4.5 · 评论(0)

Spring Cloud 学习案例

Spring Cloud 学习案例 https://gitee.com/ityouknow/spring-cloud-examples

2018-06-14 11:02 · spring cloud · 评论(0)

CentOS配置本地yum源/阿里云yum源/163yuan源,并配置yum源的优先级

CentOS配置本地yum源/阿里云yum源/163yuan源,并配置yum源的优先级 https://blog.csdn.net/kangvcar/article/details/73477730

2018-05-31 16:07 · linux · 评论(0)

springboot整合activiti报错[processes/]不存在解决方案

springboot整合activiti报错不存在解决方案 https://blog.csdn.net/qq_21770005/article/details/79009246 spring.activiti.check-process-definitions=false

2018-05-28 12:03 · activiti · 评论(0)