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

a problem while #1

Open
xuejiangtao opened this issue Oct 15, 2018 · 6 comments
Open

a problem while #1

xuejiangtao opened this issue Oct 15, 2018 · 6 comments

Comments

@xuejiangtao
Copy link

No description provided.

@xuejiangtao
Copy link
Author

I just follow the guidance to start the CLDIFF,. But when run mvn package, it said
[ERROR] /home/xuejiangtao/CLDIFF-WEB/src/main/java/edu/fdu/se/web/astdiff/ProjectProperties.java:[3,33] Error: package jdk.internal.util.xml.impl not exist
how to solve it?

@kaifeng-h
Copy link
Contributor

It seems to be something related to GBK encoding, thus I have declared the UTF-8 encoding code in pom.xml. Checkout if it works.

@xuejiangtao
Copy link
Author

i think it`s the version of java. The Eclpise reported it

@Symbolk
Copy link
Contributor

Symbolk commented Oct 17, 2018

For this problem, just remove the unused imports in CLDIFF-WEB\src\main\java\edu\fdu\se\web\astdiff\ProjectProperties.java. (Easily done in IDEA by reformatting)

import jdk.internal.util.xml.impl.Input;

import java.io.BufferedInputStream;
import java.io.FileInputStream;
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project CLDIFF-WEB: Compilation failure
[ERROR] /D:/codingspace/CLDIFF-WEB/src/main/java/edu/fdu/se/web/astdiff/ProjectProperties.java:[3,34] package jdk.internal.util.xml.impl not exist
[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

@xuejiangtao
Copy link
Author

now i can generate the 'CLDIFF-WEB.war' and open the http://localhost:8080/indexoffline.html. However unexpected message is shown when I input the commit id... I wonder the commit id was in local repository or a commit in Github?
image

@kaifeng-h
Copy link
Contributor

If you open the 'indexoffline.html', start CLDIFF by running CLDIFFServerOffline.java, and on the web page enter the commit id, not URL

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

3 participants