Hi Danny,

I have it defined like this:

mgmt.adminRoles[0]=

Hope this helps.
Regards,

Bob


On Monday, January 20, 2020 at 10:10:33 AM UTC+1, Danny Zeng wrote:
>
> this is my env config :
> <cas.version>5.3.14</cas.version>
> <cas-mgmt.version>5.3.6</cas-mgmt.version>    
>
> i startup cas-server, then startup service-manangement 
> [org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext]
>  
> - <Exception encountered during context initialization - cancelling refresh 
> attempt: org.springframework.beans.factory.BeanCreationException: Error 
> creating bean with name 
> 'cas-org.apereo.cas.configuration.CasConfigurationProperties': Could not 
> bind properties to CasConfigurationProperties (prefix=cas, 
> ignoreInvalidFields=false, ignoreUnknownFields=false, 
> ignoreNestedProperties=false); nested exception is 
> org.springframework.beans.NotWritablePropertyException: Invalid property 
> 'mgmt[adminRoles]' of bean class 
> [org.apereo.cas.configuration.CasConfigurationProperties]: Cannot access 
> indexed value in property referenced in indexed property path 
> 'mgmt[adminRoles]'; nested exception is 
> org.springframework.beans.NotReadablePropertyException: Invalid property 
> 'mgmt[adminRoles]' of bean class 
> [org.apereo.cas.configuration.CasConfigurationProperties]: Bean property 
> 'mgmt[adminRoles]' is not readable or has an invalid getter method: Does 
> the return type of the getter match the parameter type of the setter?>
>
>
> what's wrong ?  
>
> Anyone know what the problem is??  
>
> Or how to find out?
>
> thanks !!!
>

-- 
- 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/a5158b0e-333d-4083-bef3-f580ea2147e9%40apereo.org.

Reply via email to