dd-trace-java icon indicating copy to clipboard operation
dd-trace-java copied to clipboard

No version file found error during native-image build

Open PerfectSlayer opened this issue 1 year ago • 0 comments

Description

When building a Quarkus sample application using Native Image, the following error happens at step 1/8 Initializing:

[dd.trace 2024-01-04 14:01:01:643 +0100] [ForkJoinPool-2-worker-9] ERROR datadog.common.version.VersionInfo - No version file found

Reproduce Steps

  1. Create and download a sample Quarkus application using code.quarkus.io with reasteasy-reactive and opentelemetry extensions.
  2. Build the application with the following command line: ./mvnw package -Dnative -Dquarkus.native.additional-build-args='-J-javaagent:/full/path/to/dd-java-agent-1.26.1.jar,-J-Ddd.trace.otel.enabled=true'

Additional Informations

  • Tested with tracer 1.26.1
  • MacOS M1
  • GraalVM 17.0.8-graalce

PerfectSlayer avatar Jan 04 '24 13:01 PerfectSlayer