-->
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.  [ 2 posts ] 
Author Message
 Post subject: Error Occuring using Hibernate
PostPosted: Thu Aug 17, 2006 9:05 am 
Newbie

Joined: Thu Aug 17, 2006 8:02 am
Posts: 9
I am using hibernate and getting the following error:

java.lang.UnsupportedClassVersionError: de/laliluna/example/TestClient (Unsupported major.minor version 48.0)

at java.lang.ClassLoader.defineClass0(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:703)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:133)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:320)

at java.net.URLClassLoader.access$400(URLClassLoader.java:93)

at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:678)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:239)

at java.lang.ClassLoader.loadClass(ClassLoader.java:516)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:460)

at java.lang.ClassLoader.loadClass(ClassLoader.java:448)

Exception in thread "main"

Let me know where I am wrong...!!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 17, 2006 11:00 am 
Beginner
Beginner

Joined: Fri Jul 30, 2004 2:53 pm
Posts: 33
Location: Washington, DC
This happens when you compile the classes with with JDK 1.4 and then run the code with an older JVM.


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

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.