<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[haochenfeishi的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/haochenfeishi</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; haochenfeishi]]></copyright><item><title><![CDATA[golang 中map使用的一些坑]]></title><link>https://blog.youkuaiyun.com/haochenfeishi/article/details/143523091</link><guid>https://blog.youkuaiyun.com/haochenfeishi/article/details/143523091</guid><author>haochenfeishi</author><pubDate>Tue, 05 Nov 2024 19:48:49 +0800</pubDate><description><![CDATA[这时候，debug可以看到，a的类型是[]interface{} 的一种方式。然后就把断言改为[]interface{} 就OK了。上诉的代码片段就会断言失败。]]></description><category></category></item><item><title><![CDATA[golang-前端json传参bind两次]]></title><link>https://blog.youkuaiyun.com/haochenfeishi/article/details/141434202</link><guid>https://blog.youkuaiyun.com/haochenfeishi/article/details/141434202</guid><author>haochenfeishi</author><pubDate>Thu, 22 Aug 2024 17:56:01 +0800</pubDate><description><![CDATA[HTTP 请求的 Body 是一个流，当你第一次调用 ShouldBind 时，Go 会将数据从流中读取，并将其绑定到指定的结构体中。此时，数据流被消耗，第二次调用时流已为空，无法再次绑定。ctx.ShouldBind 是基于 io.Reader 的接口实现的，io.Reader 一旦读取数据，数据就不会再保留。因此，第二次调用无法再次读取数据。对于json传参的多次bind。]]></description><category></category></item><item><title><![CDATA[gomonkey permission denied]]></title><link>https://blog.youkuaiyun.com/haochenfeishi/article/details/139235633</link><guid>https://blog.youkuaiyun.com/haochenfeishi/article/details/139235633</guid><author>haochenfeishi</author><pubDate>Mon, 27 May 2024 13:21:33 +0800</pubDate><description><![CDATA[gomonkey打桩权限问题]]></description><category></category></item><item><title><![CDATA[解决ssh报错，.ssh/id_rsa: No such file or directory Permission denied (publickey）]]></title><link>https://blog.youkuaiyun.com/haochenfeishi/article/details/139069382</link><guid>https://blog.youkuaiyun.com/haochenfeishi/article/details/139069382</guid><author>haochenfeishi</author><pubDate>Mon, 20 May 2024 17:00:08 +0800</pubDate><description><![CDATA[我们可以在我们项目路径下添加一下我们的私钥如：]]></description><category></category></item><item><title><![CDATA[‘https://download.docker.com/linux/ubuntu \ Release‘ Cannot connect to the Docker daemon at unix:///]]></title><link>https://blog.youkuaiyun.com/haochenfeishi/article/details/139036491</link><guid>https://blog.youkuaiyun.com/haochenfeishi/article/details/139036491</guid><author>haochenfeishi</author><pubDate>Sun, 19 May 2024 09:46:32 +0800</pubDate><description><![CDATA[- 出现这种错误
首先的ubatu的版本是20.0422版的可以改成这个试试]]></description><category></category></item><item><title><![CDATA[idea中显示git的Local Changes]]></title><link>https://blog.youkuaiyun.com/haochenfeishi/article/details/139025473</link><guid>https://blog.youkuaiyun.com/haochenfeishi/article/details/139025473</guid><author>haochenfeishi</author><pubDate>Sat, 18 May 2024 14:54:22 +0800</pubDate><description><![CDATA[1. 第一打开idea中的Settings文件
2. 找到Version Contro中的commint
3. 取消勾选应用即可
4. 本地提交就会显示出来]]></description><category></category></item><item><title><![CDATA[2021-09-29]]></title><link>https://blog.youkuaiyun.com/haochenfeishi/article/details/120556465</link><guid>https://blog.youkuaiyun.com/haochenfeishi/article/details/120556465</guid><author>haochenfeishi</author><pubDate>Wed, 29 Sep 2021 21:09:58 +0800</pubDate><description><![CDATA[求问这样写的区别是啥
for (Map.Entry&lt;String, List&lt;Map&lt;String, String&gt;&gt;&gt; stringListEntry : mutiResult.entrySet()) {
List&lt;Map&lt;String, String&gt;&gt; value  = stringListEntry.getValue();
System.out.println(JSON.toJSONString(value));
}
List&lt;Map]]></description><category></category></item><item><title><![CDATA[对于使用JDBC连接mysql数据时The server time zone value ‘¤¤°ê¼Ð·Ç®É¶¡‘...的异常问题解决。]]></title><link>https://blog.youkuaiyun.com/haochenfeishi/article/details/109578467</link><guid>https://blog.youkuaiyun.com/haochenfeishi/article/details/109578467</guid><author>haochenfeishi</author><pubDate>Mon, 09 Nov 2020 15:22:36 +0800</pubDate><description><![CDATA[java.sql.SQLException: The server time zone value ‘¤¤°ê¼Ð·Ç®É¶¡’ is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone valu]]></description><category></category></item><item><title><![CDATA[问题解决13:elasticsearch启动的时候报错，报日志文件没有权限解决方案]]></title><link>https://blog.youkuaiyun.com/haochenfeishi/article/details/109577060</link><guid>https://blog.youkuaiyun.com/haochenfeishi/article/details/109577060</guid><author>haochenfeishi</author><pubDate>Mon, 09 Nov 2020 14:29:21 +0800</pubDate><description><![CDATA[https://blog.youkuaiyun.com/leeue/article/details/88530601

]]></description><category></category></item><item><title><![CDATA[MongoDB 3.6版本中bind_ip设置详解]]></title><link>https://blog.youkuaiyun.com/haochenfeishi/article/details/109436781</link><guid>https://blog.youkuaiyun.com/haochenfeishi/article/details/109436781</guid><author>haochenfeishi</author><pubDate>Sun, 01 Nov 2020 20:53:04 +0800</pubDate><description><![CDATA[参考：https://www.jb51.net/article/152023.htm
原文链接：http://www.cnblogs.com/xuliuzai/p/10041096.html

]]></description><category></category></item><item><title><![CDATA[Error creating bean with name ‘poolconfig‘ defined in class path resource [applicationContext-jedis.]]></title><link>https://blog.youkuaiyun.com/haochenfeishi/article/details/109383944</link><guid>https://blog.youkuaiyun.com/haochenfeishi/article/details/109383944</guid><author>haochenfeishi</author><pubDate>Fri, 30 Oct 2020 14:03:47 +0800</pubDate><description><![CDATA[Error creating bean with name ‘poolconfig’ defined in class path resource [applicationContext-jedis.xml]:
报的错误：
D:\JAVA1\jDK1.8\bin\java.exe “-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2020.2.3\lib\idea_rt.jar=55707:C:\Program Files\JetBrains\Inte]]></description><category></category></item><item><title><![CDATA[创建Zookeeper伪集群启动失败]]></title><link>https://blog.youkuaiyun.com/haochenfeishi/article/details/109177748</link><guid>https://blog.youkuaiyun.com/haochenfeishi/article/details/109177748</guid><author>haochenfeishi</author><pubDate>Tue, 20 Oct 2020 11:30:00 +0800</pubDate><description><![CDATA[创建Zookeeper伪集群启动失败
????报的错误
2020-10-20 11:09:35,169 [myid:] - ERROR [main:QuorumPeerMain@98] - Invalid config, exiting abnormally
org.apache.zookeeper.server.quorum.QuorumPeerConfigConfigException:Addressunresolved:192.168.84.128:3881atorg.apache.zookeeper]]></description><category></category></item><item><title><![CDATA[解决Spring Boot测试方法Failed to load ApplicationContext问题]]></title><link>https://blog.youkuaiyun.com/haochenfeishi/article/details/109099619</link><guid>https://blog.youkuaiyun.com/haochenfeishi/article/details/109099619</guid><author>haochenfeishi</author><pubDate>Thu, 15 Oct 2020 16:22:08 +0800</pubDate><description><![CDATA[解决Spring Boot测试方法Failed to load ApplicationContext问题
**java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘jdbcController’: Unsatisfi]]></description><category></category></item><item><title><![CDATA[Spring Boot中找不到org.springframework.boot.SpringApplication程序包]]></title><link>https://blog.youkuaiyun.com/haochenfeishi/article/details/109057672</link><guid>https://blog.youkuaiyun.com/haochenfeishi/article/details/109057672</guid><author>haochenfeishi</author><pubDate>Tue, 13 Oct 2020 18:21:02 +0800</pubDate><description><![CDATA[Spring Boot中找不到org.springframework.boot.SpringApplication程序包
没有爆红：直接上菜
File&gt;&gt;setings&gt;&gt;Maven&gt;&gt;Runner

