Jérémie,
That means that 'cas.serviceregistry.config.location' is not a property. See
properties here,
https://apereo.github.io/cas/6.1.x/configuration/Configuration-Properties.html#service-registry,
for 6.1.x
'config.location' is not there.
Also, it is 'serviceRegistry'.
Ray
On Sun, 2020-02-09 at 05:04 -0800, Jérémie Pilette wrote:
Sorry for the secondly part of my previous message.
It was not the good command line.
With the good command line I have this :
[...]
2020-02-09 12:54:49,372 ERROR
[org.apereo.cas.configuration.CasConfigurationPropertiesValidator] - <
Failed to bind properties under 'cas' to
org.apereo.cas.configuration.CasConfigurationProperties
cas.serviceregistry.config.location = file:/etc/cas/services (Origin:
"cas.serviceRegistry.config.location" from property source
"bootstrapProperties-applicationProfilesCompositeProperties")
Listed settings above are no longer recognized by CAS 6.2.0-RC2. They may have
been renamed, removed, or relocated to a new address in the CAS configuration
schema. CAS will ignore such settings and will proceed with its normal
initialization sequence. Please consult the CAS documentation to review and
adjust each setting to find an alternative or remove the definition. Failure to
do so puts the stability of the CAS server deployment in danger and complicates
future upgrades.
>
[...]
> Task :run FAILED
:run (Thread[Execution worker for ':' Thread 7,5,main]) completed. Took 13.924
secs.
FAILURE: Build failed with an exception.
* Where:
Script '/home/xxxx/bin/cas-overlay-template-6.2/gradle/tasks.gradle' line: 64
* 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 --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.1.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 15s
5 actionable tasks: 3 executed, 2 up-to-date
Le dimanche 9 février 2020 12:29:13 UTC+1, Jérémie Pilette 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 respectfully acknowledge that my place of work is located within the
ancestral, traditional and unceded territory of the Songhees, Esquimalt and
WSÁNEĆ Nations.
--
- 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/0c97518b87793b188be3682f33fbc482eb8c5513.camel%40uvic.ca.