I have a 1.1.7 spring-boot app using Gradle 1.10 & jdk1.8. I use Groovy/Spock for testing It has two dependencies - jars build with Apache Maven 3.1.1 and jdk 1.8. I b
This happened to me when I upgraded my project with groovy Spock tests from JDK 8 to JDK 11.
The fix was to upgrade spock version to 1.3-groovy-2.5
and groovy version to 2.5.3
for my gradle dependencies.
In addition, in my case, I had to add implementation of jaxws and jaxb to my dependencies as they have been removed from JDK 11:
implementation 'com.sun.xml.ws:jaxws-ri:2.3.2'
implementation 'com.sun.xml.bind:jaxb-impl:2.4.0-b180830.0438'