Hi,
You need to define a UidProvider bean.
For JPA (with trunk source code), it would be
<bean id="jpa-uidProvider" class="org.apache.james.mailbox.jpa.mail.JPACachingUidProvider">
<constructor-arg index="0" ref="entityManagerFactory"/>
</bean>

tks
- eric

On 28/01/2011 20:13, Luc Saulière wrote:
Hello,

I'm developing an app using Spring and some James beans.
When I load the MailboxManager bean (and all its dependancies), I got the
following error :

Error creating bean with name 'mailboxmanager' defined in class path
resource [context.xml]: Unsatisfied dependency expressed through constructor
argument with index 2 of type
[org.apache.james.mailbox.store.mail.UidProvider]: Could not convert
constructor argument value of type [java.lang.String] to required type
[org.apache.james.mailbox.store.mail.UidProvider]: Failed to convert value
of type 'java.lang.String' to required type
'org.apache.james.mailbox.store.mail.UidProvider'; nested exception is
java.lang.IllegalStateException: Cannot convert value of type
[java.lang.String] to required type
[org.apache.james.mailbox.store.mail.UidProvider]: no matching editors or
conversion strategy found


The argument #2 of the constructor is expected to be a boolean...


Thx.



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to