Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ERROR] COMPILATION ERROR MainStatistics #2

Open
marmhm opened this issue Jun 26, 2022 · 3 comments
Open

[ERROR] COMPILATION ERROR MainStatistics #2

marmhm opened this issue Jun 26, 2022 · 3 comments

Comments

@marmhm
Copy link
Collaborator

marmhm commented Jun 26, 2022

Hi,
Running this code in MainStatistics.java :

IterateQueriesFromWikidataLog.processFromFile(new GZIPInputStream(in),collector);

getting Build COMPILATION ERROR :

[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/jovyan/work/persistent/visitor/src/main/java/nl/cochez/query_processing/metadata/MainStatistics.java:[117,67] cannot find symbol
  symbol:   class GZIPInputStream
  location: class nl.cochez.query_processing.metadata.MainStatistics
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  8.063 s
[INFO] Finished at: 2022-06-26T12:45:12Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project metadata: Compilation failure
[ERROR] /home/jovyan/work/persistent/visitor/src/main/java/nl/cochez/query_processing/metadata/MainStatistics.java:[117,67] cannot find symbol
[ERROR]   symbol:   class GZIPInputStream
[ERROR]   location: class nl.cochez.query_processing.metadata.MainStatistics
[ERROR] 
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
@miselico
Copy link
Owner

miselico commented Jun 26, 2022 via email

@marmhm
Copy link
Collaborator Author

marmhm commented Jun 26, 2022

thanks. after adding import build is successful.
by running

java -jar target/metadata-0.0.1-SNAPSHOT.jar

getting this error:

 no main manifest attribute, in target/metadata-0.0.1-SNAPSHOT.jar

and by this command:

java -jar target/sparql-parser-0.0.1-jar-with-dependencies.jar  

getting this error:

Error: Unable to access jarfile target/sparql-parser-0.0.1-jar-with-dependencies.jar

but I am in the correct folder.

@miselico
Copy link
Owner

miselico commented Jun 26, 2022 via email

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

No branches or pull requests

2 participants