Is this a new deploy?
If so, you should use 6.5 (there is no .x for the overlay)
Ray
On Sat, 2022-06-18 at 12:42 -0700, Gilles-Dereck GNANCADJA wrote:
Notice: This message was sent from outside the University of Victoria email
system. Please be cautious with links and sensitive information.
Hello, I'need help please please!
I'm working on deployement of CAS and for gradlew step i get this error please
help me!!
┌──(root💀dgtcp)-[/home/dgtcp/cas-management-overlay]
└─# ./gradlew executable
Starting a Gradle Daemon (subsequent builds will be faster)
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'cas-management'.
> Could not resolve all files for configuration ':casBootWarOverlay'.
> Could not find org.apereo.cas:cas-mgmt-webapp-tomcat:6.3.0-SNAPSHOT.
Searched in the following locations:
-
file:/root/.m2/repository/org/apereo/cas/cas-mgmt-webapp-tomcat/6.3.0-SNAPSHOT/maven-metadata.xml
-
file:/root/.m2/repository/org/apereo/cas/cas-mgmt-webapp-tomcat/6.3.0-SNAPSHOT/cas-mgmt-webapp-tomcat-6.3.0-SNAPSHOT.pom
-
https://repo.maven.apache.org/maven2/org/apereo/cas/cas-mgmt-webapp-tomcat/6.3.0-SNAPSHOT/maven-metadata.xml
-
https://repo.maven.apache.org/maven2/org/apereo/cas/cas-mgmt-webapp-tomcat/6.3.0-SNAPSHOT/cas-mgmt-webapp-tomcat-6.3.0-SNAPSHOT.pom
-
https://oss.sonatype.org/content/repositories/releases/org/apereo/cas/cas-mgmt-webapp-tomcat/6.3.0-SNAPSHOT/maven-metadata.xml
-
https://oss.sonatype.org/content/repositories/releases/org/apereo/cas/cas-mgmt-webapp-tomcat/6.3.0-SNAPSHOT/cas-mgmt-webapp-tomcat-6.3.0-SNAPSHOT.pom
-
https://oss.sonatype.org/content/repositories/snapshots/org/apereo/cas/cas-mgmt-webapp-tomcat/6.3.0-SNAPSHOT/maven-metadata.xml
-
https://oss.sonatype.org/content/repositories/snapshots/org/apereo/cas/cas-mgmt-webapp-tomcat/6.3.0-SNAPSHOT/cas-mgmt-webapp-tomcat-6.3.0-SNAPSHOT.pom
-
https://build.shibboleth.net/nexus/content/repositories/releases/org/apereo/cas/cas-mgmt-webapp-tomcat/6.3.0-SNAPSHOT/maven-metadata.xml
-
https://build.shibboleth.net/nexus/content/repositories/releases/org/apereo/cas/cas-mgmt-webapp-tomcat/6.3.0-SNAPSHOT/cas-mgmt-webapp-tomcat-6.3.0-SNAPSHOT.pom
Required by:
project :
* 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
Deprecated Gradle features were used in this build, making it incompatible with
Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See
https://docs.gradle.org/6.8/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 2m 24s
Le dimanche 9 février 2020 à 12:29:13 UTC+1, [email protected] a écrit :
Hello,
Thanks for your response.
I come back to (try) to finished my installation...
I have succeed in compiling, but I have an error when I try to deploy on
tomcat9.
First, is that possible to use Tomcat-9.0.16 knowing that in gradle.properties
it is written tomcatVersion=9.0.30 (On debian package)?
Secondly, this is what I have with ./gradlew run —info
./gradlew run —info
FAILURE: Build failed with an exception.
* What went wrong:
Task '—info' not found in root project 'cas'.
* Try:
Run gradlew tasks to get a list of available tasks. 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<http://help.gradle.org>
Deprecated Gradle features were used in this build, making it incompatible with
Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See
https://docs.gradle.org/6.1.1/userguide/command_line_interface.html#sec:command_line_warnings<http://docs.gradle.org/6.1.1/userguide/command_line_interface.html#sec:command_line_warnings>
BUILD FAILED in 463ms
Many thanks to you,
Jérémie
Le jeudi 2 janvier 2020 20:59:28 UTC+1, Dmitriy Kopylenko a écrit :
You might want to run it with —info or —debug flag to see what might be
failing, like so:
./gradlew run —info
or build and run as two separate steps:
./gradlew clean build
java -jar build/libs/cas.war
D.
From: Jérémie Pilette <[email protected]>
Reply: Jérémie Pilette <[email protected]>
Date: January 2, 2020 at 2:47:55 PM
To: CAS Community <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: [cas-user] 6.2.x Gradle Compilation
Hi Dmitriy,
thank you.
Now I have another ailed :
> Task :run FAILED
FAILURE: Build failed with an exception.
* Where:
Script '/home/USER/bin/cas-overlay-template/gradle/tasks.gradle' line: 57
* What went wrong:
Execution failed for task ':run'.
> Process 'command '/usr/lib/jvm/java-11-openjdk-amd64/bin/java'' finished with
> non-zero exit value 1
* 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
Deprecated Gradle features were used in this build, making it incompatible with
Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See
https://docs.gradle.org/6.0.1/userguide/command_line_interface.html#sec:command_line_warnings
Thank you,
Jérémie
Le jeudi 2 janvier 2020 14:24:48 UTC+1, Dmitriy Kopylenko a écrit :
Hi there.
Change version of CAS to 6.2 RC2 in gradle.properties like so:
cas.version=6.2.0-RC2
Best,
D.
From: Jérémie Pilette <[email protected]>
Reply: [email protected] <[email protected]>
Date: January 2, 2020 at 7:57:00 AM
To: CAS Community <[email protected]>
Subject: [cas-user] 6.2.x Gradle Compilation
Hi everybody,
I have a problem with my first compilation of cas-overlay-template (6.2.x)
Here this is my messages :
FAILURE: Build failed with an exception.
A problem occurred evaluating root project 'cas'.
> Could not resolve all artifacts for configuration 'classpath'.
> Could not find
org.apereo.cas:cas-server-core-api-configuration-model:6.2.0-SNAPSHOT.
[...]
Could not find
org.apereo.cas:cas-server-core-configuration-metadata-repository:6.2.0-SNAPSHOT.
Searched in the following locations:
[...]
Do you have an idea please ?
Jérémie
--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/a/apereo.org/d/msgid/cas-user/5f89af02-21ff-4d66-82ca-73474ffb4b52%40apereo.org<https://groups.google.com/a/apereo.org/d/msgid/cas-user/5f89af02-21ff-4d66-82ca-73474ffb4b52%40apereo.org?utm_medium=email&utm_source=footer>.
________________________________
This email has been scanned for spam and viruses by Proofpoint Essentials.
Click
here<https://us2.proofpointessentials.com/index01.php?mod_id=11&mod_option=logitem&mail_id=1577994474-hk1Nk1kKYSlm&r_address=dkopylenko%40unicon.net&report=1>
to report this email as spam.
=
--
Ray Bon
Programmer Analyst
Development Services, University Systems
2507218831 | CLE 019 | [email protected]<mailto:[email protected]>
I acknowledge and respect the lək̓ʷəŋən peoples on whose traditional territory
the university stands, and the Songhees, Esquimalt and WSÁNEĆ peoples whose
historical relationships with the land continue to this day.
--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/a/apereo.org/d/msgid/cas-user/471893d591fe7971c3cc4665061db4ff81dd4108.camel%40uvic.ca.