JSF1027: [null] ELResolvers for JSF were not registered in the JSP container

I am using javax.faces-2.0.10.jar on websphere 8.5 and I am using jboss-el-2.0.0.GA.jar and in my web.xml I have the following configuration for el:

<context-param> <param-name>com.sun.faces.expressionFactory</param-name> <param-value>org.jboss.el.ExpressionFactoryImpl</param-value> </context-param> 

in the logs, I see that jsf was successfully initialized, but I also see the following error:

 JSF1027: [null] The ELResolvers for JSF were not registered with the JSP container. 

classloader is installed on the last parent and I can open the jsp and xhtml pages without errors, but I keep getting the above error in the logs, any ideas why?

+6
source share
1 answer

The way to create this error is described here .

To solve this problem you can try:

 <context-param> <param-name> com.ibm.ws.jsf.LOAD_FACES_CONFIG_AT_STARTUP </param-name> <param-value>true</param-value> </context-param> 

a

com.ibm.ws.jsf.LOAD_FACES_CONFIG_AT_STARTUP Indicates the loading of the JSF runtime when the application server starts. If this parameter is set to false or removed, the JSF runtime is loaded and initialized when the first JSF request is processed. This can disable JSF custom extensions, such as factories defined in the project.

Wass docs

You can also use jboss-el-2.0.0.GA.jar as a shared library.

0
source

All Articles