CAS Service Management - Bean property 'mgmt[adminRoles]' is not readable

21 views
Skip to first unread message

Danny Zeng

unread,
Jan 20, 2020, 4:10:33 AM1/20/20
to CAS Community
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 !!!

Bob

unread,
Feb 5, 2020, 10:42:20 AM2/5/20
to CAS Community
Hi Danny,

I have it defined like this:

mgmt.adminRoles[0]=

Hope this helps.
Regards,

Bob
Reply all
Reply to author
Forward
0 new messages