Skip to main content



      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 19:29 Go to next message
Eclipse UserFriend
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] Mon, 23 March 2015 20:26 Go to previous messageGo to next message
Eclipse UserFriend
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 04:17 Go to previous message
Eclipse UserFriend
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.
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 Jul 13 15:45:03 EDT 2025

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

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

Back to the top