I've been starting trying out noir, though I am now having an annoying problem:

I have a background image stored at project-folder/resources/public/img/bg.png. And my css file references it as '/img/bg.png'.

Though, the browser seems unable to load this image.

Does anyone have any idea of what might be going wrong?

有帮助吗?

解决方案 2

The img file was corrupted. I was already able to load it on the browser.

其他提示

In case anyone else has this problem: another common cause is not having the resources folder on the classpath.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top