| Author |
NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
|
Sanket L Shah
Ranch Hand
Joined: May 08, 2009
Posts: 49
|
|
Hi All,
I am developing one application in which i am using Hibernate....
When I am trying to do anything with database it throws exception like...
ava.lang.ExceptionInInitializerError
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThreadGroup)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
Please help me...
Thank you...
|
 |
Maneesh Godbole
Saloon Keeper
Joined: Jul 26, 2007
Posts: 8436
|
|
"Mca Sanket Shah",
Please check your private messages. I had also requested the same of you in this thread
|
[Donate a pint, save a life!] [How to ask questions] [Onff-turn it on!]
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32675
|
|
|
Question more suited to the JDBC forum. Moving.
|
 |
Balu Sadhasivam
Ranch Hand
Joined: Jan 01, 2009
Posts: 874
|
|
I guess your driver jar is corrupted. Which driver is it ? try to extract and see. Or download the driver again.
|
 |
 |
|
|
subject: NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
|
|
|