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

  • Home
  • SEARCH
  • 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 8893413
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T23:14:29+00:00 2026-06-14T23:14:29+00:00

Im trying to create a basic JSF application but can’t seem to get it

  • 0

Im trying to create a basic JSF application but can’t seem to get it to work – I suspect something is missing, by default in the faces-config.xml file but I’m not sure what. I recieve this error:

java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config

I googled it and found it to be a supposedly missing jar file. This I downloaded and added to the ‘Build Path’ of the project, refreshed and restarted the server but it still didn’t work. The external JAR file is called ‘jstl-1.2.jar.’

Here’s a list of the error/s being reported:

HTTP Status 500 - javax/servlet/jsp/jstl/core/Config

type Exception report

message javax/servlet/jsp/jstl/core/Config

description The server encountered an internal error that prevented it from fulfilling     
this request.

exception 

javax.servlet.ServletException: javax/servlet/jsp/jstl/core/Config
javax.faces.webapp.FacesServlet.service(FacesServlet.java:606)


root cause 

java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config
com.sun.faces.application.view.JspViewHandlingStrategy.executePageToBuildView(JspViewHandlingStrategy.java:345)
com.sun.faces.application.view.JspViewHandlingStrategy.buildView(JspViewHandlingStrategy.java:154)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:100)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)


root cause 

java.lang.ClassNotFoundException: javax.servlet.jsp.jstl.core.Config
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
com.sun.faces.application.view.JspViewHandlingStrategy.executePageToBuildView(JspViewHandlingStrategy.java:345)
com.sun.faces.application.view.JspViewHandlingStrategy.buildView(JspViewHandlingStrategy.java:154)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:100)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)


note The full stack trace of the root cause is available in the Apache Tomcat/7.0.32 logs.

Any ideas? This has to be a simple fix as it cannot be this complicated to get a simple HelloWorld popping out from a JSF application.

Cheers

  • 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-06-14T23:14:31+00:00Added an answer on June 14, 2026 at 11:14 pm

    This I downloaded and added to the ‘Build Path’ of the project, refreshed and restarted the server but it still didn’t work.

    This is not the correct approach. You should not touch the Build Path property of the project at all. You should just drop the JSTL JAR file straight into /WEB-INF/lib folder of the project. You should make sure that you undo every change you made in Build Path property in a careless attempt to "fix" this, otherwise the webapp will still be build/deployed with a broken classpath/library structure.

    Why you need it is because JSF2 Facelets is requiring the JSTL dependency for functioning of all <c:xxx> tags as listed here. However, you’re using Tomcat which is a barebones JSP/Servlet container which doesn’t ship with JSTL out the box. You’d have to download and install it separately. On full fledged containers like Glassfish you don’t have the need to do this (also not for JSF JAR files, by the way).

    See also:

    • Our JSTL wiki page
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to create a basic application, i created facebook application before but everything
I am trying to create a basic WPF application that can store an encrypted
I am trying to just create a basic layout, but i am having trouble
I am trying to create a basic datasheet in my application using a TableLayout.
I trying to create a basic simple dynamic mask using gradient tools but it's
i'm trying to create basic application on Play Frramework(1.2.2) + siena (2.0.2) + crudsiena(2.0.1)
I am trying to create a basic pricing table. The table can be of
I'm trying to create a basic for loop which creates an array but am
Im trying to create a really basic NServicebus.Host application which sends a message every
I am trying to create a simple JSF web application using MyFaces v 2.1

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.