Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Error during building the .web project due to Xtext builder(Error due to Xtext builder)
Error during building the .web project due to Xtext builder [message #1771659] Tue, 29 August 2017 08:12 Go to next message
Suprith S is currently offline Suprith SFriend
Messages: 43
Registered: July 2017
Location: Frankfurt
Member
Hi,
Please look at the below errors. I would like to know what I have missed.
Xtext version 2.12.0

Errors occurred during the build.
Errors running builder 'Xtext Project Builder' on project 'com.amadeus.secomo.siteparameters.web'.
loader constraint violation in interface itable initialization: when resolving method "org.eclipse.xtend.core.jvmmodel.XtendJvmModelInferrer$2.accept(Lorg/eclipse/xtext/common/types/JvmDeclaredType;Lorg/eclipse/xtext/xbase/lib/Procedures$Procedure1;)V" the class loader (instance of org/eclipse/osgi/internal/loader/EquinoxClassLoader) of the current class, org/eclipse/xtend/core/jvmmodel/XtendJvmModelInferrer$2, and the class loader (instance of org/eclipse/osgi/internal/loader/EquinoxClassLoader) for interface org/eclipse/xtext/xbase/jvmmodel/IJvmDeclaredTypeAcceptor have different Class objects for the type org/eclipse/xtext/xbase/lib/Procedures$Procedure1 used in the signature

[Updated on: Tue, 29 August 2017 08:14]

Report message to a moderator

Re: Error during building the .web project due to Xtext builder [message #1771663 is a reply to message #1771659] Tue, 29 August 2017 09:09 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
can you give any hints on how to reproduce?

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Error during building the .web project due to Xtext builder [message #1771665 is a reply to message #1771663] Tue, 29 August 2017 10:54 Go to previous messageGo to next message
Suprith S is currently offline Suprith SFriend
Messages: 43
Registered: July 2017
Location: Frankfurt
Member
[SOLVED]

I had to add the xtext builder source dependancy in the Manfiest file. Then it worked as expected.
Re: Error during building the .web project due to Xtext builder [message #1771667 is a reply to message #1771665] Tue, 29 August 2017 11:12 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
that should not be neccessary => having more details to reproduce would help to find out if there is a bug

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Error during building the .web project due to Xtext builder [message #1771852 is a reply to message #1771667] Thu, 31 August 2017 12:05 Go to previous messageGo to next message
Suprith S is currently offline Suprith SFriend
Messages: 43
Registered: July 2017
Location: Frankfurt
Member
Sure , will investigate and update you
Re: Error during building the .web project due to Xtext builder [message #1772339 is a reply to message #1771667] Fri, 08 September 2017 09:18 Go to previous messageGo to next message
Suprith S is currently offline Suprith SFriend
Messages: 43
Registered: July 2017
Location: Frankfurt
Member
Hi,
I am building the xtext project with out the xtext builder entry in the manifest.

Errors occurred during the build.
Errors running builder 'Xtext Project Builder' on project 'examples'.
loader constraint violation in interface itable initialization: when resolving method "org.eclipse.xtend.core.jvmmodel.XtendJvmModelInferrer$2.accept(Lorg/eclipse/xtext/common/types/JvmDeclaredType;Lorg/eclipse/xtext/xbase/lib/Procedures$Procedure1;)V" the class loader (instance of org/eclipse/osgi/internal/loader/EquinoxClassLoader) of the current class, org/eclipse/xtend/core/jvmmodel/XtendJvmModelInferrer$2, and the class loader (instance of org/eclipse/osgi/internal/loader/EquinoxClassLoader) for interface org/eclipse/xtext/xbase/jvmmodel/IJvmDeclaredTypeAcceptor have different Class objects for the type org/eclipse/xtext/xbase/lib/Procedures$Procedure1 used in the signature

above is the error obtained,.

Thanks,
Suprith
Re: Error during building the .web project due to Xtext builder [message #1772341 is a reply to message #1772339] Fri, 08 September 2017 09:35 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
you mean the .project file?

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Error during building the .web project due to Xtext builder [message #1772633 is a reply to message #1772341] Wed, 13 September 2017 09:36 Go to previous message
Suprith S is currently offline Suprith SFriend
Messages: 43
Registered: July 2017
Location: Frankfurt
Member
No the normal build is failing
Previous Topic:tycho question. postpone xtend source code generation
Next Topic:FYI: Eclipse tooling features have to be updated for Xtext 2.13.0-SNAPSHOT
Goto Forum:
  


Current Time: Wed Apr 24 23:18:49 GMT 2024

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

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

Back to the top