Executing `./gradlew build` in an empty project (`3.4.1` version) produces: ``` > Task :test FAILED DemoApplicationTests > contextLoads() FAILED java.lang.IllegalStateException at DefaultCacheAwareContextLoaderDelegate.java:180 Caused by: org.springframework.beans.factory.BeanCreationException at AbstractBeanFactory.java:325 Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException at ConstructorResolver.java:804 Caused by: org.springframework.beans.factory.BeanCreationException at ConstructorResolver.java:657 Caused by: org.springframework.beans.BeanInstantiationException at SimpleInstantiationStrategy.java:199 Caused by: org.springframework.boot.autoconfigure.jdbc.DataSourceProperties$DataSourceBeanCreationException at DataSourceProperties.java:186 1 test completed, 1 failed FAILURE: Build failed with an exception. ``` The failed [test](https://github.com/rkudryashov/sb-repro/blob/master/src/test/kotlin/com/example/demo/DemoApplicationTests.kt) is generated automatically. To reproduce, you can use [this](https://github.com/rkudryashov/sb-repro) project; also, the error can be observed in a freshly generated project with such a config: 