IllegalStateException: No language and polyglot implementation was found on the classpath. Make sure the truffle-api.jar is on the classpath

前端 未结 2 1441
醉话见心
醉话见心 2021-01-14 14:07
IllegalStateException: No language and polyglot implementation was found on the
classpath. Make sure the truffle-api.jar is on the classpath.

相关标签:
2条回答
  • 2021-01-14 14:31

    Had to add all these dependencies:

    <dependency>
      <groupId>org.graalvm.js</groupId>
      <artifactId>js</artifactId>
      <version>1.0.0-rc10</version>
    </dependency>
    <dependency>
      <groupId>org.graalvm.js</groupId>
      <artifactId>js-scriptengine</artifactId>
      <version>1.0.0-rc10</version>
    </dependency>
    <dependency>
      <groupId>org.graalvm.truffle</groupId>
      <artifactId>truffle-api</artifactId>
      <version>1.0.0-rc10</version>
    </dependency>
    
    0 讨论(0)
  • 2021-01-14 14:36
    implementation 'org.graalvm.sdk:graal-sdk:20.1.0'
    implementation 'org.graalvm.truffle:truffle-api:20.1.0'
    implementation 'org.graalvm.js:js:20.1.0'    
    
    0 讨论(0)
提交回复
热议问题