scalameta / sbt-native-image

Plugin to generate native-image binaries with sbt
248 stars 22 forks source link

Receiving Unsupported reflection method: methodTypeDescriptor with nativeImageRunAgent #52

Open eAdvisor opened 2 years ago

eAdvisor commented 2 years ago

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:

cos commented 2 years ago

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