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 8952175
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T13:49:04+00:00 2026-06-15T13:49:04+00:00

I am new to JSF, so I am trying to develop simple JSF project

  • 0

I am new to JSF, so I am trying to develop simple JSF project in Eclipse using Websphere 8, but I am getting the following error:

Error 404: com.ibm.ws.webcontainer.servlet.exception.NoTargetForURIException: No target servlet configured for uri: /KeyValue/index.jsf 

I observed that when I add the following jars I get this 404 Error.

  1. jsf-api
  2. jsf-impl
  3. jstl-api-1.2
  4. jstl-impl-1.2

Here’s how my web.xml looks:

<?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
      <servlet>
        <servlet-name>Faces Servlet</servlet-name>
        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
      </servlet>
      <servlet-mapping>
        <servlet-name>Faces Servlet</servlet-name>
        <url-pattern>*.jsf</url-pattern>
      </servlet-mapping>
      <context-param>
        <param-name>javax.faces.PROJECT_STAGE</param-name>
        <param-value>Development</param-value>
      </context-param>
      <welcome-file-list>
        <welcome-file>index.jsp</welcome-file>
        <welcome-file>index.html</welcome-file>
      </welcome-file-list>
    </web-app>

Is there something wrong with the web.xml file? How do I resolve the issue?

  • 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-15T13:49:05+00:00Added an answer on June 15, 2026 at 1:49 pm

    Websphere ships as being a full fledged Java EE application server already with JSF and JSTL out the box. You do not need to provide them along your web application like as necessary when targeting a barebones servletcontainer such as Tomcat or Jetty. Those problems are most likely caused by version incompatibility between the JSF JARs provided by Websphere and the JSF JARs provided by the webapp, causing among others the FacesServlet to fail to start. Without a functioning FacesServlet, the *.jsf URLs will not be recognized anymore and thus end up as 404. More detail about the FacesServlet startup problem should however have been visible in the webapp’s startup logs in the server.

    So, remove those JSF and JSTL JARs from your web application and it should work as expected.

    • 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 new project using tomcat 7.0.27 + JSF 2.1.7 +
I am trying to add dynamic form fields to jsf form. But even following
In my current project we're trying to write an application (using SUN RI JSF
I am trying to create the world most simple dataTable using JSF tomahawk like
I am trying autocomplete demo .I am not getting any error but the httprequest/response
I am trying out my first richfaces project. So I created a new JSF
So, I'm currently working with JSF trying to create a simple project that takes
I'm trying to get an imported project to work and i'm new to JSF.
I'm new to JSF and primefaces and I'm trying to do the following: I
i'm new with JPA, i'm using in a JSF 2 Project with Glassfish 3

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.