Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5976309
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T21:12:36+00:00 2026-05-22T21:12:36+00:00

With a new JSF 2.0 app created in NetBeans 6.9.1 this error message appears

  • 0

With a new JSF 2.0 app created in NetBeans 6.9.1 this error message appears in the log file on startup on the production server:

com.sun.faces.config.ConfigureListener
contextInitialized: Initializing
Mojarra 2.0.2 (FCS b10) for context ”

com.sun.faces.spi.InjectionProviderFactory
createInstance: JSF1048:
PostConstruct/PreDestroy annotations
present. ManagedBeans methods marked
with these annotations will have said
annotations processed.

> com.sun.faces.config.ConfigureListener
installExpressionFactory: Unable to
instantiate ExpressionFactory
‘com.sun.el.ExpressionFactoryImpl’

Failed startup of context
com.google.apphosting.utils.jetty.RuntimeAppEngineWebAppContext@7616ad{/,/base/data/home/apps/scroogedemo/1.350894485313261302}
com.sun.faces.config.ConfigurationException:
It appears the JSP version of the
container is older than 2.1 and unable
to locate the EL RI expression
factory,
com.sun.el.ExpressionFactoryImpl. If
not using JSP or the EL RI, make sure
the context initialization parameter,
com.sun.faces.expressionFactory, is
properly set. at
com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:638)

The app uses the JSF 2.0 reference implementation provided by NetBeans, which seems to include the EL RI (package javax.faces.el).

The application runs fine in the development server. I use these configuration entries in web.xml:

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
    ...
    <context-param>
        <param-name>javax.faces.PROJECT_STAGE</param-name>
        <param-value>Production</param-value>
    </context-param>
    <context-param>
        <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
        <param-value>server</param-value>
    </context-param>
    <context-param>
        <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
        <param-value>.xhtml</param-value>
    </context-param>
    <context-param>
        <param-name>com.sun.faces.enableThreading</param-name>
        <param-value>false</param-value>
    </context-param>

I checked the page https://sites.google.com/a/wildstartech.com/adventures-in-java/Java-Platform-Enterprise-Edition/JavaServer-Faces/sun-javaserver-faces-reference-implementation/configuring-jsf-20-to-run-on-the-google-appengine/javaserverfaces-20-and-google-app-engine-compatibility-issues for information on this error but this problem is not covered there.

Update: the page mentioned above said that the el-api and el-impl files need to be included in the project. They are not in the NetBeans libraries list, so they have not been uploaded in the server deployment procedure. I guess they are provided by the local development server – but missing on the production GAE. It turned out to be the solution, see below.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T21:12:37+00:00Added an answer on May 22, 2026 at 9:12 pm

    Deploying the app with el-api-2.2.jar and el-impl-2.2.jar solved the problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to jsf and I can't solve this issue. I have an OutputText
I'm new to JSF, so this question might be strange. I have an inputText
I'm at the end of my rope with this one. I'm new to JSF
I'm using JSF 2.0 and EJB 3.1 in the Glassfish v3 app server. And
I have a problem with following tutorial: http://www.mkyong.com/jsf2/jsf-2-internationalization-example/ In faces-context file you have to
I am trying out my first richfaces project. So I created a new JSF
Im new to JSF 2. My question is related to BalusC's answer to this
I am new to JSF so this is my first project. My IDE is
I'm pretty new to JSF and the many many related technologies out there. I'm
I am new to JSF and have a problem with my simple JSF application.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.