Page 1 of 1

images not load. RES_NOT_FOUND

Posted: 20 Oct 2017, 21:45
by interconectados
Hi everyone. I have this problem, for one reason can't load my images or css from folder resources.

For example:

Code: Select all

 <p:graphicImage name="images/login/login-logo.png" library="poseidon-layout" />

Code: Select all

<h:outputStylesheet name="css/layout-blue.css" library="poseidon-blue" />
In Eclipse console shows this: ADVERTENCIA: JSF1064: no se encuentra o sirve el recurso, images/login/login-logo.png, desde la biblioteca, poseidon-layout. The same to CSS.

Send screenshot. Please, help me.
https://drive.google.com/file/d/0B128oY ... 1OSmc/view

Re: images not load. RES_NOT_FOUND

Posted: 23 Oct 2017, 13:17
by aragorn
Did you try our sample project?

for theme.css issue, please try SASS command in the doc.xhtml. https://www.primefaces.org/poseidon/docs.xhtml

Code: Select all

sass -w src/main/webapp/resources/ --sourcemap=none
<p:graphicImage name="images/login/login-logo.png" library="poseidon-layout" />
- I couldn't replicate this issue. Maybe, these links can help to you;
https://www.dropbox.com/s/2p74g63wldbov ... t.mp4?dl=0
https://www.dropbox.com/s/s9cle2xqbwbu8 ... t.mp4?dl=0