当安装好最新版jira dc后,界面上配置好数据库后,访问Jira报下面错误,请问大家有什么修复建议吗?
http://xxxxxx/secure/SetupDatabase!default.jspa will return an error:
********************************************************************************************************************************************************************************************************
___ FAILED PLUGIN REPORT _____________________
1 plugin failed to load during Jira startup.
'com.atlassian.jira.migration.jira-migration-plugin' - 'Jira Cloud Migration Assistant' failed to load.
Error creating bean with name 'planExecutionService' defined in URL [bundle://92d9a414-561f-44be-9b97-672b68ce142b_93.0:1/com/atlassian/jira/migration/execution/PlanExecutionService.class]: Unsatisfied dependency expressed through constructor parameter 5; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'preflightService' defined in URL [bundle://92d9a414-561f-44be-9b97-672b68ce142b_93.0:1/com/atlassian/jira/migration/preflight/PreflightService.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'asyncCheckExecutor' defined in URL [bundle://92d9a414-561f-44be-9b97-672b68ce142b_93.0:1/com/atlassian/jira/migration/preflight/AsyncCheckExecutor.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'preflightCheckLookup' defined in URL [bundle://92d9a414-561f-44be-9b97-672b68ce142b_93.0:1/com/atlassian/jira/migration/preflight/PreflightCheckLookup.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'advancedRoadmapsOutdatedCheck' defined in URL [bundle://92d9a414-561f-44be-9b97-672b68ce142b_93.0:1/com/atlassian/jira/migration/preflight/AdvancedRoadmapsOutdatedCheck.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.jira.migration.preflight.AdvancedRoadmapsOutdatedCheck]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException
Error creating bean with name 'preflightService' defined in URL [bundle://92d9a414-561f-44be-9b97-672b68ce142b_93.0:1/com/atlassian/jira/migration/preflight/PreflightService.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'asyncCheckExecutor' defined in URL [bundle://92d9a414-561f-44be-9b97-672b68ce142b_93.0:1/com/atlassian/jira/migration/preflight/AsyncCheckExecutor.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'preflightCheckLookup' defined in URL [bundle://92d9a414-561f-44be-9b97-672b68ce142b_93.0:1/com/atlassian/jira/migration/preflight/PreflightCheckLookup.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'advancedRoadmapsOutdatedCheck' defined in URL [bundle://92d9a414-561f-44be-9b97-672b68ce142b_93.0:1/com/atlassian/jira/migration/preflight/AdvancedRoadmapsOutdatedCheck.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.jira.migration.preflight.AdvancedRoadmapsOutdatedCheck]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException
Error creating bean with name 'asyncCheckExecutor' defined in URL [bundle://92d9a414-561f-44be-9b97-672b68ce142b_93.0:1/com/atlassian/jira/migration/preflight/AsyncCheckExecutor.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'preflightCheckLookup' defined in URL [bundle://92d9a414-561f-44be-9b97-672b68ce142b_93.0:1/com/atlassian/jira/migration/preflight/PreflightCheckLookup.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'advancedRoadmapsOutdatedCheck' defined in URL [bundle://92d9a414-561f-44be-9b97-672b68ce142b_93.0:1/com/atlassian/jira/migration/preflight/AdvancedRoadmapsOutdatedCheck.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.jira.migration.preflight.AdvancedRoadmapsOutdatedCheck]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException
Error creating bean with name 'preflightCheckLookup' defined in URL [bundle://92d9a414-561f-44be-9b97-672b68ce142b_93.0:1/com/atlassian/jira/migration/preflight/PreflightCheckLookup.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'advancedRoadmapsOutdatedCheck' defined in URL [bundle://92d9a414-561f-44be-9b97-672b68ce142b_93.0:1/com/atlassian/jira/migration/preflight/AdvancedRoadmapsOutdatedCheck.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.jira.migration.preflight.AdvancedRoadmapsOutdatedCheck]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException
Error creating bean with name 'advancedRoadmapsOutdatedCheck' defined in URL [bundle://92d9a414-561f-44be-9b97-672b68ce142b_93.0:1/com/atlassian/jira/migration/preflight/AdvancedRoadmapsOutdatedCheck.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.jira.migration.preflight.AdvancedRoadmapsOutdatedCheck]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException
Failed to instantiate [com.atlassian.jira.migration.preflight.AdvancedRoadmapsOutdatedCheck]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException
null
null
It was loaded from /Users/yangyong/Atlassian/atlassian-jira-software-9.7.0-standalone/atlassian-jira/WEB-INF/atlassian-bundled-plugins/jira-migration-plugin-1.7.4-629ca9440.jar
********************************************************************************************************************************************************************************************************
2023-04-22 02:19:35,202+0800 JIRA-Bootstrap INFO [c.a.jira.startup.LauncherContextListener] Startup is complete. Jira is ready to serve.
2023-04-22 02:19:35,205+0800 JIRA-Bootstrap INFO [c.a.jira.startup.LauncherContextListener] Memory Usage:
看起来是advancedRoadmapsOutdatedCheck的构造函数抛出了IllegalArgumentException异常,以至于JCMA插件的依赖无法满足,从而造成其无法启动而报错。
可以做两个尝试:
Hi @Kenny Jin
备注:我看了下正常使用的jira实例中,pluginstate 表有3条记录。
不知道是否有其他建议?谢谢~
正常实例中是不是有一条下面这个?
com.atlassian.jira.migration.jira-migration-plugin
没有,截图如下。
我目前场景是:同一个mac系统里面,安装了一个8.x jira dc(正常)。同时,想安装另外一个9.7 jira dc,安装文件在不同的目录,都是 mysql 数据库(DB名字不同),发现 9.7 jira dc 数据库都生产了数据表,到最后展示jira首页时报上面错误。当我stop service,重启 8.x service 时,发现其数据库中相关 Agile Board 表都需要重建索引(我自己已搞定,不是该问题的点,只是说明下,但是我不知道为什么会出现这个情况,不同数据库,还会相互影响,并不是我想象的那样独立)
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.