Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Maven "exec-maven-plugin" --> Could not load class: org.eclipse.core.runtime.OperationC(Could not load class: org.eclipse.core.runtime.OperationCanceledException)
Maven "exec-maven-plugin" --> Could not load class: org.eclipse.core.runtime.OperationC [message #1689610] Mon, 23 March 2015 23:29 Go to next message
Luis De Bello is currently offline Luis De BelloFriend
Messages: 95
Registered: January 2015
Member
Hi guys,

I am trying to migrate my project from Xtext 2.7.3 to 2.8.0 and I am getting the following error when I changed the xtext version

Could not load class: org.eclipse.core.runtime.OperationCanceledException

Also I tried to use xtext 2.8.1 and the xtend plugin with version 2.8.0 but that case I got the following error

[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:java (default) on project org.mule.tooling.dfl: Execution default of goal org.codehaus.mojo:exec-maven-plugin:1.2.1:java failed: Plugin org.codehaus.mojo:exec-maven-plugin:1.2.1 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.eclipse.xtext:org.eclipse.xtext.xtext:jar:2.8.1, org.eclipse.xtext:org.eclipse.xtext.xbase:jar:2.8.1: Could not find artifact org.eclipse.xtext:org.eclipse.xtext.xtext:jar:2.8.1 in mule-ee-snapshots (http://repository-master.mulesoft.org/nexus/content/repositories/ci-snapshots/) -> [Help 1]

Do you know if there is any known issue with maven in xtext 2.8.0

P.S: I am running maven over tycho.

Regards,
Luis
Re: Maven "exec-maven-plugin" --> Could not load class: org.eclipse.core.runtime.Operat [message #1689623 is a reply to message #1689610] Tue, 24 March 2015 00:26 Go to previous messageGo to next message
Luis De Bello is currently offline Luis De BelloFriend
Messages: 95
Registered: January 2015
Member
I solved my issue using the dependency mentioned in this post

https://www.eclipse.org/forums/index.php/t/1046879/

However, I would like to know if someone can confirm if this is the way to go.

Thanks in advance
Re: Maven "exec-maven-plugin" --> Could not load class: org.eclipse.core.runtime.Operat [message #1689741 is a reply to message #1689623] Tue, 24 March 2015 08:17 Go to previous message
Dennis Huebner is currently offline Dennis HuebnerFriend
Messages: 257
Registered: July 2009
Senior Member

Yes, that's the way to go for 2.8.0.
In 2.8.1 we will add a transitive dependency from org.eclipse.xtext.xtext to org.eclipse.equinox.common.
2.8.1 maven artifacts will be released today.



+Dennis Huebner

Get professional support from the Xtext committers at www.typefox.io
Previous Topic:How to add a code segment into the current editor via popup menu?
Next Topic:JvmTypeReference to new Type being created.
Goto Forum:
  


Current Time: Sun Apr 11 19:57:38 GMT 2021

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

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

Back to the top