This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes problem on JSF application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "problem on JSF application" Watch "problem on JSF application" New topic

problem on JSF application

reshmi aneesh

Joined: Feb 01, 2011
Posts: 15
When I try to run my application that uses JSF in eclipse IDE with Tomcat 6 it throws the
following exception
java.lang.AbstractMethodError: org.apache.xerces.dom.DeferredElementNSImpl.getTextContent()Ljava/lang/String;

I've add jsf-impl.jar,jsf-api.jar,jstl-1.2.jar in my project.

Following is my faces-config.xml
<?xml version="1.0" encoding="UTF-8"?>



And my JSP
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
<%@ taglib prefix="f" uri=""%>
<%@ taglib prefix="h" uri=""%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Celsius to Fahrenheit Convertor</title>
<h:panelGrid columns="2">
<h:outputLabel value="Celsius"></h:outputLabel>
<h:inputText value="#{temparaturConvertor.celsius}"></h:inputText>
<h:commandButton action="#{temparaturConvertor.celsiusToFahrenheit}"
<h:commandButton action="#{temparaturConvertor.reset}" value="Reset"></h:commandButton>
<h:messages layout="table"></h:messages>

<h:panelGroup rendered="#{temparaturConvertor.initial!=true}">
<h:outputLabel value="Fahrenheit "></h:outputLabel>
<h:outputLabel value="#{temparaturConvertor.fahrenheit}"></h:outputLabel>

And my web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi=""
xmlns="" xmlns:web=""
id="WebApp_ID" version="2.5">
<servlet-name>Faces Servlet</servlet-name>
<servlet-name>Faces Servlet</servlet-name>

Kindly Help me to find a solution.

I agree. Here's the link:
subject: problem on JSF application
Similar Threads
JSF 2.0 Session Scope not working - same session bean for multiple browsers
In Rich Faces rich:panelMenu a4j:commandButton action not called
XML not displayed,Unspecified error Error processing resource ''
managed bean in JSF.
Could not navigate from one page to another !!!