Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Could not find or load main class com.taobao.arthas.core.ArthasConsole #38

Closed
derekzhan opened this issue Sep 17, 2018 · 5 comments

Comments

@derekzhan
Copy link

derekzhan commented Sep 17, 2018

按照提示执行了 “curl -sLk http://arthas.io/arthas/install.sh | sh” 依然如此

`
[root@arthas]# as.sh 19711
Arthas script version: 3.0.2
Calculating attach execution time...
Attaching to 19711 using version 0.0...
Start arthas failed, exception stack trace:
java.lang.IllegalStateException: as.sh is too old to support web console, please run the following command to upgrade to latest version:
curl -sLk http://arthas.io/arthas/install.sh | sh
at com.taobao.arthas.core.Arthas.parse(Arthas.java:44)
at com.taobao.arthas.core.Arthas.(Arthas.java:23)
at com.taobao.arthas.core.Arthas.main(Arthas.java:86)
Error: Could not find or load main class com.taobao.arthas.core.ArthasConsole

real 0m0.224s
user 0m0.212s
sys 0m0.059s
Attach success.
Connecting to arthas server... current timestamp is 1537154714
Error: Could not find or load main class com.taobao.arthas.core.ArthasConsole
`

@hengyunabc
Copy link
Collaborator

图片没有上传过来,另外,优先贴完整的日志,而不是图片

@derekzhan
Copy link
Author

图片没有上传过来,另外,优先贴完整的日志,而不是图片

已贴出完整错误信息

@hengyunabc
Copy link
Collaborator

试下新版本: https://alibaba.github.io/arthas/install-detail.html ,你日志里用的是之前RC版本的

@derekzhan
Copy link
Author

./install.sh
downloading... ./as.sh.7825
download failed!
执行install.sh 下载文件失败,请问这个应该怎么处理?

@derekzhan
Copy link
Author

可以了,采用 手动按照方式可以, 地址为:https://alibaba.github.io/arthas/manual-install.html,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants