Joined: Sun Mar 31, 2013 9:15 am Posts: 1
|
Hi! All ! I am just connecting to oracle11g database to insert record into database using hibernate ,then it shows the following printstacktrace........can anybody solve this?
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version n umber in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.hibernate.connection.DriverManagerConnectionProvider.configure(Dr iverManagerConnectionProvider.java:57) at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvi der(ConnectionProviderFactory.java:124) at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvi der(ConnectionProviderFactory.java:56) at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFa ctory.java:414) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java: 62) at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009 ) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.jav a:1292) at ClientApp.main(ClientApp.java:8)
|
|