Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.lang.ExceptionInInitializerError

 
Sanket L Shah
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi All,

I'm developing one application in wich I am using Hibernate....

It gives me exception like ...


java.lang.ExceptionInInitializerError
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)


Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThreadGroup)

Thanks all....
 
doruk turkoglu
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if i wasnt wrong i come up with this problem because of VISTA security things :
try to open(give access to) port of your database
 
Campbell Ritchie
Sheriff
Posts: 48424
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you got permission problems?

Have you read the API documentation for that Error? Have you seen what it says? Have you looked at where it occurs? What happens there?
 
Sanket L Shah
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Campbell Ritchie wrote:Have you got permission problems?

Have you read the API documentation for that Error? Have you seen what it says? Have you looked at where it occurs? What happens there?



Thanks for your reply Ritchie....
I have got solved my prob. solved...

Thanks a lot
 
Campbell Ritchie
Sheriff
Posts: 48424
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well done

Please tell us how you got it solved, so as to help others who have a similar problem in the future.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic