The ResourceConfig instance doesn't contain any root resource classes error in logs
症状
The following appears repeatedly in the atlassian-jira.log
:
2013-03-13 16:48:39,719 http-bio-8080-exec-2 ERROR matheus 1008x362x1 rb7xtz 0:0:0:0:0:0:0:1 /rest/stp/1.0/license/status [server.impl.application.RootResourceUriRules] The ResourceConfig instance does not contain any root resource classes.
com.atlassian.util.concurrent.LazyReference$InitializationException: com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.
at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:152)
at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:115)
at com.atlassian.plugin.servlet.DefaultServletModuleManager.getFilter(DefaultServletModuleManager.java:389)
at com.atlassian.plugin.servlet.DefaultServletModuleManager.getFilters(DefaultServletModuleManager.java:213)
...
Caused by: com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.
at com.sun.jersey.server.impl.application.RootResourceUriRules.<init>(RootResourceUriRules.java:99)
at com.sun.jersey.server.impl.application.WebApplicationImpl._initiate(WebApplicationImpl.java:1298)
at com.sun.jersey.server.impl.application.WebApplicationImpl.access$700(WebApplicationImpl.java:169)
at com.sun.jersey.server.impl.application.WebApplicationImpl$13.f(WebApplicationImpl.java:775)
原因
This problem happens due to a bug in version 3.0.25 of the Support Tools Plugin (JRA-32094/STP-233).
This version of the plugin has already been pulled from release
ソリューション
Update the Support Tools Plugin to a newer version:
- Navigate to the Manage Add-ons page;
- Click 'Upload Add-on' link;
Paste the following link:
https://marketplace.atlassian.com/download/plugins/com.atlassian.support.stp/version/30543
And hit Upload.
Alternatively, uninstall the plugin from the Manage Add-ons page directly, and if that is not possible, please:
- Shutdown JIRA applications;
- Remove the *.stp-3.0.25.jar from the
$JIRA-Home/plugins/installed-plugins.
The full filename will be something like: plugin.1481569806231700576.stp-3.0.25.jar - Restart JIRA applications.
This will not remove the Support Tools functionality. This will simply cause JIRA applications to revert back to the default bundled version of the plugin.
最終更新日 2018 年 11 月 2 日
Powered by Confluence and Scroll Viewport.