Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JavaServer Faces » Problem to deploy application JSF
Problem to deploy application JSF [message #813634] Mon, 05 March 2012 14:30 Go to next message
Ned Ned is currently offline Ned Ned
Messages: 14
Registered: February 2012
Junior Member
Hi,
My problem is,
first i start to work with JSF 1.2 but when i have changed my web xml to deploy my project on OC4J oracle (10g) i have this problem

problem:

Echec du déploiement de l'application Web "decha". Echec du déploiement de l'application Web "decha". . Echec de la phase dévaluation. Ladaptateur utilisé dans lévaluation a peut-être généré une exception.
Résolution :
Contactez le support technique Oracle.
Exception de base :
java.lang.UnsupportedClassVersionError
com/sun/faces/config/ConfigureListener (Unsupported major.minor version 49.0). com/sun/faces/config/ConfigureListener (Unsupported major.minor version 49.0)




Web xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http:  //java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
  <display-name>TestNed</display-name>
  <welcome-file-list>
    <welcome-file>index.html</welcome-file>
    <welcome-file>index.htm</welcome-file>
    <welcome-file>index.jsp</welcome-file>
    <welcome-file>default.html</welcome-file>
    <welcome-file>default.htm</welcome-file>
    <welcome-file>default.jsp</welcome-file>
  </welcome-file-list>
  <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
  </servlet>
  <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
  </servlet-mapping>
  <context-param>
    <param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
    <param-value>true</param-value>
  </context-param>
  <listener>
    <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
  </listener>
  <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>*.jsf</url-pattern>
  </servlet-mapping>
  <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>*.faces</url-pattern>
  </servlet-mapping>
  <context-param>
    <param-name>org.richfaces.SKIN</param-name>
    <param-value>classic</param-value>
  </context-param>
  <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>client</param-value>
  </context-param>
  <filter>
    <display-name>RichFaces Filter</display-name>
    <filter-name>richfaces</filter-name>
    <filter-class>org.ajax4jsf.Filter</filter-class>
  </filter>
  <filter>
    <filter-name>MyFacesExtensionsFilter</filter-name>
    <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
    <init-param>
      <param-name>maxFileSize</param-name>
      <param-value>20m</param-value>
    </init-param>
  </filter>
  <filter-mapping>
    <filter-name>richfaces</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>INCLUDE</dispatcher>
  </filter-mapping>
  <filter-mapping>
    <filter-name>MyFacesExtensionsFilter</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
  </filter-mapping>
  <filter-mapping>
    <filter-name>MyFacesExtensionsFilter</filter-name>
    <url-pattern>/faces/*</url-pattern>
  </filter-mapping>
  <login-config>
    <auth-method>BASIC</auth-method>
  </login-config>
 
 
 
 
<filter>
    <filter-name>AuthenticationFilter</filter-name>
    <filter-class>Test.AuthenticationFilter</filter-class>
  </filter>
  <filter-mapping>
    <filter-name>AuthenticationFilter</filter-name>
    <url-pattern>/restricted/*</url-pattern>
  </filter-mapping>


 
</web-app>




So, i try to work with JSF 1.1 but i can't find jar, i deploy my project with succefull but when i start my page i see this message

OracleJSP : oracle.jsp.parse.JspParseException: /index.jsp: Ligne n° 3, <%@ taglib uri="http:  //richfaces.org/rich" prefix="rich" %>
Erreur : Impossible de charger la classe taghandler : http: //richfaces.org/rich

Re: Problem to deploy application JSF [message #814629 is a reply to message #813634] Tue, 06 March 2012 17:35 Go to previous message
Ian Trimble is currently offline Ian Trimble
Messages: 137
Registered: July 2009
Senior Member
The UnsupportedClassVersionError tells me that there's a difference in the Java versions between compile time and run time. Are you running with an older version of Java than you compiled with?

- Ian
Previous Topic:problem with a <h:selectOneRadio
Next Topic:Error while trying to create JavaServer Faces project
Goto Forum:
  


Current Time: Thu Sep 18 08:04:25 GMT 2014

Powered by FUDForum. Page generated in 0.22151 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software