spring-projects/spring-boot · error · NoSuchCommandException
'${name}' is not a valid command. See 'help'.
Error message
'${name}' is not a valid command. See 'help'. What it means
Error "'${name}' is not a valid command. See 'help'." thrown in spring-projects/spring-boot.
Source
Thrown at cli/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/core/HelpCommand.java:121
}
if (command.getHelp() != null) {
Log.info(command.getHelp());
}
Collection<HelpExample> examples = command.getExamples();
if (examples != null) {
Log.info((examples.size() != 1) ? "examples:" : "example:");
Log.info("");
for (HelpExample example : examples) {
Log.info(" " + example.getDescription() + ":");
Log.info(" $ " + example.getExample());
Log.info("");
}
Log.info("");
}
return ExitStatus.OK;
}
}
throw new NoSuchCommandException(commandName);
}
}
View on GitHub (pinned to 5b2dbdbb8b)
When it happens
Trigger: Thrown at cli/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/core/HelpCommand.java:121 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of spring-projects/spring-boot@5b2dbdbb8b (2026-08-04).
Data as JSON: /data/errors/ce1199228979fd59.json.
Report an issue: GitHub.