Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Weird errors in projects
Weird errors in projects [message #972823] Mon, 05 November 2012 23:02 Go to next message
Vlad Dumitrescu is currently offline Vlad DumitrescuFriend
Messages: 431
Registered: July 2009
Location: Gothenburg
Senior Member
Hi,

Whenever I open Eclipse (since recently), I get in tmy language's ui project compilation errors like

Access restriction: The type Injector is not accessible due to restriction on required library C:\Apps\eclipse37\eclipse\plugins\com.google.inject_3.0.0.v201203062045.jar


Cleaning the workspace doesn't help, but doing a dummy change in plugin.xml makes it compile ok. That is, until I close Eclipse and start it again.

Does anyone know what to do to fix this?

regards,
Vlad
Re: Weird errors in projects [message #973405 is a reply to message #972823] Tue, 06 November 2012 09:53 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Vlad,

Looks like your workspace metadata is corrupt. Or you convinced maven or
some other package manager to put a broken google.inject bundle on your
classpath. You may want to remove some caches or setup a new workspace.
Sorry, I've real clue what's going on there :-/

Regards,
Sebastian
--
Looking for professional support for Xtext, Xtend or Eclipse Modeling?
Go visit: http://xtext.itemis.com

Am 06.11.12 00:02, schrieb Vlad Dumitrescu:
> Hi,
>
> Whenever I open Eclipse (since recently), I get in tmy language's ui
> project compilation errors like
>
> Access restriction: The type Injector is not accessible due to
> restriction on required library
> C:\Apps\eclipse37\eclipse\plugins\com.google.inject_3.0.0.v201203062045.jar
>
> Cleaning the workspace doesn't help, but doing a dummy change in
> plugin.xml makes it compile ok. That is, until I close Eclipse and start
> it again.
>
> Does anyone know what to do to fix this?
>
> regards,
> Vlad
>
Re: Weird errors in projects [message #973411 is a reply to message #973405] Tue, 06 November 2012 10:03 Go to previous message
Vlad Dumitrescu is currently offline Vlad DumitrescuFriend
Messages: 431
Registered: July 2009
Location: Gothenburg
Senior Member
Ok, thanks, I'll clean up the workspace.
/Vlad
Previous Topic:imports 'out of the box'
Next Topic:implementing Xtext functionality in Xtend
Goto Forum:
  


Current Time: Sat May 11 04:01:36 GMT 2024

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

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

Back to the top