legacy-knowledge-base
公開されました Jun. 30, 2025

タイトルにアクセント記号や特殊文字が含まれるフラグメントは、エクスポートに失敗します。

written-by

Jamilly Macedo

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

問題

  • アクセント記号や特殊文字を含む名前のフラグメントをエクスポートしようとすると、空白のページが表示され、ログに以下のエラーが表示されます:
ERROR [http-nio2-8080-exec-44][PortletServlet:118] Unable to process portlet com_liferay_fragment_web_portlet_FragmentPortlet: javax.portlet.PortletException: java.lang.reflect.InaccessibleObjectException: Unable to make field java.util.LinkedHashMap jdk.nio.zipfs.ZipFileSystem.inodes accessible: module jdk.zipfs does not "opens jdk.nio.zipfs" to unnamed module @7383eae2
javax.portlet.PortletException: javax.portlet.PortletException: java.lang.reflect.InaccessibleObjectException: Unable to make field java.util.LinkedHashMap jdk.nio.zipfs.ZipFileSystem.inodes accessible: module jdk.zipfs does not "opens jdk.nio.zipfs" to unnamed module @7383eae2

Environment

  • Liferay LXC-SM
  • Liferay LXC

解決策

  • この問題を解決するには、Liferay サービスの LIFERAY_JVM_OPTS に以下のパラメーターを追加します: --add-opens=jdk.zipfs/jdk.nio.zipfs=ALL-UNNAMED.
  • デフォルトでは、すべてのliferayバンドルとdockerイメージは、前述のパラメータを含む状態で実行され、LXC-SMとLXCで実行されるLiferayでのみ欠落しています。
  • LCP.jsonに追加するか、環境変数として追加することができます。 このパラメータを追加すると、この問題は解決され、タイトルにアクセント文字や特殊文字が含まれるフラグメントは、エラーなくエクスポートされるようになります。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base