Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » OperationCanceledException while running MWE2 Workflow
OperationCanceledException while running MWE2 Workflow [message #1667725] Thu, 12 March 2015 06:54 Go to next message
John Cole is currently offline John ColeFriend
Messages: 66
Registered: June 2013
Member
Hello!

I am new to Xtext and I am trying to generate language artifacts as described in the 15 minutes tutorial [1] by "Run As → MWE2 Workflow".

I get the following exception:
Could not load class: org.eclipse.core.runtime.OperationCanceledException
Add org.eclipse.equinox.common to the class path.


The first time I tried to run the workflow there was a question about downloading some additional stuff for MWE2. I am sitting behind an proxy server and although I set up a proxy in my Eclipse preferences (and I am able to access the Eclipse marketplace for example) MWE2 was not able to download. So probably this caused the exception?

I am using the official pre-configured Eclipse version [2].

Does anybody know, how to solve this problem?

Best regards,
John


1: https://eclipse.org/Xtext/documentation/102_domainmodelwalkthrough.html
2: https://eclipse.org/Xtext/download.html
Re: OperationCanceledException while running MWE2 Workflow [message #1667820 is a reply to message #1667725] Thu, 12 March 2015 07:47 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
Hi,

i dont know this problem but what about installing antlr sdk from http://download.itemis.com/updates/ as https://www.eclipse.org/Xtext/download.html suggests


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: OperationCanceledException while running MWE2 Workflow [message #1668300 is a reply to message #1667820] Thu, 12 March 2015 12:22 Go to previous messageGo to next message
John Cole is currently offline John ColeFriend
Messages: 66
Registered: June 2013
Member
Yes, it works! Many thanks! But first I had to remove and redownload Eclipse completely, as MWE2 was marked as already installed.

[Updated on: Thu, 12 March 2015 12:23]

Report message to a moderator

Re: OperationCanceledException while running MWE2 Workflow [message #1693213 is a reply to message #1668300] Wed, 22 April 2015 12:39 Go to previous message
Denes Harmath is currently offline Denes HarmathFriend
Messages: 9
Registered: August 2014
Junior Member
As the error message says, add org.eclipse.equinox.common to the dependencies of your language project. This solved it for me.

Previous Topic:[SOLVED] Couldn't resolve reference to JvmDeclaredType (in xtext 2.8.0)
Next Topic:Nested Expressions / Recursion
Goto Forum:
  


Current Time: Fri Apr 19 22:45:35 GMT 2024

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

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

Back to the top