Sud's Blog

Monday Mar 31, 2008

Pesky "Access Restriction" issue in Eclipse 3.2

If you are developing plugins using Eclipse PDE, here's an issue you might run into in Eclipse 3.2 (haven't confirmed on 3.3.x yet) when referencing classes in plugins listed in the dependencies tab of MANIFEST.MF

"Access restriction: The type XXXXXXXX is not accessible due to restriction on required project XXXXXXXXXXXXXXXXXXXX"

This is resolved by re-ordering the plugins in the dependencies tab till the compilation error disappears. I haven't been able to find much information about what causes this issue in the first place and why this solution works. But it works and sometimes that's sufficient for me!

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed

Calendar

Feeds

Search

Links

Navigation

Referrers