| antlr/TokenStream error [message #63631] | 
Wed, 10 October 2007 03:36   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Hello all, 
 
 
i have this error when i try the Author2Person tutorial of ATL. I have  
found mails that say that the reason is antlr.jar is missing in the engine  
plugin so i put the (renamed) last antlr.jar in  
org.eclipse.m2m.atl.engine_2.0.0 and i have allways the same error 
 
 
 here is the stack trace 
 
 
java.lang.NoClassDefFoundError: antlr/TokenStream 
	at  
 org.atl.engine.injectors.ebnf.EBNFInjector2.performImportati on(EBNFInjector2.java:244) 
	at  
 org.atl.engine.injectors.ebnf.EBNFInjector2.performImportati on(EBNFInjector2.java:201) 
	at  
 org.atl.engine.injectors.ebnf.EBNFInjector2.inject(EBNFInjec tor2.java:78) 
	at  
 org.eclipse.gmt.am3.dsls.km3.KM3Projector.getKM3FromFile(KM3 Projector.java:236) 
	at  
 org.eclipse.gmt.am3.dsls.km3.KM3Projector.getEMFKM3FromFile( KM3Projector.java:216) 
	at  org.eclipse.gmt.am3.dsls.km3.actions.KM32Ecore$1.run(KM32Eco re.java:58) 
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) 
 
 
any ideas ? 
 
 
Thanks 
 
 
Vincent
 |  
 |  
  | 
 | 
 | 
 | 
 | 
 | 
| Re: [ATL] Re: antlr/TokenStream error [message #63829 is a reply to message #63808] | 
Fri, 12 October 2007 04:37    | 
 
Eclipse User  | 
 | 
 | 
   | 
 
William Piers wrote: 
 
> Hello, 
 
> Perhaps is your Eclipse corrupted, or not up to date. Could you try to  
> launch it with the -clean option ? 
 
Hello, 
 
i just tried this but it change nothing... 
 
 
Vincent 
> Vincent Hilaire a écrit : 
>> William Piers wrote: 
>>  
>>> OK, so how did you install ATL ? 
>>  
>>> In the last version (see : http://www.eclipse.org/m2m/atl/download/)  
>>> there is no need to manually install antlr.jar because only  
>>> antlr-runtime.jar is required, and is included into ATL. 
>>  
>>> Installing ATL via update-site, or binaries build should work. 
>>  
>>  
>> I have tried both :( 
>>  
>>  
>> Vincent 
>>> Regards 
>>> Vincent Hilaire a écrit : 
>>>> Hello, 
>>>> 
>>>> 
>>>> in fact i placed the antlr.jar file in the two directories (just in  
>>  
>>  
>>  
>>  
>>  
>>  
>> William Piers wrote: 
>>  
>>> OK, so how did you install ATL ? 
>>  
>>> In the last version (see : http://www.eclipse.org/m2m/atl/download/)  
>>> there is no need to manually install antlr.jar because only  
>>> antlr-runtime.jar is required, and is included into ATL. 
>>  
>>> Installing ATL via update-site, or binaries build should work. 
>>  
>>  
>> I have tried both :( 
>>  
>>  
>> Vincent 
>>> Regards 
>>> Vincent Hilaire a écrit : 
>>>> Hello, 
>>>> 
>>>> 
>>>> in fact i placed the antlr.jar file in the two directories (just in  
>>  
>>  
>>  
>>  
>>  
>>
 |  
 |  
  | 
 | 
| Re: [ATL] Re: antlr/TokenStream error [message #64053 is a reply to message #63851] | 
Mon, 15 October 2007 09:37   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
William Piers wrote: 
 
> It is strange, it works fine for me... 
 
> Could you tell please me if you use Eclipse 3.3 and EMF 2.3, and send me  
> your KM3 file ? 
 
> To avoid this error, you can also directly use ecore files instead of  
> KM3, i.e. create the metamodel using EMF editor. 
 
> Vincent Hilaire a écrit : 
>> William Piers wrote: 
>>  
>>> Hello, 
>>  
>>> Perhaps is your Eclipse corrupted, or not up to date. Could you try to  
>>> launch it with the -clean option ? 
>>  
>> Hello, 
>>  
>> i just tried this but it change nothing... 
>>  
>>  
>> Vincent 
>>> Vincent Hilaire a écrit : 
>>>> William Piers wrote: 
>>>> 
>>>>> OK, so how did you install ATL ? 
>>>> 
>>>>> In the last version (see : http://www.eclipse.org/m2m/atl/download/)  
>>>>> there is no need to manually install antlr.jar because only  
>>>>> antlr-runtime.jar is required, and is included into ATL. 
>>>> 
>>>>> Installing ATL via update-site, or binaries build should work. 
>>>> 
>>>> 
>>>> I have tried both :( 
>>>> 
>>>> 
>>>> Vincent 
>>>>> Regards 
>>>>> Vincent Hilaire a écrit : 
>>>>>> Hello, 
>>>>>> 
>>>>>> 
>>>>>> in fact i placed the antlr.jar file in the two directories (just in  
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> William Piers wrote: 
>>>> 
>>>>> OK, so how did you install ATL ? 
>>>> 
>>>>> In the last version (see : http://www.eclipse.org/m2m/atl/download/)  
>>>>> there is no need to manually install antlr.jar because only  
>>>>> antlr-runtime.jar is required, and is included into ATL. 
>>>> 
>>>>> Installing ATL via update-site, or binaries build should work. 
>>>> 
>>>> 
>>>> I have tried both :( 
>>>> 
>>>> 
>>>> Vincent 
>>>>> Regards 
>>>>> Vincent Hilaire a écrit : 
>>>>>> Hello, 
>>>>>> 
>>>>>> 
>>>>>> in fact i placed the antlr.jar file in the two directories (just in  
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>  
>> 
Hello, 
 
 
i just try the same conf on a pc windows ad it works (all the precedent  
tests were on a MacBook with  mac OS X) maybe there is something there ? 
 
 
 
Vincent
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.05540 seconds