上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 41 下一页
摘要: GOOS和GOARCH参考 OS ARCH OS version linux 386 / amd64 / arm >= Linux 2.6 darwin 386 / amd64 OS X (Snow Leopard + Lion) freebsd 386 / amd64 >= FreeBSD 7 w 阅读全文
posted @ 2022-02-09 20:57 Clotho_Lee 阅读(180) 评论(0) 推荐(0)
摘要: 连续按2次shift键 阅读全文
posted @ 2022-02-08 16:22 Clotho_Lee 阅读(576) 评论(0) 推荐(0)
摘要: 完整的报错信息 有2种,看调用先后顺序: Response.getOutputStream java.lang.IllegalStateException: WRITER Response.getWriter java.lang.IllegalStateException: STREAM 原因: H 阅读全文
posted @ 2022-01-31 17:54 Clotho_Lee 阅读(988) 评论(2) 推荐(0)
摘要: 修改Maven配置(pom.xml)即可 1.先在spring-boot-starter-web排除内嵌Tomcat <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-we 阅读全文
posted @ 2022-01-31 17:49 Clotho_Lee 阅读(531) 评论(0) 推荐(0)
摘要: 完整的报错信息: 类文件具有错误的版本 55.0, 应为 52.0 请删除该文件或确保该文件位于正确的类路径子目录中。 原因: 上面报错中的55.0是JDK11使用的类文件格式(class file format)的版本号 提示的意思是当面项目使用的类文件格式版本比某个依赖包使用的类文件格式版本低 阅读全文
posted @ 2022-01-28 22:24 Clotho_Lee 阅读(75693) 评论(0) 推荐(0)
摘要: 1.服务端 按这篇博文的服务端部分配置: https://www.cnblogs.com/live41/p/15853170.html 2.客户端(VisualVM) (1) 启动VisualVM (2) 文件 -> 添加远程主机 (3) 在主机名填入192.168.1.100,点击确定 (4) 右 阅读全文
posted @ 2022-01-28 20:04 Clotho_Lee 阅读(516) 评论(0) 推荐(0)
摘要: 格式: jstack [ options ] pid #Java进程 jstack [ options ] executable core #core文件 jstack [ options ] [ server-id@ ] remote-hostname-or-IP #远程调试端口 参数: -F 当 阅读全文
posted @ 2022-01-28 18:14 Clotho_Lee 阅读(88) 评论(0) 推荐(0)
摘要: 参数: jcmd PID VM.uptime 查看JVM的启动时长 jcmd PID GC.class_histogram 查看JVM的类信息,可以查看每个类的实例数量和占用空间大小 jcmd PID Thread.print 查看JVM的Thread Dump jcmd PID GC.heap_d 阅读全文
posted @ 2022-01-28 18:08 Clotho_Lee 阅读(355) 评论(0) 推荐(0)
摘要: 参数: -dump 生成程序的内存转储快照,用法:-dump: [live,] format = b, file = {fileName} -finalizerinfo 显示F-Queue中等待Finalizer线程执行finalize()的对象。(仅对Linux有效) -heap 显示堆详细信息, 阅读全文
posted @ 2022-01-28 17:56 Clotho_Lee 阅读(81) 评论(0) 推荐(0)
摘要: 格式: jstat [ generalOption | outputOptions vmid [interval[s|ms] [count]] ] 参数: -class 查看加载、卸载数量、总空间及类状态所耗费的时间 -gc 查看Java堆状况,包括年轻代(Eden、2个Survivor)、老年代、 阅读全文
posted @ 2022-01-28 17:39 Clotho_Lee 阅读(101) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 41 下一页