JIRA v4:小工具仪表板捆绑插件不可用。怎么修?

JIRA v4 : The Gadget Dashboard bundled plugin is not available. How to fix?

不得不停止并重新启动 Tomcat,其中包括 JIRA 的旧安装(v4,我知道它很旧)。重新启动后我得到

The Gadget Dashboard bundled plugin is not available. 
Please contact an administrator to ensure the Gadget Dashboard plugin is enabled!

当我进入 JIRA 的管理页面,然后向下滚动到我找到的插件 插件当前禁用 针对小工具仪表板插件。我点击启用插件,然后在 atlassian-jira.log 中我得到

016-04-10 11:02:41,324 ajp-bio-127.0.0.1-8009-exec-33 WARN billy 39701x396x2 osxx3k /secure/admin/jira/ViewPlugins.jspa [atlassian.jira.plugin.JiraPluginManager] Disable Plugin Without Persisting after Plugin System Started
java.lang.RuntimeException
        at com.atlassian.jira.plugin.JiraPluginManager.disablePluginWithoutPersisting(JiraPluginManager.java:103)
        at com.atlassian.plugin.manager.PluginEnabler.enable(PluginEnabler.java:124)
        at com.atlassian.plugin.manager.PluginEnabler.enableRecursively(PluginEnabler.java:48)
        at com.atlassian.plugin.manager.DefaultPluginManager.enablePlugin(DefaultPluginManager.java:920)
        at com.atlassian.jira.plugin.JiraPluginManager.enablePlugin(JiraPluginManager.java:56)
        at com.atlassian.jira.web.action.admin.ViewPlugins.doExecute(ViewPlugins.java:83)
        at webwork.action.ActionSupport.execute(ActionSupport.java:153)
        at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:59)

有没有人首先知道问题出在哪里(为什么现在被禁用),以及为什么启用不起作用?这个例外在有用的信息方面还有很多不足之处。

唯一要补充的是,我在该插件的管理员中看到

(dashboard-rest-endpoints)
Provides REST endpoints for manipulating dashboards.
Error occurred: Support for this module is not currently installed.

但不知道这是否是 "problem" 并阻止启用整个插件。如果是这样,我该如何解决?

事实证明,当您尝试使用 Java 8 运行 JIRA v4 时,您可以得到这个,它已在正在使用的服务器上单独升级。回到 Java 7 为我修复了它。