Primefaces resources are not loaded

Splash Forums Rewrite Users Primefaces resources are not loaded

This topic contains 2 replies, has 2 voices, and was last updated by  Christian Kaltepoth 2 years, 12 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #24564

    banifou
    Participant

    Hi,

    I’ve tried rewrite 2.0.5 on my JSF project with glassfish 3.1.2.2/Netbeans 7.3.1/JEE6, PrimeFaces 3.5, spring security and spring framework 3.2.1.

    I added rewrite servlet 2.0.5 jar and rewrite integration faces 2.0.5 jar and tried a configuration like: .addRule(Join.path(“/home”).to(“/home.jsf”))

    The project is deployed but I got a lot of warning like this:

    WARNING: JSF1064: Unable to find or serve resource theme.css from library primefaces-aristo.
    WARNING: java.io.FileNotFoundException: /glassfish-3.1.2.2/glassfish/domains/domain1/generated/jsp/myProject/loader_1583620581/META-INF/resources/primefaces-aristo/theme.css (File or directory not found).

    Any ideas?
    Thanks in advance

    • This topic was modified 2 years, 12 months ago by  banifou.
    • This topic was modified 2 years, 12 months ago by  banifou.
    #24567

    banifou
    Participant

    Strange!
    I changed the ownership of /glassfish-3.1.2.2/glassfish/domains/domain1/generated/jsp/myProject/ directory and the problem vanished!
    The dir belongs suddenly to root! Very strange!
    By the way, the rewrites work 🙂

    #24572

    Nice to hear you fixed your problem. 🙂

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Comments are closed.