File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
Could not navigate from one page to another !!!
managed bean in JSF.
In Rich Faces rich:panelMenu a4j:commandButton action not called
XML not displayed,Unspecified error Error processing resource ''
JSF 2.0 Session Scope not working - same session bean for multiple browsers