cannot find "theme.css" resource of "primefaces-harmony-rebirth" library

Post Reply
senleft
Posts: 1
Joined: 26 Jul 2016, 22:00

11 Jul 2018, 17:06

Hello,

I trying to run the provided harmony-1.0.2 sample project on the IBM liberty 17.0.0.1. The Liberty JSF implementation is based on the MyFaces open source implementation.
So I removed the org.glassfish:javax.faces:2.2.8 dependency to exclude extra JSF implementation.
Application deployed successfully.
When I try to open it in browser the below error occurred:

Code: Select all

Exception thrown by application class 'javax.faces.webapp.FacesServlet.service:214'
javax.servlet.ServletException: Error loading css, cannot find "theme.css" resource of "primefaces-harmony-rebirth" library ...
Caused by: javax.faces.FacesException: Error loading css, cannot find "theme.css" resource of "primefaces-harmony-rebirth" library
I checked the referenced library and found that only theme.scss is available

Am I missed required steps for preparing harmony-1.0.2.war ?

huseyinT
Posts: 40
Joined: 27 Mar 2016, 13:05

12 Jul 2018, 07:43

You need to run sass files.

sass --update src/main/webapp/resources/ --sourcemap=none

or

sass -w src/main/webapp/resources/ --sourcemap=none

You can read the documentation

http://primefaces.org/harmony/docs.xhtml

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest