#Facing problem in Spring Shell

1 messages · Page 1 of 1 (latest)

prime cove
#

Hi guys, today i was making my Spring Shell Project where i was trying to make and run a Component flow. But when i runned the command, the command did nothing.

hazy basinBOT
#

<@&1004656351647117403> please have a look, thanks.

sand sapphire
#

need a little more info than that to comment

#

share the code?

prime cove
#

ok

hazy basinBOT
# prime cove

I uploaded your attachments as Gist. This makes them more accessible, for example to mobile users.

polar crown
#

You used ComponentFlow.builder() instead of your injected builder i think its bc of that

prime cove
#

ok lemme try

polar crown
#

oh and just founded out u chained .terminal(terminal) wrong maybe

prime cove
#

im thinking something

#

when i looped through all objects set in the context

#

that the flow wasnt running and set my values to null

polar crown
#

i didnt understand ur code is correct why isnt it runnning?

prime cove
#

idk, i think it is problem in my gradle

#

spring.shell.command.enabled=true
spring.shell.history.enabled=true
spring.shell.interactive.enabled=true
logging.level.root=OFF
spring.shell.script.enabled=true

this is the code in application.properties, i have application name also

polar crown
#

tell github copilot maybe it will help ur code

prime cove
#

ok

#

i use tabnine btw

polar crown
#

doesnt matter

prime cove
polar crown
#

what was the problem

prime cove
#

there were some jline dependencies missing from the gradle

#

jline-jna, jline

#

and i had already a gradle file with those fixes already done 💀

#

*not in my curr proj

#

thks

#

by

polar crown
#

no worries

#

feel free to ask us

prime cove
#

thanks

polar crown
#

for anyhelp

prime cove
#

how to destroy this post bte

#

bttw

polar crown
#

uhh

#

why?

prime cove
#

ok if not, i thought that post can be deleted once resolved

polar crown
#

i dont think we can delete it

sand sapphire