I tried giving the same commandas per doc, but getting same error now also . Please help .
Error opening zip file or JAR manifest missing : /Users/bishanjitkumar/Downloads/elastic-apm-agent-1.17.0.jar
Error occurred during initialization of VM
agent library failed to init: instrument
Thanks for your response . I have tried giving the permission to all by using chmod 777 to the jar file and also i have tried accessing the jar file throught terminal and there is no issue with the path mentioned in the JVM command.
Please note i am getting this error while I am trying the set VM argument to my springboot application on STS.
May STS execute your application in some kind of container that doesn't have access to your downloads folder? What's the output when you do System.out.println(new File("/Users/bishanjitkumar/Downloads/elastic-apm-agent-1.17.0.jar").canRead()); in your application?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.