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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Eclipse (Mac): Access restriction: The constructor Driver() is not accessible due to restriction...
 
Similar Threads
Problem with sounds
Access Restriction on Mac (Java 3D)
Access restriction
Problem using jsse.jar
Access restriction