I'm trying to run cas server with services. I've put a json file in /home/cas/Desktop/cas-overlay-template-master/src/resources/services and this properties in cas.properties located in /etc/cas/config cas.serviceRegistry.initFromJson=true cas.serviceRegistry.config.location=file:///home/cas/Desktop/cas-overlay-template-master/src/resources/services
When I run the server, it fails with this error:
2018-12-05 20:47:17,211 ERROR
[org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter] - <
***************************
APPLICATION FAILED TO
START
***************************
Description:
Binding to target [Bindable@4d41ba0f type =
org.apereo.cas.configuration.CasConfigurationProperties, value =
'provided', annotations =
array<Annotation>[@org.springframework.boot.context.properties.ConfigurationProperties(value=cas,
prefix=cas, ignoreInvalidFields=false, ignoreUnknownFields=false)]]
failed:
Property:
cas.serviceregistry.config.location
Value:
file:///home/cas/Desktop/cas-overlay-template-master/src/resources/services
Origin: "cas.serviceRegistry.config.location" from property source
"bootstrapProperties"
Reason: The elements [cas.serviceregistry.config.location] were left
unbound.
Action:
Update your application's
configuration
>
>
>
> Task :run FAILED
FAILURE: Build failed with an exception.
How can I fix this?
--
- 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/64e21af5-0c89-4f62-b7c7-3121acf3b0a9%40apereo.org.
