Hi, I’ve got an error first running the new beta5 with our custom matcher (working fine on beta4)
Caused by: org.apache.mailet.MailetException: Could not load matcher (it.my.matchers.RecipientIsOverFixedQuotaPC); nested exception is: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'it.my.matchers.RecipientIsOverFixedQuotaPC': Unsatisfied dependency expressed through bean property 'mailboxManager': : No unique bean of type [org.apache.james.mailbox.MailboxManager] is defined: expected single matching bean but found 3: [jpa-mailboxmanager, maildir-mailboxmanager, memory-mailboxManager]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [org.apache.james.mailbox.MailboxManager] is defined: expected single matching bean but found 3: [jpa-mailboxmanager, maildir-mailboxmanager, memory-mailboxManager] The same matcher worked fine with beta4 without any specific bean definition. We tried to define a bean in spring-server.xml in james-server-spring-3.0.0-beta5-SNAPSHOT.jar <bean class="it.my.matchers.RecipientIsOverFixedQuotaPC"> <property name="mailboxManager" value="jpa-mailboxmanager"/> </bean> Any hints or suggestions? Thanks and regards Pietro