-
Notifications
You must be signed in to change notification settings - Fork 393
Closed
Labels
area/documentationBelongs to documentationBelongs to documentationbranch/3.3.xIssue for a branchIssue for a branchfor/backportFor backportingFor backporting
Milestone
Description
I tried following multiple articles and documentation to create my first Spring Shell project. The interactive shell never appeared.
I finally found the answer here: #1081
The Getting started section doesn't mention that I need to add the following property:
spring.shell.interactive.enabled=true
I couldn't test it yet, but I believe the following caution is not needed anymore with the default behavior of having the interactive shell disabled:
Given that Spring Shell starts the REPL (Read-Eval-Print-Loop) because this dependency is present, you need to either skip tests when you build (-DskipTests) throughout this tutorial or remove the sample integration test that was generated by [start.spring.io](https://start.spring.io/). If you do not remove it, the integration test creates the Spring ApplicationContext and, depending on your build tool, stays stuck in the eval loop or crashes with a NPE.
cliy5602, Leeo97one and jtgasper3
Metadata
Metadata
Assignees
Labels
area/documentationBelongs to documentationBelongs to documentationbranch/3.3.xIssue for a branchIssue for a branchfor/backportFor backportingFor backporting