Re: WARNING: JSF1064: Unable to find or serve resource, core/core.js, from library,

Splash Forums PrettyFaces Users WARNING: JSF1064: Unable to find or serve resource, core/core.js, from library, Re: WARNING: JSF1064: Unable to find or serve resource, core/core.js, from library,

#20458

bardu
Participant

Here is the part of interest from web.xml:

<context-param>

<param-name>javax.faces.PROJECT_STAGE</param-name>

<param-value>Development</param-value>

</context-param>

<context-param>

<param-name>FIXED_LOCAL_TIMEZONE</param-name>

<param-value>America/Whitehorse</param-value>

</context-param>

<servlet>

<servlet-name>Faces Servlet</servlet-name>

<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>

<load-on-startup>1</load-on-startup>

</servlet>

<servlet-mapping>

<servlet-name>Faces Servlet</servlet-name>

<url-pattern>*.faces</url-pattern>

</servlet-mapping>

<session-config>

<session-timeout>

30

</session-timeout>

</session-config>

<welcome-file-list>

<welcome-file>index.jsp</welcome-file>

</welcome-file-list>

and from pretty-config.xml

<rewrite trailingSlash=”append” toCase=”lowercase” />

<rewrite match=”^/old-url/(w+)/$” substitute=”/new_url/$1/” redirect=”301″ />

<url-mapping id=”welcome”>

<pattern value=”/” />

<view-id>/yukonlive-war/yukonlive/welcome.faces</view-id>

</url-mapping>

<url-mapping id=”home”>

<pattern value=”/” />

<view-id>/yukonlive-war/yukonlive/home.faces</view-id>

</url-mapping>

Since I’m using GF v3.01 PrimeFaces resources are automatically registered.