It could be that you put springs ContextLoaderListener before magnolias context listener. Make sure your web.xml looks something like this:
<listener> <listener-class>info.magnolia.cms.servlets.MgnlServletContextListener</listener-class> </listener> <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener> <servlet> <servlet-name>blossom</servlet-name> <servlet-class>se.issi.magnolia.module.blossom.render.BlossomDispatcherServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> The documentation might be inadequate on this point. Let me know if this works and I'll update the wiki page =) On Fri, May 21, 2010 at 12:00 PM, Christian <[email protected]> wrote: > > Hi, > I tried blossom module with magnolia 4.3.1 and spring-mvc 3.0, but i > receive the following stacktrace errors after configuration: > > [...] > org.springframework.beans.factory.BeanCreationException: Error > creating bean with name 'blossomConfiguration': Invocation of init > method failed; nested exception is > org.springframework.beans.factory.BeanCreationException: Error > creating bean with name > > 'se.issi.magnolia.module.blossom.paragraph.DefaultBlossomParagraphRegistry': > Invocation of init method failed; nested exception is > info.magnolia.objectfactory.MgnlInstantiationException: No concrete > implementation defined for interface > info.magnolia.context.SystemContext > [...] > Caused by: org.springframework.beans.factory.BeanCreationException: > Error creating bean with name > > 'se.issi.magnolia.module.blossom.paragraph.DefaultBlossomParagraphRegistry': > Invocation of init method failed; nested exception is > info.magnolia.objectfactory.MgnlInstantiationException: No concrete > implementation defined for interface > info.magnolia.context.SystemContext > [...] > Caused by: info.magnolia.objectfactory.MgnlInstantiationException: No > concrete implementation defined for interface > info.magnolia.context.SystemContext > [...] > org.springframework.beans.factory.BeanCreationException: Error > creating bean with name 'blossomConfiguration': Invocation of init > method failed; nested exception is > org.springframework.beans.factory.BeanCreationException: Error > creating bean with name > > 'se.issi.magnolia.module.blossom.paragraph.DefaultBlossomParagraphRegistry': > Invocation of init method failed; nested exception is > info.magnolia.objectfactory.MgnlInstantiationException: No concrete > implementation defined for interface > info.magnolia.context.SystemContext > [...] > > In other words it seems that blossom beans cannot instantiate... or i > miss some dependencies! :) > > Can someone help me, please? > > Thanks. > Christian > > On 19 May 2010 19:06, Tobias Mattsson <[email protected]> wrote: > > The documentation is now completed. > > http://wiki.magnolia-cms.com/display/WIKI/Magnolia+Blossom > > Maven users will be pleased to hear that the new release is available in > > magnolias maven repository. > > // The Blossom Team > > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- > > ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
