You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

JVM附加JavaAgent遇Agent-Class配置异常,求助解决方案

JVM Agent 启动异常求助

我在给JVM附加Agent时接连遇到两个问题:

  • 最初执行时,报错:
    Failed to find Agent-Class manifest attribute from /Users/yanjobs/Downloads/Dumper-master-2/out/artifacts/Dumper_master_2_jar/Dumper-master-2.jar
    
  • 在MANIFEST.MF里添加Agent-Class参数后,JVM又抛出错误:
    Exception in thread "Attach Listener" Agent failed to start!
    
    同时IntelliJ提示“Invalid agent class”(截图显示代理类配置无效)

我的源码已上传至GitHub仓库,恳请有时间的朋友帮忙排查问题。

内容的提问来源于stack exchange,提问作者Yan-Jobs

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.22 06:57:17