这样就解决了

]]></description><category></category></item><item><title><![CDATA[在配置pom.xml依赖坐标无缘无故爆红]]></title><link>https://blog.youkuaiyun.com/haochenfeishi/article/details/108966395</link><guid>https://blog.youkuaiyun.com/haochenfeishi/article/details/108966395</guid><author>haochenfeishi</author><pubDate>Thu, 08 Oct 2020 18:18:02 +0800</pubDate><description><![CDATA[在配置pom.xml依赖坐标无缘无故爆红
在Idea中打开File&gt;&gt;setings&gt;&gt;Maven

然后在右边打开Maven

然后就可以！

]]></description><category></category></item><item><title><![CDATA[mysql: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No suc]]></title><link>https://blog.youkuaiyun.com/haochenfeishi/article/details/108963154</link><guid>https://blog.youkuaiyun.com/haochenfeishi/article/details/108963154</guid><author>haochenfeishi</author><pubDate>Thu, 08 Oct 2020 14:46:29 +0800</pubDate><description><![CDATA[mysql: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
方法：yum install libncurses* 就解决问题了
转载：https://www.cnblogs.com/zhouquan-1992-04-06/p/11546891.html

]]></description><category></category></item><item><title><![CDATA[## intellij maven工程报错 inspects a maven model for resolution problems 解决方法]]></title><link>https://blog.youkuaiyun.com/haochenfeishi/article/details/108894933</link><guid>https://blog.youkuaiyun.com/haochenfeishi/article/details/108894933</guid><author>haochenfeishi</author><pubDate>Thu, 01 Oct 2020 14:33:22 +0800</pubDate><description><![CDATA[intellij maven工程报错 inspects a maven model for resolution problems 解决方法
添加链接描述

]]></description><category></category></item><item><title><![CDATA[关于java.lang.NoClassDefFoundError处理（could not initialize class jdbc.properties）]]></title><link>https://blog.youkuaiyun.com/haochenfeishi/article/details/108057871</link><guid>https://blog.youkuaiyun.com/haochenfeishi/article/details/108057871</guid><author>haochenfeishi</author><pubDate>Mon, 17 Aug 2020 16:06:53 +0800</pubDate><description><![CDATA[此文章是对JDBC工具类时出现的问题
NoClassDefFoundError与ClassNotFoundException区别
NoClassDefFoundError是发生在JVM在动态运行时，找不到你提供的类，就会出现此情况.
ClassNotFoundException是在编译的时候找不到提供的类
static{
        //读取properties文件
        ResourceBundle bundle=ResourceBundle.getBundle("com.xxn/jdbc"]]></description><category></category></item><item><title><![CDATA[什么是事务?为什么需要事务?]]></title><link>https://blog.youkuaiyun.com/haochenfeishi/article/details/107938528</link><guid>https://blog.youkuaiyun.com/haochenfeishi/article/details/107938528</guid><author>haochenfeishi</author><pubDate>Tue, 11 Aug 2020 16:34:12 +0800</pubDate><description><![CDATA[什么是事务?为什么需要事务?
