legacy-knowledge-base
公開されました Jul. 2, 2025

既存のリポジトリの Sharepoint OAuth 構成が欠落している場合、「外部リポジトリ クラスをロードできません」

written-by

Katlyn Lee

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • Documents and Media のリポジトリの Sharepoint 構成 (システム設定で構成) が見つからないか破損している場合、Documents and Media にアクセスするたびに次のエラーがスローされ、リポジトリを編集または削除できません。

    2021-05-21 13:41:13.419 ERROR [ajp-nio-10.135.17.11-8009-exec-4]
    [IncludeTag:128] Current URL /group/guest/homewidget generates
    exception: com.liferay.portal.kernel.repository.UndeployedExternal
    RepositoryException: Unable to load external repository class
    com.liferay.sharepoint.rest.repository.internal.document.library.
    repository.external.SharepointExtRepositoryTestRepo because its plugin
    is not deployed​

Environment

  • Liferay DXP

解決策

  • このエラーを解決するには、次の回避策 使用します。

    1. エラー ログでリポジトリの名前を特定します。
      Unable to load external repository class 
      com.liferay.sharepoint.rest.repository.internal.document.library.
      repository.external.SharepointExtRepositoryTestRepo because its plugin
      is not deployed​
    2. System Settings > Documents and Media > Sharepoint OAuth2 に移動し、同じ名前で新しい有効な Sharepoint 構成を作成します。 エラーで参照されているリポジトリの名前 (この場合は TestRepo) だけで、既存の構成と同じ値を持つことができます。
    3. Documents and Media に戻り、リポジトリの 3 つのドット アイコンが返されることを確認します。
    4. 3 つのドットのアイコンをクリックして、リポジトリを削除します。
    5. 戻って、Sharepoint 構成を削除します。
did-this-article-resolve-your-issue

legacy-knowledge-base