aspose file tools*
The moose likes JDBC and the fly likes Eclipse (Mac):  Access restriction: The constructor Driver() is not accessible due to restriction... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Eclipse (Mac):  Access restriction: The constructor Driver() is not accessible due to restriction..." Watch "Eclipse (Mac):  Access restriction: The constructor Driver() is not accessible due to restriction..." New topic
Author

Eclipse (Mac): Access restriction: The constructor Driver() is not accessible due to restriction...

Raymund Beyer
Greenhorn

Joined: Jul 17, 2009
Posts: 12
Hello,

I am just moving a project from Netbeans to Eclipse (both MacOS 10.6). The project worked fine with Netbeans 6.8. I'm using the MySQL JDBC driver, which is placed in the /Library/Java/Extensions/ folder - just where it should be.

When I start my project, Eclipse (3.4) gives an error message:



It looks like the MySQL driver is giving this problem. DOes anyone have an idea why this is, and what could be the way out?

Many thanks in advance

Ray

 
jQuery in Action, 2nd edition
 
subject: Eclipse (Mac): Access restriction: The constructor Driver() is not accessible due to restriction...