Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Problem to deploy application JSF
Problem to deploy application JSF [message #808253] Mon, 27 February 2012 15:29 Go to next message
Ned Ned is currently offline Ned NedFriend
Messages: 14
Registered: February 2012
Junior Member
Hi,
i want to deploy my applicat JSF 1.2
im using OC4J but when i deploy i have this problem:

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)



Where is the problem??????????
Re: Problem to deploy application JSF [message #808378 is a reply to message #808253] Mon, 27 February 2012 18:13 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1310
Registered: July 2009
Senior Member
On 2/27/2012 10:29 AM, Ned Ned wrote:
> Hi,
> i want to deploy my applicat JSF 1.2
> im using OC4J but when i deploy i have this problem:
>
>
> 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)
>
>
>
> Where is the problem??????????
>

The JVM that is running OC4J is telling you that ConfigureListener was
compiled into a class file format that is too new for it understand and
load. Since it is not a class you are compiling, the "49" indicates you
will need to upgrade the JVM running OC4J to at least J2SE 5.0 before it
will be able to load that class file.

Cheers,
Larry
Re: Problem to deploy application JSF [message #808465 is a reply to message #808378] Mon, 27 February 2012 20:18 Go to previous messageGo to next message
Ned Ned is currently offline Ned NedFriend
Messages: 14
Registered: February 2012
Junior Member
Thank yo for your response
my OC4J is running under JDK 1.4
but i can't change it
what can i do?????
Re: Problem to deploy application JSF [message #808496 is a reply to message #808465] Mon, 27 February 2012 21:09 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1310
Registered: July 2009
Senior Member
On 2/27/2012 3:18 PM, Ned Ned wrote:
> Thank yo for your response
> my OC4J is running under JDK 1.4
> but i can't change it
> what can i do?????

Then you can't use JSF 1.2 (which is where I assume is where
ConfigureListener is coming from) with this OC4J. I suppose this is
called being between a rock and a hard place. I believe being
restricted to 1.4, there are a number of new Java EE technologies you
won't have available. I don't know if there is an older JSF version can
run with 1.4.

Cheers,
Larry
Re: Problem to deploy application JSF [message #808836 is a reply to message #808496] Tue, 28 February 2012 07:46 Go to previous messageGo to next message
Ned Ned is currently offline Ned NedFriend
Messages: 14
Registered: February 2012
Junior Member
So, there is no solution for this problem????
but i can make for each instance in my OC4J a specical configuration
???????????

Re: Problem to deploy application JSF [message #808988 is a reply to message #808836] Tue, 28 February 2012 10:58 Go to previous messageGo to next message
Ned Ned is currently offline Ned NedFriend
Messages: 14
Registered: February 2012
Junior Member
Thanks for your responses
Re: Problem to deploy application JSF [message #808991 is a reply to message #808988] Tue, 28 February 2012 10:59 Go to previous messageGo to next message
Ned Ned is currently offline Ned NedFriend
Messages: 14
Registered: February 2012
Junior Member
but i have another problem
Re: Problem to deploy application JSF [message #808992 is a reply to message #808991] Tue, 28 February 2012 10:59 Go to previous messageGo to next message
Ned Ned is currently offline Ned NedFriend
Messages: 14
Registered: February 2012
Junior Member
I've resolved this problem but when i try to start my application,
i add the jars in my lib and in my server
but i had error in the first line of my page:

<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
Re: Problem to deploy application JSF [message #809062 is a reply to message #808992] Tue, 28 February 2012 12:50 Go to previous message
Ned Ned is currently offline Ned NedFriend
Messages: 14
Registered: February 2012
Junior Member
my error is:

OracleJSP : oracle.jsp.parse.JspParseException: /index.jsp: Ligne n° 1, <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> 

Previous Topic:Exception occurred during code generation for the WSDL
Next Topic:CXF Java2WS and WSDL2Java Problems
Goto Forum:
  


Current Time: Mon Nov 24 14:17:41 GMT 2014

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

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