sbt-native-image icon indicating copy to clipboard operation
sbt-native-image copied to clipboard

Receiving Unsupported reflection method: methodTypeDescriptor with nativeImageRunAgent

Open eAdvisor opened this issue 2 years ago • 1 comments

Describe the issue I am trying to generate reflection configuration with the help of nativeImageRunAgent and I received the following error. The command was successful but had these errors in the logs.

I am running it via sbt on a scala project.

[error] Unsupported reflection method: methodTypeDescriptor [error] Unsupported reflection method: methodTypeDescriptor [error] Unsupported reflection method: methodTypeDescriptor [error] Unsupported reflection method: methodTypeDescriptor [error] Unsupported reflection method: methodTypeDescriptor [error] Unsupported reflection method: methodTypeDescriptor

Describe GraalVM and your environment:

  • GraalVM version graalvm-ce-java17-22.1.0
  • JDK major version: 17
  • OS: MacOS Monterey
  • Architecture: AMD64
  • Version 0.3.1

eAdvisor avatar May 09 '22 13:05 eAdvisor

I run into the same problem, similar config. Just on an M1 mac. Did you find a fix?

cos avatar Jul 06 '22 23:07 cos