Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Access Restriction Error in Eclipse IDE(Access Restriction in accessing the library file from Mysql for Distributed Transaction)
Access Restriction Error in Eclipse IDE [message #524930] Sun, 04 April 2010 06:47 Go to next message
Eclipse UserFriend
I am doing a distributed transaction with Jboss,Eclipse 3.5, MySql and SQL Server 2008. when i import the com.mysql.jdbc.jdbc2.optional.MysqlXADataSource in the java program , i get an error in Eclipse IDE called Access restriction: The type MysqlDataSource is not accessible due to restriction on required library .

Even though i have added the jar file to library in JRE System Library.

Any help or suggestions is needed..

Thanks
Re: Access Restriction Error in Eclipse IDE [message #524947 is a reply to message #524930] Sun, 04 April 2010 12:34 Go to previous message
Eclipse UserFriend
Don't add the MySQL jar to the JRE System Library. Add it separately as jar file on the build path.
Previous Topic:Java Noob, Need Help
Next Topic:create javadoc automatically in eclipse
Goto Forum:
  


Current Time: Wed Mar 19 13:25:55 EDT 2025

Powered by FUDForum. Page generated in 0.03611 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top