I am trying to configure my java app, with elastic APM agent, as per instructions given here - https://www.elastic.co/guide/en/apm/agent/java/current/index.html
Once I bring up my java app, when I try to access its url - I am getting this error -
HTTP ERROR: 500
Problem accessing /libs/granite/core/content/login.html. Reason:
java.lang.NoClassDefFoundError: co/elastic/apm/servlet/ServletApiAdvice
I have not packaged APM client jar with my java app, rather, I have just updated javaagent param to point to the apm client jar. Any help or pointers much appreciated.