-
Notifications
You must be signed in to change notification settings - Fork 392
Closed
Description
on spring boot 2.7.3 if i try to run a boot application with --spring.config.location=app.properties (https://docs.spring.io/spring-boot/docs/2.7.3/reference/htmlsingle/#features.external-config.files) i get the following error:
Caused by: org.springframework.shell.CommandNotFound: No command found for '--spring.config.location=app.properties'
at org.springframework.shell.Shell.evaluate(Shell.java:231)
at org.springframework.shell.Shell.run(Shell.java:140)
at org.springframework.shell.jline.NonInteractiveShellRunner.run(NonInteractiveShellRunner.java:104)
at org.springframework.shell.DefaultShellApplicationRunner.run(DefaultShellApplicationRunner.java:65)
at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:762)
The config properties are loaded fine but also tries to parse it as command, is there any way to tell shell to ignore that "command" ?
Metadata
Metadata
Assignees
Labels
No labels