After upgrading my application with spring-shell-starter to 3.1.3 not able to pass command line arguments #842
-
My application was running with when my application was running with spring-shell-starter: 2.0.1.RELEASE I tried to bring up the application by passing command line arguments as below, the application used to come up successfully accepting the arguments
once the application comes up, I used to type help command and try all the commands But after I upgraded with spring-shell-starter: 3.1.3 and when I ran the application using the same
I am getting the below error, it is not accepting as arguments instead looking as a command
Please help me how to pass arguments ifor the latest shell |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Older shell version is radically different what comes for command line parsing. It's difficult to say what goes wrong as you didn't show how your command(s) are defined. I can comment more if you show how what your application does. |
Beta Was this translation helpful? Give feedback.
-
I have this problem too, so how fix it? |
Beta Was this translation helpful? Give feedback.
We got the issued fixed in our application by setting the below property in applications.properties file ( convert to yaml if you are using yaml). Now it is working as before.
spring.shell.noninteractive.enabled=false