Legacy Knowledge Base
公開されました Jul. 2, 2025

Liferay Document Libraryで画像ファイルの読み込みに失敗する。

Written By

Kenny Back

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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

  • コンソールログで、未確認の画像に対して以下のようなエラーが発生しています:
ERROR [https-jsse-nio-443-exec-7][ImageImpl:69] Error reading image 54130
com.liferay.document.library.kernel.exception.NoSuchFileException:
{companyId=0, repositoryId=0, fileName=54130.gif, cause=java.io.FileNotFoundException:
C:\Liferay7.2\liferay-dxp-tomcat-7.3.10-ga1\liferay-dxp-7.3.10-ga1\data\document_library\0\0\54130.gif\1.0
(The system cannot find the path specified)}

Environment

  • DXP 7.0
  • DXP 7.1
  • DXP 7.2
  • DXP 7.3
  • DXP 7.4

解決策

  • [Tomcat_Home]㊤data library ㊦ フォルダにある既存のロゴ画像ファイルをコピーして、見つからないと主張するファイル名と同じにリネームします。 例) 12345.gif

追加情報

  • ファイルパスとファイル名から、システムは本質的に、もはや存在しないデフォルトのLiferayイメージファイルを探しています。 これは、アップグレードの結果、古いバージョンのサイトの記憶が残っているために起こることがあります。
  • これは大きな問題ではないので、無視しても大丈夫ですが、もちろん、バンドルにエラーが出ないことを望むのであれば、上記の解決方法をお勧めします。
Did this article resolve your issue ?

Legacy Knowledge Base