Open corey-cole opened 1 year ago
Hi @corey-cole - thank you for filing this bug, we will add it to our backlog to improve our Spring Boot support.
In the meantime, we recommend trying out the ADOT Java agent with X-Ray to auto-instrument your Java apps: https://aws-otel.github.io/docs/getting-started/java-sdk/trace-auto-instr
I have a trivial sample Spring Boot application that I'm attempting to run as an executable jar. The app runs fine without the agent with Jetty and Tomcat. The app also runs fine with the agent when started via Maven. However, starting the executable jar with the documented instructions for including an agent results in the error
java.lang.NoClassDefFoundError: javax/servlet/Filter
.This class is definitely available:
Working invocations:
Failing invocation:
disco.log