The ResourceConfig instance does not contain any root resource classes Error in Logs

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

atlassian-confluence.log に次のメッセージが表示される。

2013-03-13 16:48:39,719 http-bio-8080-exec-2 ERROR test 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 (STP-233).

回避策

For Confluence:
  1. Make a backup of the database.
  2. Run the following query in the Confluence Database:

     select plugindataid, pluginkey, filename, lastmoddate from PLUGINDATA where filename like '%stp%';
  3. Make sure that the query returns only 1 row. Identify the PLUGINDATAID and run the following query to remove the row:

    delete from PLUGINDATA where PLUGINDATAID = <PLUGINID>;

    Replace <PLUGINID> with the PLUGINDATAID from the first query

  4. Confluence を停止します。
  5. Remove the following folders from the Confluence Home Directory:
    • bundled-plugins
    • plugins-cache
    • plugins-osgi-cache
    • plugins-temp 
  6. Confluence を起動します。
Last modified on Mar 30, 2016

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.