Error loading CSS, cannot find "theme.css"

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
Deibidson
Posts: 4
Joined: 27 Jun 2016, 14:59

11 Jun 2021, 18:40

I decided to purchase a theme and I'm having trouble adding it to the project.

I've always used free themes and it's very easy to use, just add the dependency to pom.xml and insert the parameter in primefaces.THEME in web.xml.


When creating a new project I add the jar manhattan-4.0.0.jar as a local dependency and I get the following error.

javax.servlet.ServletException: Error loading CSS, cannot find "theme.css" resource of "primefaces-manhattan-blue-grey" library

javax.faces.FacesException: Error loading CSS, cannot find "theme.css" resource of "primefaces-manhattan-blue-grey" library

help :oops:

siris
Posts: 322
Joined: 29 Jul 2019, 13:57

11 Jun 2021, 20:21

Hi,

Please unzip .jar file and check theme.css file. Is it there or not?

Deibidson
Posts: 4
Joined: 27 Jun 2016, 14:59

12 Jun 2021, 00:27

yes I can see the theme.css file in resources\primefaces-manhattan-blue-grey\theme.css.

I still can't use manhattan-theme-4.0.0.jar

I got success only using the .zip files and still the sidebars don't work

siris
Posts: 322
Joined: 29 Jul 2019, 13:57

14 Jun 2021, 11:30

Hi,

Could you please write what you did step by step, obviously you made a mistake somewhere. For example, did you add the jar to the pom.xml file correctly?

Best Regards,

Post Reply

Return to “Manhattan - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest