Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xtext (run as mwe2 workflow)
Xtext [message #646099] Wed, 22 December 2010 03:36 Go to next message
zli  is currently offline zli Friend
Messages: 4
Registered: December 2010
Junior Member
Can someone help me?
I got this error when generate code:
It is recommended to use the ANTLR 3 parser generator (BSD licence - http://www.antlr.org/license.html).
Do you agree to download it (size 1MB) from 'http://download.itemis.com/antlr-generator-3.0.1.jar'? (type 'y' or 'n' and hit enter)y
CharScanner; panic: ClassNotFoundException: org.antlr.stringtemplate.language.ChunkToken

then could not generate right code.

Thank you!
Re: Xtext [message #646117 is a reply to message #646099] Wed, 22 December 2010 08:19 Go to previous messageGo to next message
Meinte Boersma is currently offline Meinte BoersmaFriend
Messages: 434
Registered: July 2009
Location: Leiden, Netherlands
Senior Member
Hmmm, seems you're not using the Itemis distro (which comes with the ANTLR bits) or that distro is corrupted.

Re: Xtext [message #646127 is a reply to message #646099] Wed, 22 December 2010 08:56 Go to previous message
Jan Koehnlein is currently offline Jan KoehnleinFriend
Messages: 760
Registered: July 2009
Location: Hamburg
Senior Member
Do you have your projects directly in your workspace or have you
imported them from some location in the filesystem?

Anyway, the installation of the AntLR generator as a JAR in your project
did not succeed. The easiest solution is to install the AntLR generator
as a plug-in in your Eclipse IDE using your update manager and pointing
it to

http://download.itemis.de/updates/
xtext-antlr 1.0.1SR1 R201008261834


Am 22.12.10 04:36, schrieb zli:
> Can someone help me?
> I got this error when generate code:
> It is recommended to use the ANTLR 3 parser generator (BSD licence -
> http://www.antlr.org/license.html).
> Do you agree to download it (size 1MB) from
> 'http://download.itemis.com/antlr-generator-3.0.1.jar'? (type 'y' or 'n'
> and hit enter)y
> CharScanner; panic: ClassNotFoundException:
> org.antlr.stringtemplate.language.ChunkToken
>
> then could not generate right code.
>
> Thank you!


--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com


---
Get professional support from the Xtext committers at www.typefox.io
Previous Topic:Xtext generated code missing
Next Topic:Out of Memory Error
Goto Forum:
  


Current Time: Fri Apr 26 01:18:28 GMT 2024

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

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

Back to the top