掲示板

Theme "can't find its own files"

7年前 に Ra Jo Ga Cha によって更新されました。

Theme "can't find its own files"

Junior Member 投稿: 77 参加年月日: 17/01/19 最新の投稿
I'm getting these errors:

10:17:20,171 WARN [http-nio-8080-exec-6][code_jsp:181] {code="404", msg="/my-theme/js/jquery-1.9.0.min.js", uri=/my-theme/js/jquery-1.9.0.min.js}
10:17:20,397 WARN [http-nio-8080-exec-4][code_jsp:181] {code="404", msg="/my-theme/js/slider.js", uri=/my-theme/js/slider.js}

In addition of other similar ones for icons, etc. This feels weird because this files are actually there.
thumbnail
7年前 に Olaf Kock によって更新されました。

RE: Theme "can't find its own files" (回答)

Liferay Legend 投稿: 6403 参加年月日: 08/09/23 最新の投稿
Ra Jo Ga Cha:
I'm getting these errors:

10:17:20,171 WARN [http-nio-8080-exec-6][code_jsp:181] {code="404", msg="/my-theme/js/jquery-1.9.0.min.js", uri=/my-theme/js/jquery-1.9.0.min.js}
10:17:20,397 WARN [http-nio-8080-exec-4][code_jsp:181] {code="404", msg="/my-theme/js/slider.js", uri=/my-theme/js/slider.js}

In addition of other similar ones for icons, etc. This feels weird because this files are actually there.


Are they actually there? If you look for what's available under /my-theme/..., you'll find nothing, because a theme is no longer deployed to the appserver, rather within Liferay's OSGi container and available under /o/my-theme/... in Liferay 7. How are you building the URLs?
7年前 に Ra Jo Ga Cha によって更新されました。

RE: Theme "can't find its own files"

Junior Member 投稿: 77 参加年月日: 17/01/19 最新の投稿
That was it! "/o/" folder "exists" physically as a folder somewhere in the drive or it's just "virtualized" in the RAM?