AnsweredAssumed Answered

Alfresco 3.4, where is adminUser property?

Question asked by gabri124 on Apr 27, 2011
Latest reply on Apr 27, 2011 by gabri124
Hello, I have started working with Alfresco and I have update a project Alfresco 2.2 to 3.4 Community.

I'm trying to configure Authority-services-context.xml just I have in old project. In that project I have the property "adminUsers" but in 3.4 i haven't got it. I code the property but it returns me and error about bean configuration. The lib that has this bean configuration is a .class file and I can't edit it. Can you help me?

GRAVE: Excepción enviando evento inicializado de contexto a instancia de escuchador de clase org.alfresco.web.app.ContextLoaderListener

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authorityService' defined in class path resource [alfresco/authority-services-context.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'adminUsers' of bean class [org.alfresco.repo.security.authority.AuthorityServiceImpl]: Bean property 'adminUsers' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)

… 40 more

How do i can resolve this? Thank's

Outcomes