Cannot enable "Bob Swift Atlassian Add-ons - Clone Plus for Jira" with "Error creating bean with name 'AppMigrationComponet' defined in URL"
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
Bob Swift Atlassian Add-ons - Clone Plus for Jira app version 6.9.0 or higher fails to enable when an older version of Jira Cloud Migration Assistant App is enabled
Environment
- Jira 8.20.2
- Bob Swift Atlassian Add-ons - Clone Plus for Jira version 6.9.0 or newer
Diagnosis
The Jira application log atlassian-jira.log shows the following error:
'org.swift.jira.clone-plus' - 'Bob Swift Atlassian Add-ons - Clone Plus for Jira' failed to load.
Error creating bean with name 'AppMigrationComponet' defined in URL [bundle://233.0:0/META-INF/spring/atlassian-plugins-components.xml]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'AppCloudMigrationAccessor' defined in URL [bundle://233.0:0/META-INF/spring/atlassian-plugins-components.xml]: Initialization of bean failed; nested exception is java.lang.RuntimeException: Failed to initialise CloudMigrationAccessor
Error creating bean with name 'AppCloudMigrationAccessor' defined in URL [bundle://233.0:0/META-INF/spring/atlassian-plugins-components.xml]: Initialization of bean failed; nested exception is java.lang.RuntimeException: Failed to initialise CloudMigrationAccessor
Failed to initialise CloudMigrationAccessor
Error creating bean with name 'com.atlassian.migration.app.tracker.CloudMigrationAccessor': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.migration.app.tracker.CloudMigrationAccessor]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/atlassian/migration/app/BaseAppCloudMigrationListener
Failed to instantiate [com.atlassian.migration.app.tracker.CloudMigrationAccessor]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/atlassian/migration/app/BaseAppCloudMigrationListener
com/atlassian/migration/app/BaseAppCloudMigrationListener
com.atlassian.migration.app.BaseAppCloudMigrationListener not found by com.atlassian.jira.migration.jira-migration-plugin [95]
It was loaded from /mnt/nfs/jira/plugins/installed-plugins/plugin.2011232548926694181.bobswift-clone-plus-6.9.0.jar
Cause
Bob Swift Atlassian Add-ons - Clone Plus relies on modules of Jira Cloud Migration Assistant (JCMA) App which is not available in older versions of the JCMA App
Solution
1- Visit Jira Admin → Manage Apps
2- Change the drop down from "User-installed" to "All Apps"
3- Find Jira Cloud Migration Assistant App
4- Upgrade it to version 1.6.5 or higher, or, alternatively, disable it.
5- Once JCMA is upgraded or disabled, try to enable "Bob Swift Atlassian Add-ons - Clone Plus for Jira"