antlr-tutorial icon indicating copy to clipboard operation
antlr-tutorial copied to clipboard

FieldParser and FieldLexer not found

Open borisalmonacid opened this issue 8 years ago • 1 comments

I am trying the load the project, but I have the following error.

screen shot 2017-10-27 at 16 18 28 screen shot 2017-10-27 at 16 16 09

borisalmonacid avatar Oct 27 '17 05:10 borisalmonacid

It is because you did not generate sources for your grammar. From your project directory run the following command: mvn generate-sources

This will generate those classes in target/generated-sources/antlr4 directory.

paudelbikram avatar Jul 24 '19 04:07 paudelbikram