You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Task :opentelemetry-examples-spring-native:compileAotJava FAILED
...opentelemetry-java-examples\spring-native\build\generated\aotSources\io\opentelemetry\instrumentation\spring\autoconfigure\OpenTelemetryAutoConfiguration__BeanDefinitions.java:8: error: cannot find symbol
import io.opentelemetry.sdk.autoconfigure.AutoConfiguredOpenTelemetrySdk;
^
symbol: class AutoConfiguredOpenTelemetrySdk
location: package io.opentelemetry.sdk.autoconfigure
...
Javaagent or library instrumentation version
2.10.0
Environment
JDK: GraalVM OS: Windows
Additional context
It seems that OpenTelemetry for Spring Boot Native app written in Kotlin is not supported. There is no issue in the specified demo project if I disable org.graalvm.buildtools.native plugin.
The text was updated successfully, but these errors were encountered:
Describe the bug
Build failed when
kotlin("jvm")
plugin is usedSteps to reproduce
You can use this project:
kotlin("jvm") version "2.0.21"
to plugins list inbuild.gradle.kts
../gradlew bootBuildImage --imageName=otel-native-graalvm
Expected behavior
Build has no errors
Actual behavior
Build fails with:
Javaagent or library instrumentation version
2.10.0
Environment
JDK: GraalVM
OS: Windows
Additional context
It seems that OpenTelemetry for Spring Boot Native app written in Kotlin is not supported. There is no issue in the specified demo project if I disable
org.graalvm.buildtools.native
plugin.The text was updated successfully, but these errors were encountered: