Problem
After install or update, Xporter is disabled on Jira 8.16.
Symptom
The following stack trace is found in the Jira log:
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'xporterCloudMigrationAccessor' defined in URL [bundle://260.0:0/META-INF/spring/atlassian-plugins-components.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: 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 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:600) ... Caused by: org.springframework.beans.factory.BeanCreationException: 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 at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:304) ... Caused by: 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 at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:187) ... Caused by: java.lang.NoClassDefFoundError: com/atlassian/migration/app/BaseAppCloudMigrationListener at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:941) ... Caused by: java.lang.ClassNotFoundException: com.atlassian.migration.app.BaseAppCloudMigrationListener not found by com.atlassian.jira.migration.jira-migration-plugin [93] at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1639) ...
Solution
This happens because the Jira Cloud Migration Assistant app needs to be updated.
- Please update the app, select All apps and search for Jira Cloud Migration Assistant,
- Click on update request and wait for the request to be accepted,
- While the request is not accepted, you can disable the Jira Cloud Migration Assistant app and activate Xporter
Xporter is compatible with Jira Cloud Migration Assistant 1.5.1