cltl / EventCoreference

Compares descriptions of events within and across documents to decide if they refer to the same events.
Apache License 2.0
19 stars 9 forks source link

installation fails #4

Closed vanatteveldt closed 8 years ago

vanatteveldt commented 8 years ago

Installation with install.sh fails on a freshly cloned installation:

#1. compiling the library from source code and dependencies
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building EventCoreference and NAF2SEM-GRASP v3.0
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ EventCoreference ---
[INFO] Deleting /home/wva/newsreader_pipe_nl/modules/EventCoreference/target
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.308 s
[INFO] Finished at: 2016-06-23T17:13:22+02:00
[INFO] Final Memory: 6M/145M
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building EventCoreference and NAF2SEM-GRASP v3.0
[INFO] ------------------------------------------------------------------------
Downloading: https://jitpack.io/com/github/cltl/WordnetTools/v3.0/WordnetTools-v3.0.pom
Downloaded: https://jitpack.io/com/github/cltl/WordnetTools/v3.0/WordnetTools-v3.0.pom (3 KB at 7.1 KB/sec)
Downloading: https://jitpack.io/com/github/cltl/WordnetTools/v3.0/WordnetTools-v3.0.jar
Downloaded: https://jitpack.io/com/github/cltl/WordnetTools/v3.0/WordnetTools-v3.0.jar (209 KB at 461.5 KB/sec)
[INFO] 
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ EventCoreference ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.0:compile (default-compile) @ EventCoreference ---
Compiling 123 source files to /home/wva/newsreader_pipe_nl/modules/EventCoreference/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.436 s
[INFO] Finished at: 2016-06-23T17:13:28+02:00
[INFO] Final Memory: 19M/210M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0:compile (default-compile) on project EventCoreference: Compilation failure: Compilation failure:
[ERROR] /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/objects/SemObject.java:[158,50] error: cannot find symbol
[ERROR] 
[ERROR] could not parse error message:   symbol:   variable PAST
[ERROR] location: class KafFactValue
[ERROR] /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/objects/SemObject.java:170: error: cannot find symbol
[ERROR] kafFactValue.setValue(KafFactValue.PAST);
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   variable PAST
[ERROR] location: class KafFactValue
[ERROR] /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/objects/SemObject.java:177: error: cannot find symbol
[ERROR] kafFactValue.setValue(KafFactValue.PAST);
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   variable PAST
[ERROR] location: class KafFactValue
[ERROR] /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/objects/SemObject.java:197: error: cannot find symbol
[ERROR] kafFactValue.setValue(KafFactValue.RECENT);
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   variable RECENT
[ERROR] location: class KafFactValue
[ERROR] /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/objects/SemObject.java:211: error: cannot find symbol
[ERROR] kafFactValue.setValue(KafFactValue.RECENT);
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   variable RECENT
[ERROR] location: class KafFactValue
[ERROR] /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/objects/SemObject.java:218: error: cannot find symbol
[ERROR] kafFactValue.setValue(KafFactValue.RECENT);
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   variable RECENT
[ERROR] location: class KafFactValue
[ERROR] /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/objects/NafMention.java:281: error: cannot find symbol
[ERROR] if (value.equals(KafFactValue.RECENT) && topValue.equals(KafFactValue.PAST)) {
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   variable RECENT
[ERROR] location: class KafFactValue
[ERROR] /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/objects/NafMention.java:281: error: cannot find symbol
[ERROR] if (value.equals(KafFactValue.RECENT) && topValue.equals(KafFactValue.PAST)) {
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   variable PAST
[ERROR] location: class KafFactValue
[ERROR] /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/objects/NafMention.java:282: error: cannot find symbol
[ERROR] topValue = KafFactValue.RECENT;
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   variable RECENT
[ERROR] location: class KafFactValue
[ERROR] /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/objects/NafMention.java:451: error: cannot find symbol
[ERROR] if (value.equals(KafFactValue.RECENT) && topValue.equals(KafFactValue.PAST)) {
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   variable RECENT
[ERROR] location: class KafFactValue
[ERROR] /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/objects/NafMention.java:451: error: cannot find symbol
[ERROR] if (value.equals(KafFactValue.RECENT) && topValue.equals(KafFactValue.PAST)) {
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   variable PAST
[ERROR] location: class KafFactValue
[ERROR] /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/objects/NafMention.java:452: error: cannot find symbol
[ERROR] topValue = KafFactValue.RECENT;
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   variable RECENT
[ERROR] location: class KafFactValue
[ERROR] /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/objects/NafMention.java:454: error: cannot find symbol
[ERROR] else if (value.equals(KafFactValue.RECENT) && topValue.equals(KafFactValue.NON_FUTURE)) {
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   variable RECENT
[ERROR] location: class KafFactValue
[ERROR] /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/objects/NafMention.java:455: error: cannot find symbol
[ERROR] topValue = KafFactValue.RECENT;
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   variable RECENT
[ERROR] location: class KafFactValue
[ERROR] /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/objects/NafMention.java:457: error: cannot find symbol
[ERROR] else if (value.equals(KafFactValue.PAST) && topValue.equals(KafFactValue.NON_FUTURE)) {
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   variable PAST
[ERROR] location: class KafFactValue
[ERROR] /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/objects/NafMention.java:458: error: cannot find symbol
[ERROR] topValue = KafFactValue.PAST;
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   variable PAST
[ERROR] location: class KafFactValue
[ERROR] /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/naf/GetPerspectiveRelations.java:175: error: cannot find symbol
[ERROR] String lemma = kafSaxParser.getLemma(kafEvent.getSpanIds());
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   method getLemma(ArrayList<String>)
[ERROR] location: variable kafSaxParser of type KafSaxParser
[ERROR] /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/naf/GetPerspectiveRelations.java:249: error: cannot find symbol
[ERROR] String lemma = kafSaxParser.getLemma(kafEvent.getSpanIds());
[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
vanatteveldt commented 8 years ago

paul@huygen.nl Jun 28 (8 days ago)

Ik heb de vrijheid genomen om de KafSaxParser Master head van een tag “v3.1” te voorzien en die versie te gebruiken in de pom van EventCoreference (die ook maar tag “v3.1” gegeven). Nu werkt het.