- 博客(14)
- 收藏
- 关注
原创 Fabric 2.2 使用docker orderer容器启动不了会挂掉
2021-05-31 07:42:54.665 UTC [orderer.common.server] Start -> PANI 003 Failed validating bootstrap block: initializing channelconfig failed: could not create channel Orderer sub-group config: Orderer Org OrdererOrg cannot contain endpoints value until V.
2021-05-31 16:19:37
836
1
原创 MyBatis-Plus 3.4.2 分页查询 total始终为0
用的是MyBatis-Plus版本3.4.2,在网上查了一遭发现大都是旧版本的解决办法。解决办法:创建配置类,加入以下代码。@Configurationpublic class MyBatisPlusConfig { /** * 分页插件 */ @Bean public MybatisPlusInterceptor mybatisPlusInterceptor() { MybatisPlusInterceptor intercept
2021-03-18 22:52:45
3971
1
原创 git 本地回滚
错误提交了代码记录一下git回滚操作1、查看操作日志git reflog --查看所有分支操作日志git reflog分支名称 --查看某个分支操作日志2、选择回滚的点git reset --hard HEAD@{*} --{*} 为回滚的点...
2021-03-14 11:20:42
469
转载 SpringBoot中使用ajax值得注意的
https://www.cnblogs.com/tugenhua0707/p/8975121.html
2020-09-22 17:41:17
164
转载 GET ** net::ERR_ABORTED 404
在调试页面时遇到类似如下的错误:GET **net::ERR_ABORTED 404解决参考:https://www.cnblogs.com/ming-blogs/p/10288936.html
2020-09-21 15:58:16
1298
转载 a标签click后,JS函数中使用location.href无法跳转
已解决:http://www.shuchengxian.com/article/246.html
2020-06-22 13:04:32
314
原创 无法在web.xml或使用此应用程序部署的jar文件中解析绝对uri:[http://java.sun.com/jsp/jstl/core]
解决方法:http://blog.sina.com.cn/s/blog_6f1361e50100wk4t.htmljar下载地址:https://www.runoob.com/jsp/jsp-jstl.html
2020-06-21 12:42:36
454
转载 for-forEach-stream.forEach
https://blog.youkuaiyun.com/ZZY1078689276/article/details/79430772https://blog.youkuaiyun.com/linjpg/article/details/90203365
2020-06-07 22:23:46
187
原创 应该以静态方式访问类型 *** 中的静态方法 ***()
编译器报了这样一个错“应该以静态方式访问类型 HBaseConn 中的静态方法 getConnection()”,百度里的解释:https://zhidao.baidu.com/question/744042218938642892.html其实本身不需要创建实例就能调用的方法,你却在实例里调用,它以为你为了调用这个方法而专门创建了一个实例,多做了内存开销,所以应该警告吧。在这个类中我确实创建了实例:public class HBaseConn { private static fina
2020-06-07 15:45:19
1781
原创 float和double型数据的存储格式
两者的存储格式类型 符号位 阶码 尾码 float 1 8 23 double 1 11 52 转换过程(以float为例)现有浮点数4.751、转换为二进制形式:100.112、转换为科学计数法形式:1.0011E2 (10的2次幂)3、符号位:1(为正数)4、阶码:2+127=129(幂次数 + ...
2020-04-18 10:51:01
366
原创 不存在的void main()
C/C++中从来没有定义过void main( )。C++之父Bjarne Stroustrup在他的主页上的FAQ中明确地写着The definition void main( ) { /* ... */ } is not and never has been C++, nor has it even been C.( void main()从来就不存在于C++或者C)。...
2020-04-17 11:03:27
193
原创 C语言数组元素的左移、右移
想到数组元素的移动,我最初的想法是这样的。贴代码: for(i = 0; i < it_Length - it_Steps; i++) { if(it_Direction == -1) { Array[i] = pt_Array[i + it_Steps]; } else { Array[i + it_Steps] = pt_Array[i]; ...
2018-08-26 15:17:40
16170
4
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人