Question
Unable to load instrumentation class in Spring Boot 3.x with Java 17
Rey Orbit
0 reputation · 02 Apr 2024, 10:36 UTC
54.8K views0
p>When deploying a Spring Boot 3.x application running on JVM 17, the New Relic Java agent occasionally fails to capture specific transaction traces. While the agent initializes, the application logs indicate a failure to load certain instrumentation classes during the bootstrap phase.
The issue appears to stem from a mismatch between the agent version and the requirements of the newer Spring framework and JVM version. Although agent version 8.0+ is cited for Java 17, specific auto-instrumentation for Spring Boot 3.x features may require a more recent baseline version.
- What is the specific minimum New Relic agent version required to ensure full auto-instrumentation of Spring Boot 3.x features?
- Does a specific configuration flag need to be set to resolve class loading conflicts on JVM 17?