Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not work with GraalVM22 #115

Open
Terrency opened this issue Mar 31, 2024 · 1 comment
Open

not work with GraalVM22 #115

Terrency opened this issue Mar 31, 2024 · 1 comment

Comments

@Terrency
Copy link

4 user-specific feature(s):

  • com.oracle.svm.thirdparty.gson.GsonFeature
  • com.oracle.svm.truffle.TruffleBaseFeature: Provides support for Truffle languages
  • com.oracle.svm.truffle.TruffleFeature: Provides support for Truffle runtime compilation
  • org.graalvm.home.HomeFinderFeature: Finds GraalVM paths and its version number

com.oracle.svm.core.util.VMError$HostedError: InternalFeature defined by com.oracle.svm.truffle.TruffleFeature unexpectedly failed with a(n) java.lang.NoSuchMethodError

@Terrency
Copy link
Author

Terrency commented Apr 1, 2024

it works with GraalVM21, I have tried.

btw, need few changes with exec-maven-plugin @standalone module

<configuration>
    <executable>
        ${env.JAVA_HOME}/bin/native-image.cmd</executable>
    <commandlineArgs>
        -p %classpath
        -H:+ReportExceptionStackTraces
        -m ${launcherClass}
        -o ${project.build.directory}/slnative
        -Dpolyglotimpl.DisableVersionChecks=true
    </commandlineArgs>
</configuration>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant