This week's book giveaway is in the Features new in Java 9 forum.
We're giving away four copies of Java 9 Revealed and have Kishori Sharan on-line!
See this thread for details.
Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Raymund Beyer
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!