Discussion:
Magnolia failed to load module configuration.
Shalini Gupta (via Magnolia Forums)
2013-02-22 10:35:10 UTC
Permalink
Hi... I am getting the following error while integrating my second Blossom module in the Spring application:

15:57:48.226 [main] ERROR i.m.o.g.GuiceComponentProviderBuilder - Magnolia failed to load module configuration. Please ensure you
don't have any legacy modules present in your web application.
com.google.inject.CreationException: Guice creation errors:

1) Could not find a suitable constructor in info.magnolia.init.DefaultMagnoliaConfigurationProperties. Classes must have either on
e (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
at info.magnolia.init.DefaultMagnoliaConfigurationProperties.class(DefaultMagnoliaConfigurationProperties.java:74)
at info.magnolia.objectfactory.guice.GuiceComponentConfigurationModule.bindImplementation(GuiceComponentConfigurationModule.java
:157)

2) Could not find a suitable constructor in info.magnolia.init.DefaultMagnoliaInitPaths. Classes must have either one (and only on
e) constructor annotated with @Inject or a zero-argument constructor that is not private.
at info.magnolia.init.DefaultMagnoliaInitPaths.class(DefaultMagnoliaInitPaths.java:54)
at info.magnolia.objectfactory.guice.GuiceComponentConfigurationModule.bindImplementation(GuiceComponentConfigurationModule.java
:157)

3) Could not find a suitable constructor in info.magnolia.init.DefaultMagnoliaPropertiesResolver. Classes must have either one (an
d only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
at info.magnolia.init.DefaultMagnoliaPropertiesResolver.class(DefaultMagnoliaPropertiesResolver.java:96)
at info.magnolia.objectfactory.guice.GuiceComponentConfigurationModule.bindImplementation(GuiceComponentConfigurationModule.java
:157)

4) Could not find a suitable constructor in info.magnolia.module.InstallContextImpl. Classes must have either one (and only one) c
onstructor annotated with @Inject or a zero-argument constructor that is not private.
at info.magnolia.module.InstallContextImpl.class(InstallContextImpl.java:61)
at info.magnolia.objectfactory.guice.GuiceComponentConfigurationModule.bindImplementation(GuiceComponentConfigurationModule.java
:155)

5) Please annotate with @ScopeAnnotation.
at info.magnolia.objectfactory.annotation.LazySingleton.class(LazySingleton.java:1)
at info.magnolia.objectfactory.guice.GuiceContextAndScopesConfigurer.configure(GuiceContextAndScopesConfigurer.java:107)

6) Please annotate with @ScopeAnnotation.
at info.magnolia.objectfactory.annotation.LocalScoped.class(LocalScoped.java:1)
at info.magnolia.objectfactory.guice.GuiceContextAndScopesConfigurer.configure(GuiceContextAndScopesConfigurer.java:105)

7) Please annotate with @ScopeAnnotation.
at info.magnolia.objectfactory.annotation.SessionScoped.class(SessionScoped.java:1)
at info.magnolia.objectfactory.guice.GuiceContextAndScopesConfigurer.configure(GuiceContextAndScopesConfigurer.java:106)
..................................

Does anyone have any idea in this regard? Thanks.
--
Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=0a412a36-a68f-4530-bbd9-db9e3d74c680


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-***@magnolia-cms.com>
----------------------------------------------------------------
Darshan Shah (via Magnolia Forums)
2013-03-15 12:31:56 UTC
Permalink
Shalini, You can contact me if you need external support. Thanks, Darshan Shah (***@gmail.com)
--
Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=0a412a36-a68f-4530-bbd9-db9e3d74c680


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-***@magnolia-cms.com>
----------------------------------------------------------------
Loading...