php小编草莓今天为大家介绍的是关于Hilla应用程序启动错误的解决方法。在使用Hilla应用程序时,有时会出现“找不到有效的可执行文件”的错误提示。这个错误可能是由于文件丢失、路径错误或权限问题等原因引起的。下面,我们将详细解释如何解决这个问题,让您能够顺利启动Hilla应用程序。
尝试启动 hilla 应用程序并收到以下错误消息:
我正在尝试从此 github 存储库启动应用程序:https://github.com/marcushellberg/customer-support-agent
dev.hilla.engine.commandrunner.CommandNotFoundException: No valid executable found at dev.hilla.engine.commandrunner.CommandRunner.lambda$run$0(CommandRunner.java:72) ~[engine-core-2.2.0.jar:na] at java.base/java.util.Optional.orElseThrow(Optional.java:403) ~[na:na] at dev.hilla.engine.commandrunner.CommandRunner.run(CommandRunner.java:72) ~[engine-core-2.2.0.jar:na] at dev.hilla.internal.AbstractTaskEndpointGenerator.prepareEngineConfiguration(AbstractTaskEndpointGenerator.java:87) ~[engine-runtime-2.2.0.jar:na] at dev.hilla.internal.AbstractTaskEndpointGenerator.getEngineConfiguration(AbstractTaskEndpointGenerator.java:59) ~[engine-runtime-2.2.0.jar:na] at dev.hilla.internal.TaskGenerateOpenAPIImpl.execute(TaskGenerateOpenAPIImpl.java:67) ~[engine-runtime-2.2.0.jar:na] at com.vaadin.flow.server.frontend.NodeTasks.execute(NodeTasks.java:312) ~[flow-server-24.1.11.jar:24.1.11] at com.vaadin.base.devserver.startup.DevModeInitializer.runNodeTasks(DevModeInitializer.java:352) ~[vaadin-dev-server-24.1.11.jar:na] at com.vaadin.base.devserver.startup.DevModeInitializer.lambda$initDevModeHandler$0(DevModeInitializer.java:293) ~[vaadin-dev-server-24.1.11.jar:na] at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[na:na] at java.base/java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) ~[na:na] at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) ~[na:na] at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312) ~[na:na] at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843) ~[na:na] at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808) ~[na:na] at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188) ~[na:na]```
您可以通过在application.properties
中设置更详细的日志级别来获取有关该问题的更多详细信息,例如:
logging.level.dev.hilla=trace
但似乎无法找到 maven,并且我发现您尝试运行的应用程序缺少 maven wrapper。
将包装器添加到应用程序或确保本地 maven 在 path 上可用。
The above is the detailed content of Hilla application startup error. No valid executable file found. For more information, please follow other related articles on the PHP Chinese website!