Error during startup of application configured with Elastic APM Java agent (Beta)

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.

I'm very sorry, I must have overlooked your thread! :scream:

The problem should be already resolved by now. Could you try out this snapshot: https://oss.sonatype.org/content/repositories/snapshots/co/elastic/apm/elastic-apm-agent/0.7.0-SNAPSHOT/elastic-apm-agent-0.7.0-20180801.093112-31.jar

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.