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

BUILD FAILED #16

Open
Cartus opened this issue Sep 9, 2019 · 0 comments
Open

BUILD FAILED #16

Cartus opened this issue Sep 9, 2019 · 0 comments

Comments

@Cartus
Copy link

Cartus commented Sep 9, 2019

Hi, Thanks for the great work!

When I try to run the script for anonymization:
./rebuild_AmrUtils.sh

I have this build failed:

-do-compile:
[mkdir] Created dir: /home/zhijiang/Desktop/DCGCN/NeuralAmr/java/AmrUtils/build/empty
[mkdir] Created dir: /home/zhijiang/Desktop/DCGCN/NeuralAmr/java/AmrUtils/build/generated-sources/ap-source-output
[javac] Compiling 38 source files to /home/zhijiang/Desktop/DCGCN/NeuralAmr/java/AmrUtils/build/classes
[javac] warning: [options] bootstrap class path not set in conjunction with -source 8
[javac] /home/zhijiang/Desktop/DCGCN/NeuralAmr/java/AmrUtils/src/util/corpus/wrappers/AmrAlignment.java:121: error: ';' expected
[javac] boolean flag = true
[javac] ^
[javac] 1 error
[javac] 1 warning

BUILD FAILED
/home/zhijiang/Desktop/DCGCN/NeuralAmr/java/AmrUtils/nbproject/build-impl.xml:954: The following error occurred while executing this line:
/home/zhijiang/Desktop/DCGCN/NeuralAmr/java/AmrUtils/nbproject/build-impl.xml:294: Compile failed; see the compiler error output for details.

After I add the ';' in the AmrAlignment.java file, another error reported:

-do-compile:
[mkdir] Created dir: /home/zhijiang/Desktop/DCGCN/NeuralAmr/java/AmrUtils/build/empty
[mkdir] Created dir: /home/zhijiang/Desktop/DCGCN/NeuralAmr/java/AmrUtils/build/generated-sources/ap-source-output
[javac] Compiling 38 source files to /home/zhijiang/Desktop/DCGCN/NeuralAmr/java/AmrUtils/build/classes
[javac] warning: [options] bootstrap class path not set in conjunction with -source 8
[javac] /home/zhijiang/Desktop/DCGCN/NeuralAmr/java/AmrUtils/src/util/apps/AmrUtils.java:514: error: incompatible types: Enumeration cannot be converted to Enumeration
[javac] Enumeration traversal = graph.preorderEnumeration();
[javac] ^
[javac] /home/zhijiang/Desktop/DCGCN/NeuralAmr/java/AmrUtils/src/util/corpus/wrappers/Amr.java:303: error: incompatible types: Enumeration cannot be converted to Enumeration
[javac] Enumeration children = node.children();
[javac] ^
[javac] /home/zhijiang/Desktop/DCGCN/NeuralAmr/java/AmrUtils/src/util/corpus/wrappers/AmrLinearize.java:77: error: incompatible types: Enumeration cannot be converted to Enumeration
[javac] Enumeration children = root.children();
[javac] ^
[javac] /home/zhijiang/Desktop/DCGCN/NeuralAmr/java/AmrUtils/src/util/corpus/wrappers/AmrLinearize.java:86: error: incompatible types: Enumeration cannot be converted to Enumeration
[javac] Enumeration grandChildren = child.children();
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 4 errors
[javac] 1 warning

BUILD FAILED
/home/zhijiang/Desktop/DCGCN/NeuralAmr/java/AmrUtils/nbproject/build-impl.xml:954: The following error occurred while executing this line:
/home/zhijiang/Desktop/DCGCN/NeuralAmr/java/AmrUtils/nbproject/build-impl.xml:294: Compile failed; see the compiler error output for details.

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

1 participant