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
Building Typescript definitions from static JS with command: C:\data\kalix\shopping-cart\node_modules.bin\pbts C:\data\kalix\shopping-cart\lib\generated\proto.js -o C:\data\kalix\shopping-cart\lib\generated\proto.d.ts
installing estraverse@^5.1.0
Invoking Kalix codegen with command: C:\data\kalix\shopping-cart\node_modules@kalix-io\kalix-scripts\bin\kalix-codegen-js.bin --proto-source-dir ./proto --source-dir ./src --generated-source-dir ./lib/generated --test-source-dir ./test --integration-test-source-dir ./integration-test
Inspecting proto file descriptor for Kalix code generation…
Exception in thread “main” java.lang.NoClassDefFoundError: kalix.Annotations
at io.kalix.codegen.DescriptorSet$.$anonfun$fileDescriptors$2(DescriptorSet.scala:45)
at scala.util.Using$.$anonfun$apply$1(Using.scala:261)
at scala.util.Using$.apply(Using.scala:113)
at io.kalix.codegen.DescriptorSet$.fileDescriptors(DescriptorSet.scala:43)
at io.kalix.codegen.js.Cli$.main(Cli.scala:85)
at io.kalix.codegen.js.Cli.main(Cli.scala)
Running Invoking Kalix codegen failed, process: [C:\data\kalix\shopping-cart\node_modules@kalix-io\kalix-scripts\bin\kalix-codegen-js.bin], args: [–proto-source-dir,./proto,–source-dir,./src,–generated-source-dir,./lib/generated,–test-source-dir,./test,–integration-test-source-dir,./integration-test]
The text was updated successfully, but these errors were encountered:
The codegen is a native executable (using GraalVM) not using any local Java installation, are you saying you rebuilt an image of your own but based on a different GraalVM version than 22.1.0, or that you built the codegen Java library with JDK 17 first and then generated a new native image with the default GraalVM?
Class not found when running codegen on windows only, reported in the forums:
https://discuss.kalix.io/t/kalix-annotations-not-found/182
The text was updated successfully, but these errors were encountered: