java.lang.IllegalStateException: Could not initialize Nexus.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

try new webdriver if you have this error with firefox while uploading files

Solutions on the web

via Sonatype JIRA by Deleted User, 1 year ago
Could not initialize Nexus.
via Sonatype JIRA by Kristine O'Connor, 1 year ago
Could not initialize Nexus.
via Sonatype JIRA by Deleted User, 1 year ago
Could not initialize Nexus.
via Sonatype JIRA by Kristine O'Connor, 1 year ago
Could not initialize Nexus.
via Sonatype JIRA by Juven Xu, 1 year ago
Could not initialize Nexus.
via Sonatype JIRA by Juven Xu, 1 year ago
Could not initialize Nexus.
java.io.FileNotFoundException: J:\Products\Maven\nexus_workingdir\conf\nexus.xml (The system cannot find the path specified)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(Unknown Source)
at java.io.FileOutputStream.(Unknown Source)
at org.sonatype.nexus.configuration.application.source.FileConfigurationSource.saveConfiguration(FileConfigurationSource.java:296)
at org.sonatype.nexus.configuration.application.source.FileConfigurationSource.loadConfiguration(FileConfigurationSource.java:148)
at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.loadConfiguration(DefaultNexusConfiguration.java:172)
at org.sonatype.nexus.DefaultNexus.start(DefaultNexus.java:1449)
at org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:33)
at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:97)
at org.codehaus.plexus.component.builder.XBeanComponentBuilder.startComponentLifecycle(XBeanComponentBuilder.java:219)
at org.codehaus.plexus.component.builder.XBeanComponentBuilder.build(XBeanComponentBuilder.java:97)
at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:135)
at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:96)
at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147)
at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:69)
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:432)
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:426)
at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:543)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:513)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
at org.sonatype.plexus.jetty.DefaultServletContainer.start(DefaultServletContainer.java:250)
at org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:33)
at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:97)
at org.codehaus.plexus.component.builder.XBeanComponentBuilder.startComponentLifecycle(XBeanComponentBuilder.java:219)
at org.codehaus.plexus.component.builder.XBeanComponentBuilder.build(XBeanComponentBuilder.java:97)
at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:135)
at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:96)
at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147)
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:486)
at org.codehaus.plexus.container.initialization.StartLoadOnStartComponentsPhase.execute(StartLoadOnStartComponentsPhase.java:69)
at org.codehaus.plexus.DefaultPlexusContainer.initializePhases(DefaultPlexusContainer.java:851)
at org.codehaus.plexus.DefaultPlexusContainer.initialize(DefaultPlexusContainer.java:815)
at org.codehaus.plexus.DefaultPlexusContainer.construct(DefaultPlexusContainer.java:407)
at org.codehaus.plexus.DefaultPlexusContainer.(DefaultPlexusContainer.java:198)
at org.sonatype.appbooter.PlexusContainerHost.startContainer(PlexusContainerHost.java:221)
at org.sonatype.appbooter.jsw.PlexusJSWListener.start(PlexusJSWListener.java:101)

Users with the same issue

95 times, 1 month ago
2 times, 2 months ago
2 times, 3 months ago
6 times, 3 months ago
2 times, 3 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.