一、什么是事务？
事务是指单个逻辑工作单元执行得一系列操作，要么都做，要么都不做，是不可分割的工作单位，是数据库环境中的的最小工作单元。
二、为什么需要事务？
事务包含了一组操作，这些操作可以是一条SQL语句、一组SQL语句或整个程序。如果其中一个操作不成功，这些操作都不会执行，前面执行的操作也会回滚原状态，用来保证数据的一致性和完整性。例如，就像银行转账，张三给李四转账，只有当张三的钱转走了，并且李四账户的钱收到了之后才会事务提交，否则事务会回滚到转账前的状态，保证数据的一致]]></description><category></category></item><item><title><![CDATA[在idea中出现java.lang.ClassNotFoundException]]></title><link>https://blog.youkuaiyun.com/haochenfeishi/article/details/107903971</link><guid>https://blog.youkuaiyun.com/haochenfeishi/article/details/107903971</guid><author>haochenfeishi</author><pubDate>Mon, 10 Aug 2020 08:04:47 +0800</pubDate><description><![CDATA[一、java.lang.ClassNotFoundException
常见的场景就是：
1 调用class的forName方法时，找不到指定的类
2 ClassLoader 中的 findSystemClass() 方法时，找不到指定的类
3 ClassLoader 中的 loadClass() 方法时，找不到指定的类
package serve;




import servlet.Servlet;

import java.util.List;
import java.util.Map;

/**
 ]]></description><category></category></item></channel></rss>