Question #1600
Question
#1600
-
Ask a questionWhen running generator command the execution got failed command Error message Generating Root Path:
Generating Path: karavan-core/test
Generating Path: karavan-app/src/main/resources
Generating Path: karavan-designer/public
Generating Path: karavan-vscode
[WARNING]
java.nio.file.NoSuchFileException: /karavan-core/src/core/model/CamelDefinition.ts
at sun.nio.fs.UnixException.translateToIOException (UnixException.java:92)
at sun.nio.fs.UnixException.rethrowAsIOException (UnixException.java:106)
at sun.nio.fs.UnixException.rethrowAsIOException (UnixException.java:111)
at sun.nio.fs.UnixFileSystemProvider.newByteChannel (UnixFileSystemProvider.java:218)
at java.nio.file.spi.FileSystemProvider.newOutputStream (FileSystemProvider.java:484)
VariantWeb Application Container Management (if applicable)None Operating System (if applicable)Linux Version4.14.5 |
Beta Was this translation helpful? Give feedback.
Answered by
arockiaraj1994
Mar 12, 2026
Replies: 2 comments 1 reply
-
|
4.14.5 is work in progress. Please use https://github.com/apache/camel-karavan/releases |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
I found the cause This is because of public final class KaravanGenerator {
public static void main(String[] args) throws Exception {
String rootPath = args.length > 0 ? args[0] : "";
......
}
}Fix 1: Compile level Fix 2: Code level public final class KaravanGenerator {
public static void main(String[] args) throws Exception {
String rootPath = args.length > 0 ? args[0] : ".";
......
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
arockiaraj1994
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found the cause
This is because of
Fix 1: Compile level
Pass current path as part of building generator.
Fix 2: Code level