Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Can't access the package util.parser #16

Open
young9471 opened this issue Nov 12, 2017 · 1 comment
Open

Can't access the package util.parser #16

young9471 opened this issue Nov 12, 2017 · 1 comment
Assignees
Labels

Comments

@young9471
Copy link

The error information:
GM3\src\core\fingerprint\PayloadFunctions.java:11: error: package util.parser doesn't exit.
import util.parser.CalcLexer;
GM3\src\core\fingerprint\PayloadFunctions.java:11: error: package util.parser doesn't exit.
import util.parser.CalcParser;

Thanks for your help!

@iadgovuser22
Copy link

Hi young9471,

The "util.parser" class is among the generated sources that GRASSMARLIN uses. The source files that are generated from Antlr and Jaxb are not part of the repository, they have to be built. The "gensrc-Fingerptinting" target in build-ant.xml will do this. To reiterate the header comment in the build-ant.xml file, the provided ant script is not intended to be used as provided, it exists as a reference - it might work, but some of the targets specifically reference files and resources that are not part of the distributed GRASSMARLIN source (copies of the JDK and jnetpcap binaries, for example). It should, however, contain enough information to help you get your own development environment up and running.

Also ensure that you are using JDK 1.8.66 or newer; earlier versions will generally result in a compilation error where there is an attempt to access a private method.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants