Cannot start Magnolia with JRebel
---------------------------------
Key: MAGNOLIA-4455
URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-4455
Project: Magnolia
Issue Type: Bug
Security Level: Public
Affects Versions: 4.5.3
Reporter: Tomas Brimor
Magnolia 4.5.3 can no longer be started with JRebel. This worked in 4.4.5.
http://wiki.magnolia-cms.com/display/DEV/Using+JRebel but could not find any
JIRA issue on this. Why is Magnolia trying to instantiate jrebel classes?...
{noformat}
2012-06-25 14:07:37,488 ERROR
.objectfactory.guice.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
com.zeroturnaround.bundled.org.apache.commons.logging.impl.SimpleLog. Classes
must have either one (and only one) constructor annotated with @Inject or a
zero-argument constructor that is not private.
at
com.zeroturnaround.bundled.org.apache.commons.logging.impl.SimpleLog.class(JRebel:78)
at
info.magnolia.objectfactory.guice.GuiceComponentConfigurationModule.bindImplementation(GuiceComponentConfigurationModule.java:157)
1 error
at
com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:435)
at
com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:154)
at
com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:106)
at com.google.inject.Guice.createInjector(Guice.java:95)
at com.google.inject.Guice.createInjector(Guice.java:83)
at
info.magnolia.objectfactory.guice.GuiceComponentProviderBuilder.build(GuiceComponentProviderBuilder.java:137)
at
info.magnolia.objectfactory.guice.GuiceComponentProviderBuilder.build(GuiceComponentProviderBuilder.java:147)
at
info.magnolia.cms.beans.config.ConfigLoader.load(ConfigLoader.java:147)
at
info.magnolia.init.MagnoliaServletContextListener$1.doExec(MagnoliaServletContextListener.java:246)
at info.magnolia.context.MgnlContext$VoidOp.exec(MgnlContext.java:443)
at info.magnolia.context.MgnlContext$VoidOp.exec(MgnlContext.java:440)
at
info.magnolia.context.MgnlContext.doInSystemContext(MgnlContext.java:403)
at
info.magnolia.init.MagnoliaServletContextListener.startServer(MagnoliaServletContextListener.java:243)
at
info.magnolia.init.MagnoliaServletContextListener.contextInitialized(MagnoliaServletContextListener.java:169)
at
info.magnolia.init.MagnoliaServletContextListener.contextInitialized(MagnoliaServletContextListener.java:126)
at
org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:730)
at
org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:233)
at
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1214)
at
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:673)
at
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:455)
at
org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:248)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at
org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:224)
at
org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:167)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at
org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:224)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at
org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)
at org.eclipse.jetty.server.Server.doStart(Server.java:261)
at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at
org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:511)
at
org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:364)
at org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:514)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
at org.codehaus.classworlds.Launcher.main(Launcher.java:47)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
{noformat}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
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: <[email protected]>
----------------------------------------------------------------