CAS 5.3 : Gradle build failed with an exception

29 views
Skip to first unread message

Terki Adel

unread,
Apr 20, 2021, 7:44:38 AM4/20/21
to CAS Developer

Hi,

I'm trying to build the version 5.3 of the CAS project on my local machine which i cloned from this url : https://github.com/apereo/cas/tree/5.3.x , But while running the cmd to build the project, i got always stuck on that error.

How should i get rid of that type of error while building with gradle ?

[$CAS_PROJECT_LOCATION] >./gradlew build --parallel          

.....
......

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all files for configuration ':support:cas-server-support-logging-config-splunk:compileClasspath'.
> Could not resolve com.splunk.logging:splunk-library-javalogging:1.5.3.
  Required by:
      project :support:cas-server-support-logging-config-splunk
   > Could not resolve com.splunk.logging:splunk-library-javalogging:1.5.3.
      > Could not get resource 'https://repo.spring.io/plugins-release/com/splunk/logging/splunk-library-javalogging/1.5.3/splunk-library-javalogging-1.5.3.pom'.
         > Could not GET 'https://repo.spring.io/plugins-release/com/splunk/logging/splunk-library-javalogging/1.5.3/splunk-library-javalogging-1.5.3.pom'. Received status code 401 from server: Unauthorized

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 2m 20s
160 actionable tasks: 42 executed, 118 up-to-date
Reply all
Reply to author
Forward
0 new messages