This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 225351

Summary: UnsupportedClassVersionError: modelo/Dj : Unsupported major.minor version 51.0
Product: javaee Reporter: FiruzzZ
Component: HibernateAssignee: Sergey Petrov <sj-nb>
Status: RESOLVED WONTFIX    
Severity: normal CC: rigueworld, ssazonov
Priority: P4    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 150947
Attachments: stacktrace
stacktrace

Description FiruzzZ 2013-01-25 14:29:24 UTC
Build: NetBeans IDE 7.2 (Build 201207171143)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows XP

User Comments:
FiruzzZ: trying to run a HQL Query against my newest full annotated @Entity

FiruzzZ: Trying to excecute a HQL through hibernate.cfg.xml

FiruzzZ: trying to run a HQL Query...
there wasn't changes on the entities related to the query since long time.




Stacktrace: 
java.lang.UnsupportedClassVersionError: modelo/Dj : Unsupported major.minor version 51.0
   at java.lang.ClassLoader.defineClass1(ClassLoader.java:0)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
   at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
   at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
   at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
Comment 1 FiruzzZ 2013-01-25 14:29:26 UTC
Created attachment 130650 [details]
stacktrace
Comment 2 Sergey Petrov 2013-01-25 15:14:14 UTC
I'm not anything can be done here. 
It may be source code build with jdk level above jdk level used during query execution.
Please provide more steps, it's nice to have steps starting from project creation.
Comment 3 ssazonov 2013-08-03 09:38:10 UTC
Created attachment 138221 [details]
stacktrace

...
Comment 4 Martin Balin 2016-07-07 08:56:28 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss