From b3d33708d1846ad3569d8546e9fbdfce0b5d9b21 Mon Sep 17 00:00:00 2001 From: Josh Cummings Date: Fri, 14 Sep 2018 09:20:02 -0600 Subject: [PATCH] JAXB for Authorization Server Sample For Java 9+ compatibility Issue: gh-5833 --- ...ing-security-samples-boot-oauth2authorizationserver.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/samples/boot/oauth2authorizationserver/spring-security-samples-boot-oauth2authorizationserver.gradle b/samples/boot/oauth2authorizationserver/spring-security-samples-boot-oauth2authorizationserver.gradle index d1c378962f..3b2df4e605 100644 --- a/samples/boot/oauth2authorizationserver/spring-security-samples-boot-oauth2authorizationserver.gradle +++ b/samples/boot/oauth2authorizationserver/spring-security-samples-boot-oauth2authorizationserver.gradle @@ -4,6 +4,10 @@ dependencies { compile 'org.springframework.boot:spring-boot-starter-web' compile 'org.springframework.boot:spring-boot-starter-security' compile "org.springframework.security.oauth.boot:spring-security-oauth2-autoconfigure:${springBootVersion}" + + compile 'javax.xml.bind:jaxb-api' + compile 'com.sun.xml.bind:jaxb-core' + compile 'com.sun.xml.bind:jaxb-impl' compile 'com.nimbusds:nimbus-jose-jwt' testCompile 'org.springframework.boot:spring-boot-starter-test'