jacocoagent.jar starts up fails: agent library failed to init: instrument

Viewed 2066

recently I'm learning jacocoagent, I used the following command to start my project,

```nohup java -javaagent:/root/qa_charlyne/jacocoagent.jar=includes=*,output=file,destfile=/root/qa_charlyne/jacoco.exec -jar diff-code-coverage.jar > difflog.txt 2>&1```

but i failed to start up jacocoagent.jar: Failed to find Premain-Class manifest attribute in /root/qa_charlyne/org.jacoco.agent-0.8.5.jar Error occurred during initialization of VM agent library failed to init: instrument

i don't know why ,i need help

1 Answers
Related