logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

一起学JVM(GC可视化工具Visual GC)

导读众所周知,JVM(java虚拟机)运行着我们的java程序。java本身提供了自带工具VisualVM来帮助我们查看JVM的运行情况,下面主要介绍GC的可视化插件-Visual GCjava版本1.8.0_281工具VisualVM 的 Visual GC 插件面板解读space 空间模块Space — 空间主要描述空间的变化Metaspace —  元空间Old — 老年代Eden — 伊甸

#java#jvm
在eclipse中创建maven项目、导出jar包、在windows服务器上运行

1.在eclipse中创建maven项目1>在eclipse的菜单栏中:file -> new -> project -> maven project -> next ->next ->选择 maven-archetype-quickstart ->next -> Group id:输入com.zhaifx;Artifact id输入zhaifx ->finish2>在com.zh

#eclipse
Git安装及idea配置Git

1.git官网下载地址:https://git-scm.com/downloadsgit具体安装不做详细叙述。2.打开idea 点击Configure -> Settings3.选择Git 找到git安装目录中Git/bin/git.exe 点击OK。4.点击Test按钮测试,到此idea配置Git成功!~

#idea#git
Mybatis的sql动态查询小技巧(极客)

导读:在使用Mybatis过程中,我们经常会使用动态sql进行sql查询,但是使用动态查询会遇到如下问题:<select id="selectById" resultType="Zhai">SELECT * FROM ZHAIWHERE<if test="a != null">a LIKE #{a}</if>

#mybatis
idea - fatal: could not read Username for ‘https://gitee.com‘: No such device or address

导读idea在git push代码的时候,控台报错Invocation failed Server returned invalid Response.java.lang.RuntimeException: Invocation failed Server returned invalid Response.at org.jetbrains.git4idea.GitAppUtil.sendXmlR

报错:Clean & maintainable test code requires zero unnecessary code.

报错org.mockito.exceptions.misusing.UnnecessaryStubbingException:Unnecessary stubbings detected in test class: XXXTestClean &amp; maintainable test code requires zero unnecessary code.Following stubbing

#java
NullPointerException: element cannot be mapped to a null key

NullPointerException: element cannot be mapped to a null key

#java#jvm#servlet
关于 Elasticsearch 429 Too Many Requests 的 排查思考

导读最近线上有个关键报错:Wrapped by: java.io.IOException: Request POST https://xxx/_search?search_type=xxx HTTP/1.1 yielded text/plain;charset=ISO-8859-1, should be json: HTTP/1.1 429 Too Many Requests报错分析如何看懂异常日

#elasticsearch#搜索引擎#java
到底了