org.sonatype.nexus.plugin.migration.artifactory.MigrationException

Error creating shadow repo: java.net.m1-releases

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web3

  • via Unknown by Unknown author,
  • via Unknown by Kristine O'Connor,
  • via Unknown by Kristine O'Connor,
  • Stack trace

    • org.sonatype.nexus.plugin.migration.artifactory.MigrationException: Error creating shadow repo: java.net.m1-releases at org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.createShadowRepo(DefaultArtifactoryMigrator.java:711) at org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.addVirtualRepository(DefaultArtifactoryMigrator.java:673) at org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.importGroups(DefaultArtifactoryMigrator.java:601) at org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.migrate(DefaultArtifactoryMigrator.java:216) at org.sonatype.nexus.plugin.migration.artifactory.task.ArtifactoryMigrationTask.doRun(ArtifactoryMigrationTask.java:27) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.sonatype.nexus.configuration.validator.InvalidConfigurationException: Configuration is invalid! Validation errors follows: o id - Virtual Repository ID 'java.net.m1-releases-virtual' conflicts with an existing Virtual Repository ID at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.validateRepositoryShadow(DefaultNexusConfiguration.java:972) at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.createRepositoryShadow(DefaultNexusConfiguration.java:985) at org.sonatype.nexus.DefaultNexus.createRepositoryShadow(DefaultNexus.java:568) at org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.createShadowRepo(DefaultArtifactoryMigrator.java:707) ... 13 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

    We couldn't find other users who have seen this exception.