- 博客(34)
- 资源 (17)
- 收藏
- 关注
原创 Kerberos在linux安装部署
kerberos在linux环境安装部署参考博客:https://zhuanlan.zhihu.com/p/425769862https://blog.youkuaiyun.com/Michaelwubo/article/details/109621044
2022-10-09 17:30:30
3961
原创 【避坑问题】mybatis integer的类型值为0是默认为空
mybatis integer的类型值为0是默认为空,校验时需要去除校验【!=‘’】这个条件
2021-04-15 10:12:46
472
原创 【bug】react 前台接收后台的list,前台接收的打印在页面始终是object
问题:react 前台接收后台的list,前台接收的打印在页面始终是object解决问题点:在modal中是这样接收的,接收时将response转化为了对象,下边在赋值时,将对象赋值了,所以产生了对象解决方法:将...去掉,或者直接赋值action总结:react做的时候不仔细,也并不清晰...
2021-04-13 11:28:40
514
原创 antd表格表头添加Icon图标和气泡提示Tooltip
方法一:官方给出的这个图标filterIcon 自定义 filter 图标。 ReactNode|(filtered: boolean) => ReactNode false 问题:展示不了对应的图标,且展示不了想要的效果方法二:解决方法具体来源此网址https://www.it610.com/article/1280547370836180992.htm直接在title处添加气泡提示和图标get到的东西:antd官方写的【ReactNode】是指具体.
2021-01-06 16:51:38
3027
原创 写代码需谨慎细心
观别人代码有感:写代码需谨慎细心例子如下:System.out.println(new SimpleDateFormat("yyyy-MM-dd").format(new Date()));结果为:2021-12-28System.out.println(new SimpleDateFormat("yyyy-MM-dd").format(new Date()));结果为:2020-12-28...
2020-12-28 10:38:16
192
原创 mysql8 时间模糊查询报错: 1525
AND order_date > CONVERT('2020-11-11 20:00:00', CHAR(20)) AND order_date < CONVERT('2020-11-11 24:00:00', CHAR(20))借鉴:https://blog.youkuaiyun.com/zuoerao0067/article/details/102703858
2020-11-12 10:17:14
692
原创 【项目问题】登陆了系统,但有些时候获取不到用户名
原因:Shiro在Springboot中没有配置在Service层直接使用ShiroUtils.getUser()这个方法在service中直接使用ShiroUtils.getUser()这个方法,但是没有配置能在service层直接使用,就导致获取用户名为null
2020-10-28 17:29:32
937
原创 MyBatis-Plus升级2.3 丢弃 【PerformanceInterceptor】 添加第三方执行 SQL 分析打印【p6spy】
1.Maven:<dependency> <groupId>p6spy</groupId> <artifactId>p6spy</artifactId> <version>3.8.1</version> </dependency>2.application.yml 配置:type: com.alibaba.druid.poo...
2020-10-27 14:57:01
2733
1
原创 【项目问题】获取2月份时间问题
运算符优先级问题:·实例: int a1=10, a2=10; System.out.println("a1 + a2 =" + a1 + a2); 加法运算符在字符串后边,默认拼接 ,结果为:“a1+a2 = 1010” System.out.println("a1 - a2 =" + a1 - a2); 字符串不能使用减号进行拼接字符串,所以会报错 System.out.println("a1 * a2 =" + a1 ...
2020-09-28 17:59:29
147
原创 【实践】k++和++k的含义
++k:先加1后取值k++:先取值后加1代码题:int k = 0;int sum = ++k + k++ + ++k +k;System.out.println(sum);
2020-09-28 15:35:20
6157
2
转载 nacos1.32+mysql8.0.21本地配置
解决方案:https://blog.youkuaiyun.com/qq_32784303/article/details/108061732(已获取作者引用授权)
2020-09-18 10:22:39
1383
原创 ReferenceConfig(null) is not DESTROYED when FINALIZE, dubbo version: 2.8.3, 报错Dubbo,未解决
com.alibaba.dubbo.config.AbstractConfig.finalize:106 - [DUBBO] ReferenceConfig(null) is not DESTROYED when FINALIZE, dubbo version: 2.8.3, current host: 169.254.136.632018-11-19 16:40:31,584 WARN ...
2020-09-18 10:20:12
5298
1
原创 org.apache.jasper.JasperException: An exception occurred processing JSP page /WEB-INF/jsp/oppophone/
org.apache.jasper.JasperException: An exception occurred processing JSP page /WEB-INF/jsp/oppophone/in_o-inventory.jsp at line 107: <div class="x_panel">8: <div class="x_title">9:...
2020-09-18 10:19:58
959
原创 org.springframework.web.util.NestedServletException: Request processing failed; nested exception is
翻译:找不到参数' p _ Type '。可用参数为[页数、价格、参数1、参数2、参数3、页码、参数4、名称]原因:Mapper.xml文件中的parameterType的类型与传入的参数类型不匹配 ...
2020-09-18 10:19:41
328
原创 闪聚支付项目遇到的问题
报错信息:Failed to introspect Class [org.springframework.cloud.commons.httpclient.HttpClientConfiguration$ApacheHttpClientConfiguration] from ClassLoader [sun.misc.Launcher$AppClassLoader@18b4aac2]@ConditionalOnMissingBean did not specify a bean using ty.
2020-09-17 17:13:18
4114
原创 微服务项目子模块如何统一版本
问题:两个子模块中分别有相同的jar,但是版本一致会导致另外一个模块使用有问题,如何才能让两个子模块同时使用一个版本而不报错
2020-09-15 15:43:24
510
原创 idea中maven依赖unknown的问题
原因:从其他地方copy过来的<dependency>,仓库下载失败等,导致idea自动下载unknown版本,使maven仓库中存在unknown文件夹。解决办法:手敲一遍
2020-09-15 09:45:07
1933
3
原创 【实践】ArrayList与LinkedList插入数据的时间长短
在一万条数据以下,时间相差不大,用哪个都可Object obj = new Object(); List aList = new ArrayList(); List bList = new LinkedList(); Long t1 = System.currentTimeMillis(); System.err.println("--------------t1:"+t1); for(int i =0;i<5000;i+
2020-08-19 09:20:00
272
原创 mysql5.0版本升级8.0.20版本遇到的问题
升级方法链接:https://blog.youkuaiyun.com/weixin_37852133/article/details/81101623使用完这个方法就开始报下边这个问题;Navicat 连接MySQL :2059解决方法:https://www.cnblogs.com/lifan1998/p/9177731.html使用完这个方法就开始报下边这个问题;mysql权限登录问题:1045解决方法:https://www.cnblogs.com/zhengchenhui/p/1146.
2020-08-18 09:41:10
342
1
原创 提交项目到github遇到的问题
执行此命令:git commit -m "log"报错:On branch newbranchnothing to commit, working tree clean解决方法:https://www.jianshu.com/p/39eb14877b2d执行此命令:cd home-manager/报错:bash: cd: home-manager/: Permission denied解决方法:没有权限操作,用管理员权限打开执行此命令:git clone git@githu.
2020-08-18 09:40:12
611
原创 github上传项目简化步骤
1. git clone 项目地址2. cd 项目名称3. git add.4. git commit -m "log"5. git push -u origin master
2020-08-17 18:20:23
76
原创 JVM GC基本算法(趣味解读)
1.引用计数: 新增一个引用,即新增一个计数。 缺陷: 循环处理是个大问题2.标记-清除:第一阶段先标记对象,第二阶段清除未标记的对象缺陷:太菜了,被打野的抓,送人头(产生了内存碎片)3.复制: 类似元歌技能,复制一块区域,在回收时,将运行的区域复制给另一个区域缺陷:需要double内存 优势:减少血量消耗,二次生命(节省成本,还能整理空间) 4.标记-整理:貂蝉与元歌的结合体,先开辟区域,然后貂蝉进...
2020-08-06 17:51:22
233
原创 mybatis-plus部分学习笔记
注解:@Data : 给实体自动注入get和set方法@TableName("user"):给数据库对应的表名@TableId : 默认实体对应表中的id
2020-03-24 19:21:05
154
原创 SpringBoot的yml文件不能使用tab,只支持空格键
报错:expected <block end>, but found '<block mapping start>' in 'reader', line 12, column 2: pattern:
2020-03-24 18:18:15
1420
原创 react入门+我不懂的东西
转别人的链接https://blog.youkuaiyun.com/daxiazouyizou/article/details/79743832没弄明白的问题:1.https://semantic-ui.qyears.com/behaviors/form.php#/examples这个ui的class用法,还不能和react熟练组合一起使用2.react写功能时,不知如何下手3.底层原理可能不...
2019-01-22 10:56:42
165
原创 idea下jetty+dubbo 应该是配置问题 此错误未解决
"Java\jdk1.8.0_172\bin\java.exe" -DSTOP.PORT=0 -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote....
2018-11-14 16:39:47
1027
原创 关于微博rpc远程服务错误10003 状态503 未解决
Servlet.service() for servlet [名称] in context with path [/名称-web] threw exception [Request processing failed; nested exception is com.weibo.api.motan.exception.MotanServiceException: error_message: co...
2018-09-04 17:11:31
3487
12
转载 jdk8和tomcat7出现jsp无法编译问题:Unable to compile class for JSP 2018-08-04 测试项目运行
org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 1 in the generated java fileThe type java.util.Map$Entry cannot be resolved. It is indirectly referen...
2018-08-04 09:16:19
380
转载 Annotation-specified bean name 'ivtService' for bean class [cn.oppo.inventoryService.ivtService] con
注释-为bean类[目录服务ivtService ]指定的bean名称“ivtService”与同名和[目录服务ivtserviceimpl类的现有不兼容bean定义冲突解决方案很简单,如果是xml配置直接修改bean的名称即可,如果是注解形式修改如下:只要在service后面加上bean的名字即可,没有冲突的@Service后面是不用加的如果是dao的话:然后需要将底层项目clean一下,如果使...
2018-04-25 16:55:03
954
原创 自动注入报空指针异常
四月 16, 2017 7:08:03 下午 org.apache.catalina.core.StandardWrapperValve invoke严重: Servlet.service() for servlet [lixxxxxxxxxx] in context with path [] threw exception [Request processing failed; nested e...
2018-04-25 16:50:27
1097
原创 non-compatible bean definition of same name and class [com.echo.util.FileUploadDispatcher]
问题起因:开发过程中更新代码 就报错了(整个项目运行不起来)。报错信息如下:Annotation-specified bean name 'fileUploadDispatcher' for bean class [com.echo.test.FileUploadDispatcher] conflicts with existing, non-compatible bean definition ...
2018-04-24 20:35:07
609
Lodop6.198
2019-01-10
面试题总结.docx
2019-01-08
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人