Skip to main content



      Home
Home » Modeling » TMF (Xtext) » signer information mismatch
signer information mismatch [message #990066] Mon, 10 December 2012 12:39 Go to next message
Eclipse UserFriend
Hi

I'm trying to run standalone setup as
import org.eclipse.xtext.generator.IGenerator;
import com.google.inject.Injector;

public class MainGen {

	public static void main(String[] args) {
		Injector i = new FloStandaloneSetup().createInjectorAndDoEMFRegistration();
		IGenerator generator = i.getInstance(IGenerator.class);
	}
	
}


I'm getting such exception

Caused by: java.lang.SecurityException: class "org.eclipse.xtext.parsetree.reconstr.impl.DefaultHiddenTokenHelper$$FastClassByGuice$$db42f815"'s signer information does not match signer information of other classes in the same package
at java.lang.ClassLoader.checkCerts(ClassLoader.java:943)
at java.lang.ClassLoader.preDefineClass(ClassLoader.java:657)
at java.lang.ClassLoader.defineClass(ClassLoader.java:785)
... 139 more


I think it it related to different versions but I don't understand what versions I should use. Can someone help with this. I attached list of libs I use.

index.php/fa/12656/0/

Thank you
  • Attachment: libs.jpg
    (Size: 376.66KB, Downloaded 489 times)
Re: signer information mismatch [message #990165 is a reply to message #990066] Tue, 11 December 2012 03:41 Go to previous messageGo to next message
Eclipse UserFriend
Hi Igor,

which version of Xtext do you use? Please make sure that you use the
google inject bundle that ships with Eclipse.

Best regards,
Sebastian
--
Looking for professional support for Xtext, Xtend or Eclipse Modeling?
Go visit: http://xtext.itemis.com

Am 10.12.12 18:50, schrieb Igor Tkachev:
> Hi
>
> I'm trying to run standalone setup as
>
> import org.eclipse.xtext.generator.IGenerator;
> import com.google.inject.Injector;
>
> public class MainGen {
>
> public static void main(String[] args) {
> Injector i = new FloStandaloneSetup().createInjectorAndDoEMFRegistration();
> IGenerator generator = i.getInstance(IGenerator.class);
> }
>
> }
>
>
> I'm getting such exception
>
> Caused by: java.lang.SecurityException: class "org.eclipse.xtext.parsetree.reconstr.impl.DefaultHiddenTokenHelper$$FastClassByGuice$$db42f815"'s signer information does not match signer information of other classes in the same package
> at java.lang.ClassLoader.checkCerts(ClassLoader.java:943)
> at java.lang.ClassLoader.preDefineClass(ClassLoader.java:657)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:785)
> ... 139 more
>
>
> I think it it related to different versions but I don't understand what versions I should use. Can someone help with this. I attached list of libs I use.
>
>
>
> Thank you
>
Re: signer information mismatch [message #990234 is a reply to message #990165] Tue, 11 December 2012 09:19 Go to previous message
Eclipse UserFriend
The problem is solved by downloading and installing eclipse from scratch

Thanks


Sebastian Zarnekow wrote on Tue, 11 December 2012 03:41
Hi Igor,

which version of Xtext do you use? Please make sure that you use the
google inject bundle that ships with Eclipse.

Best regards,
Sebastian
--
Looking for professional support for Xtext, Xtend or Eclipse Modeling?
Go visit:

Am 10.12.12 18:50, schrieb Igor Tkachev:
> Hi
>
> I'm trying to run standalone setup as
>
> import org.eclipse.xtext.generator.IGenerator;
> import com.google.inject.Injector;
>
> public class MainGen {
>
> public static void main(String[] args) {
> Injector i = new FloStandaloneSetup().createInjectorAndDoEMFRegistration();
> IGenerator generator = i.getInstance(IGenerator.class);
> }
>
> }
>
>
> I'm getting such exception
>
> Caused by: java.lang.SecurityException: class "org.eclipse.xtext.parsetree.reconstr.impl.DefaultHiddenTokenHelper$$FastClassByGuice$$db42f815"'s signer information does not match signer information of other classes in the same package
> at java.lang.ClassLoader.checkCerts(ClassLoader.java:943)
> at java.lang.ClassLoader.preDefineClass(ClassLoader.java:657)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:785)
> ... 139 more
>
>
> I think it it related to different versions but I don't understand what versions I should use. Can someone help with this. I attached list of libs I use.
>
>
>
> Thank you
>

Previous Topic:Rules regarding CrossReferences
Next Topic:XPath grammar implementation
Goto Forum:
  


Current Time: Wed Jul 23 08:19:05 EDT 2025

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

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

Back to the top