9
环境信息
arthas-boot.jar
或者as.sh
的版本: 3.6.9- Arthas 版本: 3.6.9
- 操作系统版本: xxx
- 目标进程的JVM版本: jdk 17.0.4
- 执行
arthas-boot
的版本: xxx
java -jar arthas-boot.jar
正常启动
实际运行的结果实际运行结果,最好有详细的日志,异常栈。尽量贴文本。
把异常信息贴到这里
Picked up JAVA_TOOL_OPTIONS:
Error: Unable to initialize main class com.taobao.arthas.core.Arthas
Caused by: java.lang.NoClassDefFoundError: com/sun/tools/attach/AgentLoadException
onnect to telnet server error: 127.0.0.1 3658
java.net.ConnectException: Connection refused
at java.base/sun.nio.ch.Net.pollConnect(Native Method)
at java.base/sun.nio.ch.Net.pollConnectNow(Unknown Source)
at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(Unknown Source)
at java.base/sun.nio.ch.NioSocketImpl.connect(Unknown Source)
at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
at java.base/java.net.Socket.connect(Unknown Source)
at org.apache.commons.net.SocketClient.connect(SocketClient.java:188)
at org.apache.commons.net.SocketClient.connect(SocketClient.java:209)
at com.taobao.arthas.client.TelnetConsole.process(TelnetConsole.java:306)
at com.taobao.arthas.client.TelnetConsole.main(TelnetConsole.java:166)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at com.taobao.arthas.boot.Bootstrap.main(Bootstrap.java:633)
Usage: arthas-client [--help] [-c <value>] [-f <value>] [-w <value>] [-t
<value>] [-h <value>] [target-ip] [port]