Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Raymund Beyer
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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


What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!