-
Notifications
You must be signed in to change notification settings - Fork 0
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
Comments
Did you add the import for the java.util.zip.GZIPInputStream ?
…On Sun, Jun 26, 2022, 14:53 Maryam ***@***.***> wrote:
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
—
Reply to this email directly, view it on GitHub
<#2>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA5VU23TPENJLZKGMY5LVFTVRBHEDANCNFSM5Z343Y6A>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
thanks. after adding import build is successful.
getting this error:
and by this command:
getting this error:
but I am in the correct folder. |
The issue is that the created jar file does not include the dependencies.
I suggest importing the project into an editor like eclipse and let it take
care of running with dependencies.
…On Sun, Jun 26, 2022, 15:44 Maryam ***@***.***> wrote:
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.
—
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA5VU24OBVURVFK25B6CXJTVRBNDPANCNFSM5Z343Y6A>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Running this code in MainStatistics.java :
getting Build COMPILATION ERROR :
The text was updated successfully, but these errors were encountered: