Meaningless Drivel is fun!*
The moose likes Beginning Java and the fly likes java.lang.ExceptionInInitializerError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "java.lang.ExceptionInInitializerError" Watch "java.lang.ExceptionInInitializerError" New topic
Author

java.lang.ExceptionInInitializerError

Sanket L Shah
Ranch Hand

Joined: May 08, 2009
Posts: 49

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

Joined: May 22, 2009
Posts: 4
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

Joined: Oct 13, 2005
Posts: 38441
    
  23
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

Joined: May 08, 2009
Posts: 49
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

Joined: Oct 13, 2005
Posts: 38441
    
  23
Well done

Please tell us how you got it solved, so as to help others who have a similar problem in the future.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.lang.ExceptionInInitializerError