Warn about potential NPE when using gradle

This commit is contained in:
Eric Bottard
2017-10-09 09:56:11 +02:00
parent e917d876e3
commit 91bc5f31e7

View File

@@ -41,10 +41,13 @@ configuring only the necessary beans as needed:
...
----
[CAUTION]
====
Given that Spring Shell will kick in and start the REPL by virtue of this dependency being present,
you'll need to either build skipping tests (`-DskipTests`) throughout this tutorial or remove the sample integration test
that was generated by http://start.spring.io. If you don't do so, the integration test will create
the Spring `ApplicationContext` and stay stuck in the eval loop.
the Spring `ApplicationContext` and, depending on your build tool, will stay stuck in the eval loop or crash with a NPE.
====
==== Your first command
It's time to add our first command. Create a new class (name it however you want) and