当前位置: 首页 > news >正文

【Arthas 】Can not find Arthas under local: /root/.arthas/lib 解决办法

报错

[INFO] JAVA_HOME: /opt/java/openjdk
[INFO] arthas-boot version: 4.0.4
[INFO] Found existing java process, please choose one and input the serial number of the process, eg : 1. Then hit ENTER.

  • [1]: 12 org.springframework.boot.loader.JarLauncher
    1
    [ERROR] Can not read arthas version from: https://arthas.aliyun.com/api/latest_version
    [ERROR] Can not find Arthas under local: /root/.arthas/lib and remote repo mirror: aliyun
    [ERROR] Unable to download arthas from remote server, please download the full package according to wiki: https://github.com/alibaba/arthas

原因

原来arthas-boot.jar并不是全量包,它会在启动的时候先去阿里Maven仓库下载一些jar包依赖;如果Maven下载失败,那么它会检查本地是否有jar包依赖文件,例如日志:

[ERROR] Can not find Arthas under local: /root/.arthas/lib

解决办法

下载全量包
https://arthas.aliyun.com/doc/install-detail.html#%E5%85%A8%E9%87%8F%E5%AE%89%E8%A3%85

然后解压复制到容器里面进行排查即可

http://www.lryc.cn/news/519677.html

相关文章:

  • 录用率23%!CCF推荐-B类,Early Access即可被SCI数据库收录,中美作者占比过半
  • IP 地址与蜜罐技术
  • Vue_API文档
  • WebSocket 设计思路
  • Jenkins持续集成与交付安装配置
  • ESP32作为Wi-Fi AP模式的测试
  • 【爬虫】单个网站链接爬取文献数据:标题、摘要、作者等信息
  • Android RIL(Radio Interface Layer)全面概述和知识要点(3万字长文)
  • leetcode_2816. 翻倍以链表形式表示的数字
  • 【论文阅读】MAMBA系列学习
  • MySQL教程之:批量使用mysql
  • 17_Redis管道技术
  • 【LC】3270. 求出数字答案
  • 【redis】ubuntu18安装redis7
  • d2j-dex2jar classes.dex 执行报错:not support version 问题解决
  • 智慧城市应急指挥中心系统平台建设方案
  • QT鼠标、键盘事件
  • Ceph分布式存储集群,不仅仅是一个简单的对象存储解决方案
  • DSP+Simulink——点亮LED灯(TMSDSP28379D)超详细
  • Linux 环境下编译安装 OpenCV 4.8.x
  • phpenc加密程序源码
  • 学英语学Elasticsearch:04 Elastic integrations 工具箱实现对第三方数据源的采集、存储、可视化,开箱即用
  • 2024.10.12 校招 实习 内推 面经
  • ios越狱脚本巨魔商店安装教程
  • 浅谈容灾技术方案详解
  • 时序数据库InfluxDB—介绍与性能测试
  • Python的循环
  • 【机器学习】聚类评价指标之福尔克斯–马洛斯指数(Fowlkes–Mallows Index, FMI)
  • 分享一次面试经历
  • 网络攻击行为可视化分析系统【数据分析 + 可视化】