Open mtedone opened 7 years ago
I will revisit the build files as soon as I get the time to this!
+1
tried to run the application today and ran into the same error
EDIT: With IntelliJ IDEA i could import and run both of the applications (after changing some module settings). But via CLI it still doesn't work.
build success with gradle build -x test
but I got
{
"error": "unauthorized",
"error_description": "Full authentication is required to access this resource"
}
when I try to get access token by
curl -XPOST "http://127.0.0.1:9999/oauth/token" -d "grant_type=password&username=reader&password=reader"
Some build issues could be fixed by adding: classpath("io.spring.gradle:dependency-management-plugin:0.6.1.RELEASE") to both build.gradle
could you make a PR for this please :smile: ?
The build fails at first attempt.
~/dev/oauth2/spring-cloud-oauth2-example: gradle build Download https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-gradle-plugin/1.3.2.RELEASE/spring-boot-gradle-plugin-1.3.2.RELEASE.pom Download https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-gradle-plugin/1.3.2.RELEASE/spring-boot-gradle-plugin-1.3.2.RELEASE.jar Download https://repo1.maven.org/maven2/io/spring/gradle/dependency-management-plugin/0.5.4.RELEASE/dependency-management-plugin-0.5.4.RELEASE.jar
FAILURE: Build failed with an exception.
Where: Build file '/Users/tedonema/dev/oauth2/spring-cloud-oauth2-example/OAuth2AuthServer/build.gradle' line: 16
What went wrong: A problem occurred evaluating project ':OAuth2AuthServer'.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED