I am using this "context/james-mailbox-jcr-context.xml" file from app.
Thanks, Sai On Wed, Jul 13, 2011 at 2:16 PM, Eric Charles <[email protected]>wrote: > Hi, > Do you use the spring files from app or fro mailbox/spring ? > You should normally rely on app ones, the mailbox/spring ones are not > up-to-date. > > Thx. > > > On 13/07/11 18:33, Saibabu Vallurupalli wrote: > >> Hi Eric, >> >> I just did the upgrade part for Mailbox got the files from: >> https://repository.apache.org/**content/groups/snapshots/org/** >> apache/james/<https://repository.apache.org/content/groups/snapshots/org/apache/james/> >> apache-james-mailbox-api-0.4-**20110713.042145-27.jar >> apache-james-mailbox-jcr-0.4-**20110713.042325-27.jar >> apache-james-mailbox-jpa-0.4-**20110713.042245-27.jar >> apache-james-mailbox-maildir-**0.4-20110713.042343-27.jar >> apache-james-mailbox-memory-0.**4-20110713.042223-27.jar >> apache-james-mailbox-store-0.**4-20110713.042202-27.jar >> apache-james-mailbox-tool-0.4-**20110713.042357-27.jar >> >> Also, updated Spring config file except for "james-server-context.xml" >> rest >> all I update from the site you have just sent to me. >> >> After modification I am trying to start Apache James server and it >> crashes. >> The exception in the log file shows like below: >> **************** >> Error creating bean with name 'imapCndLoader' defined in class path >> resource >> [context/james-mailbox-jcr-**context.xml]: Cannot resolve reference to >> bean >> 'jcrRepository' while setting bean property 'arguments' with key [0]; >> nested >> exception is org.springframework.beans.**factory.BeanCreationException: >> Error >> creating bean with name 'jcrRepository' defined in class path resource >> [context/james-mailbox-jcr-**context.xml]: Cannot resolve reference to >> bean >> 'config' while setting constructor argument; nested exception is >> org.springframework.beans.**factory.BeanCreationException: Error creating >> bean >> with name 'config' defined in class path resource >> [context/james-mailbox-jcr-**context.xml]: No matching factory method >> found: >> factory method 'create(InputStream,String)'. Check that a method with the >> specified name and arguments exists and that it is static. >> **************** >> >> Please advise. >> >> Thanks, >> Sai >> >> > > -- > Eric Charles > http://about.echarles.net > > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: > server-dev-unsubscribe@james.**apache.org<[email protected]> > For additional commands, e-mail: > [email protected].**org<[email protected]> > >
