Try file:/ instead of file:///, might be the issue -Andy

On Thursday, 6 December 2018 03:51:47 UTC+8, Andrea Bellizzi wrote:
>
> 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/3697f2fe-5902-4f81-8479-9bc220d21172%40apereo.org.

Reply via email to