Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xtext 0.7.0M3: Couldn't find resource on classpath - bug?
Xtext 0.7.0M3: Couldn't find resource on classpath - bug? [message #23131] Sat, 15 November 2008 16:04 Go to next message
Dénes Harmath is currently offline Dénes HarmathFriend
Messages: 157
Registered: July 2009
Senior Member
I installed Xtext 0.7.0M3, created a project, generated the project
contents with the grammar generator class, ran the UI plugin as an Eclipse
Application, and when I opened a DSL file of mine with the editor, I got
the following error:

Could not open the editor:
org.eclipse.xtext.resource.ClasspathUriResolutionException:
java.lang.IllegalStateException: Couldn't find resource on classpath. URI
was 'classpath:/org/lilypond/LilyPond.ecore#/'

org.eclipse.xtext.resource.ClasspathUriResolutionException:
java.lang.IllegalStateException: Couldn't find resource on classpath. URI
was 'classpath:/org/lilypond/LilyPond.ecore#/'
<stack trace>

Strangely, if I deploy the plugin to my Eclipse installation, it works
fine. But I want to be able to run the DSL editor in an RCP app too.

Did this occur to someone else also? Should I submit a bug on this?
Re: Xtext 0.7.0M3: Couldn't find resource on classpath - bug? [message #23367 is a reply to message #23131] Thu, 20 November 2008 00:28 Go to previous message
Sven Efftinge is currently offline Sven EfftingeFriend
Messages: 1823
Registered: July 2009
Senior Member
Hi Dennis,

yes, please submit a bugzilla.
Would be helpful if you could provide a small example project (or at
least the grammar you used) so that we can reproduce the described behavior.

thanks,
Sven

Dennis Harmath schrieb:
> I installed Xtext 0.7.0M3, created a project, generated the project
> contents with the grammar generator class, ran the UI plugin as an
> Eclipse Application, and when I opened a DSL file of mine with the
> editor, I got the following error:
>
> Could not open the editor:
> org.eclipse.xtext.resource.ClasspathUriResolutionException:
> java.lang.IllegalStateException: Couldn't find resource on classpath.
> URI was 'classpath:/org/lilypond/LilyPond.ecore#/'
>
> org.eclipse.xtext.resource.ClasspathUriResolutionException:
> java.lang.IllegalStateException: Couldn't find resource on classpath.
> URI was 'classpath:/org/lilypond/LilyPond.ecore#/'
> <stack trace>
>
> Strangely, if I deploy the plugin to my Eclipse installation, it works
> fine. But I want to be able to run the DSL editor in an RCP app too.
>
> Did this occur to someone else also? Should I submit a bug on this?
>
Previous Topic:[TCS] Using context menus (extract and inject) out of the TCS project
Next Topic:xtext or xtext?
Goto Forum:
  


Current Time: Mon Jan 13 21:14:44 GMT 2025

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

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

Back to the top