新增下列两个配置
Can-Redefine-Classes: true
Can-Retransform-Classes: true
到MANIFEST.MF中
Manifest-Version: 1.0
Main-Class: x.Agent
Agent-Class: x.Agent
Premain-Class: x.Agent
Can-Retransform-Classes: true
Can-Redefine-Classes: true
新增下列两个配置
Can-Redefine-Classes: true
Can-Retransform-Classes: true
到MANIFEST.MF中
Manifest-Version: 1.0
Main-Class: x.Agent
Agent-Class: x.Agent
Premain-Class: x.Agent
Can-Retransform-Classes: true
Can-Redefine-Classes: true