Adding a javaagent?

Hi, this may be a rookie question.
I am just starting to use graphhopper for a research experiment, and need to attach a javaagent (Glowroot) to the web foreground/background action. I make the changes to graphhopper.sh. Essentially, I start the server with this command:
java -javaagent:/path/to/glowroot/glowroot.jar -Xmx1000m -Xms1000m -Ddw.graphhopper.datareader.file=europe_germany_berlin.pbf -Ddw.graphhopper.graph.location=./europe_germany_berlin-gh -jar web/target/graphhopper-web-1.0-SNAPSHOT.jar server config.yml

I see that the agent does get attached, but then a java.lang.NoClassDefFoundError: java/sql/Date is thrown. If I remove the agent, it works well. What can I do to correctly attach the agent?

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