Eclipse (Mac): Access restriction: The constructor Driver() is not accessible due to restriction...
posted 5 years ago
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?