-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Weird Hibernate problem with Java 5.0 and 1.4.2
PostPosted: Tue Sep 19, 2006 6:29 am 
Beginner
Beginner

Joined: Mon Sep 04, 2006 7:18 am
Posts: 45
I have two projects/workspaces in Eclipse.

With the first one, I have created my project with Java 1.4.2 and this compiles fine. I must confess though that I made the project first with jdk 5.0 but eventually I switched to 1.4.2 and compile withouth any errors.

However, my new project with 1.4.2 I get exception:
Exception in thread "main" java.lang.UnsupportedClassVersionError
which means I should use jdk 5.0

I use the same hibernate.jar files for both.
Can anyone understand why this is? I have to use 1.4.2 unfortunatly, and the only solution seems to be to compile hibernate3.jar with 1.4.2


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.