org.sonatype.configuration.validation.InvalidConfigurationException

The procured repository procured-central points to a nonexistent target ID: central

Solutions on the web15

  • via Sonatype JIRA by Peter Lynch, 1 year ago
    The procured repository procured-central points to a nonexistent target ID: central
  • via Sonatype JIRA by Joe Tom, 1 year ago
    Target repository is a group that contains source repository.
  • Configuration is invalid! Validation errors follows: o id - Repository with ID=sbt already exists!
  • Stack trace

    • org.sonatype.configuration.validation.InvalidConfigurationException: The procured repository procured-central points to a nonexistent target ID: central at com.sonatype.nexus.procurement.DefaultProcurementManager.getProcurementRepositoriesForTargetRepository(DefaultProcurementManager.java:226)[nexus-procurement-plugin-2.9.1-02/:na] at com.sonatype.nexus.procurement.ProcurementAutoroutingEventHandler.inspect(ProcurementAutoroutingEventHandler.java:80)[nexus-procurement-plugin-2.9.1-02/:na] at com.sonatype.nexus.procurement.ProcurementAutoroutingEventHandler.on(ProcurementAutoroutingEventHandler.java:64)[nexus-procurement-plugin-2.9.1-02/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_60] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[na:1.7.0_60] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[na:1.7.0_60] at java.lang.reflect.Method.invoke(Unknown Source)[na:1.7.0_60] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventHandler.handleEvent(EventHandler.java:80)[goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.dispatch(EventBus.java:329)[goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.DefaultGuavaEventBus.dispatch(DefaultGuavaEventBus.java:34)[goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.ReentrantGuavaEventBus.dispatchQueuedEvents(ReentrantGuavaEventBus.java:57)[goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.post(EventBus.java:281)[goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.DefaultEventBus.post(DefaultEventBus.java:78)[goodies-eventbus-1.9.jar:1.9] at org.sonatype.nexus.proxy.maven.routing.internal.ManagerImpl.startup(ManagerImpl.java:199)[nexus-core-2.9.1-02.jar:2.9.1-02] at org.sonatype.nexus.proxy.maven.routing.internal.ManagerImpl.onNexusStartedEvent(ManagerImpl.java:994)[nexus-core-2.9.1-02.jar:2.9.1-02] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_60] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[na:1.7.0_60] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[na:1.7.0_60] at java.lang.reflect.Method.invoke(Unknown Source)[na:1.7.0_60] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventHandler.handleEvent(EventHandler.java:80)[goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.guava.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:49)[goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.dispatch(EventBus.java:329)[goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.DefaultGuavaEventBus.dispatch(DefaultGuavaEventBus.java:34)[goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.ReentrantGuavaEventBus.dispatchQueuedEvents(ReentrantGuavaEventBus.java:57)[goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.post(EventBus.java:281)[goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.DefaultEventBus.post(DefaultEventBus.java:78)[goodies-eventbus-1.9.jar:1.9] at org.sonatype.nexus.NxApplication.doStart(NxApplication.java:172)[nexus-core-2.9.1-02.jar:2.9.1-02] at org.sonatype.sisu.goodies.lifecycle.LifecycleSupport$Handler.doStart(LifecycleSupport.java:70)[goodies-lifecycle-1.9.jar:1.9] at org.sonatype.sisu.goodies.lifecycle.LifecycleHandlerContext$MainMap_Starting.started(LifecycleHandlerContext.java:255)[goodies-lifecycle-1.9.jar:1.9] at org.sonatype.sisu.goodies.lifecycle.LifecycleHandlerContext.started(LifecycleHandlerContext.java:57)[goodies-lifecycle-1.9.jar:1.9] at org.sonatype.sisu.goodies.lifecycle.LifecycleSupport.start(LifecycleSupport.java:129)[goodies-lifecycle-1.9.jar:1.9] at org.sonatype.nexus.webapp.WebappBootstrap.contextInitialized(WebappBootstrap.java:168)[classes/:na] at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:775)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:424)[jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:767)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249)[jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1252)[jetty-webapp-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494)[jetty-webapp-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.Server.doStart(Server.java:282)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520] at org.sonatype.nexus.bootstrap.jetty.JettyServer$JettyMainThread.run(JettyServer.java:247)[nexus-bootstrap-2.9.1-02.jar:2.9.1-02] Caused by: org.sonatype.nexus.proxy.NoSuchRepositoryException: Repository with ID="procured-central" not found at org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry.getRepository(DefaultRepositoryRegistry.java:124)[nexus-core-2.9.1-02.jar:2.9.1-02] at com.sonatype.nexus.procurement.DefaultProcurementManager.getProcurementRepositoriesForTargetRepository(DefaultProcurementManager.java:221)[nexus-procurement-plugin-2.9.1-02/:na] ... 47 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.