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

Cannot compile the project on master branch #1

Open
dragoon opened this issue Dec 1, 2016 · 1 comment
Open

Cannot compile the project on master branch #1

dragoon opened this issue Dec 1, 2016 · 1 comment

Comments

@dragoon
Copy link

dragoon commented Dec 1, 2016

Hello, I've tried to compile the project with maven and I had the following error:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.227 s
[INFO] Finished at: 2016-12-01T14:10:46+01:00
[INFO] Final Memory: 23M/310M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project EntityLinking: Compilation failure: Compilation failure:
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/corpus/Annotation.java:[18,49] type variables.AbstractVariable does not take parameters
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/EditDistanceTemplate.java:[18,15] cannot find symbol
[ERROR] symbol:   class AbstractFactor
[ERROR] location: package factors
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/EditDistanceTemplate.java:[19,20] package factors.impl does not exist
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/EditDistanceTemplate.java:[33,69] wrong number of type arguments; required 3
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/EditDistanceTemplate.java:[37,30] cannot find symbol
[ERROR] symbol:   class AbstractFactor
[ERROR] location: class de.citec.sc.templates.EditDistanceTemplate
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/EditDistanceTemplate.java:[47,51] cannot find symbol
[ERROR] symbol:   class AbstractFactor
[ERROR] location: class de.citec.sc.templates.EditDistanceTemplate
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/factors/DoubleVariableFactor.java:[6,15] cannot find symbol
[ERROR] symbol:   class AbstractFactor
[ERROR] location: package factors
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/factors/DoubleVariableFactor.java:[11,43] cannot find symbol
[ERROR] symbol: class AbstractFactor
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/factors/DoubleVariableFactor.java:[25,53] wrong number of type arguments; required 3
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/IndexRankTemplate.java:[17,15] cannot find symbol
[ERROR] symbol:   class AbstractFactor
[ERROR] location: package factors
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/IndexRankTemplate.java:[18,20] package factors.impl does not exist
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/IndexRankTemplate.java:[26,66] wrong number of type arguments; required 3
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/IndexRankTemplate.java:[36,30] cannot find symbol
[ERROR] symbol:   class AbstractFactor
[ERROR] location: class de.citec.sc.templates.IndexRankTemplate
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/IndexRankTemplate.java:[45,51] cannot find symbol
[ERROR] symbol:   class AbstractFactor
[ERROR] location: class de.citec.sc.templates.IndexRankTemplate
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/TopicSpecificPageRankTemplate.java:[25,15] cannot find symbol
[ERROR] symbol:   class AbstractFactor
[ERROR] location: package factors
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/TopicSpecificPageRankTemplate.java:[38,78] wrong number of type arguments; required 3
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/TopicSpecificPageRankTemplate.java:[132,30] cannot find symbol
[ERROR] symbol:   class AbstractFactor
[ERROR] location: class de.citec.sc.templates.TopicSpecificPageRankTemplate
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/TopicSpecificPageRankTemplate.java:[147,51] cannot find symbol
[ERROR] symbol:   class AbstractFactor
[ERROR] location: class de.citec.sc.templates.TopicSpecificPageRankTemplate
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/DocumentSimilarityTemplate.java:[30,15] cannot find symbol
[ERROR] symbol:   class AbstractFactor
[ERROR] location: package factors
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/DocumentSimilarityTemplate.java:[31,20] package factors.impl does not exist
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/DocumentSimilarityTemplate.java:[41,75] wrong number of type arguments; required 3
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/DocumentSimilarityTemplate.java:[86,30] cannot find symbol
[ERROR] symbol:   class AbstractFactor
[ERROR] location: class de.citec.sc.templates.DocumentSimilarityTemplate
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/DocumentSimilarityTemplate.java:[96,51] cannot find symbol
[ERROR] symbol:   class AbstractFactor
[ERROR] location: class de.citec.sc.templates.DocumentSimilarityTemplate
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/LuceneScoreTemplate.java:[13,15] cannot find symbol
[ERROR] symbol:   class AbstractFactor
[ERROR] location: package factors
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/LuceneScoreTemplate.java:[14,20] package factors.impl does not exist
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/LuceneScoreTemplate.java:[40,68] wrong number of type arguments; required 3
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/LuceneScoreTemplate.java:[51,26] cannot find symbol
[ERROR] symbol:   class AbstractFactor
[ERROR] location: class de.citec.sc.templates.LuceneScoreTemplate
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/LuceneScoreTemplate.java:[61,47] cannot find symbol
[ERROR] symbol:   class AbstractFactor
[ERROR] location: class de.citec.sc.templates.LuceneScoreTemplate
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/PageRankTemplate.java:[11,15] cannot find symbol
[ERROR] symbol:   class AbstractFactor
[ERROR] location: package factors
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/PageRankTemplate.java:[12,20] package factors.impl does not exist
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/PageRankTemplate.java:[39,65] wrong number of type arguments; required 3
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/PageRankTemplate.java:[53,26] cannot find symbol
[ERROR] symbol:   class AbstractFactor
[ERROR] location: class de.citec.sc.templates.PageRankTemplate
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/PageRankTemplate.java:[63,47] cannot find symbol
[ERROR] symbol:   class AbstractFactor
[ERROR] location: class de.citec.sc.templates.PageRankTemplate
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/corpus/Annotation.java:[85,5] method does not override or implement a method from a supertype
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/corpus/Annotation.java:[95,5] method does not override or implement a method from a supertype
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/corpus/Annotation.java:[100,13] cannot find symbol
[ERROR] symbol:   method getClass()
[ERROR] location: class de.citec.sc.corpus.Annotation
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/corpus/Annotation.java:[121,5] method does not override or implement a method from a supertype
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/corpus/Annotation.java:[123,22] cannot find symbol
[ERROR] symbol:   variable id
[ERROR] location: class de.citec.sc.corpus.Annotation
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/corpus/Annotation.java:[127,73] cannot find symbol
[ERROR] symbol:   variable id
[ERROR] location: class de.citec.sc.corpus.Annotation
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/variables/State.java:[54,17] no suitable constructor found for AbstractState(no arguments)
[ERROR] constructor variables.AbstractState.AbstractState(corpus.Instance) is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] constructor variables.AbstractState.AbstractState(variables.AbstractState) is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/variables/State.java:[69,44] cannot find symbol
[ERROR] symbol:   method getID()
[ERROR] location: variable e of type de.citec.sc.corpus.Annotation
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/variables/State.java:[87,36] cannot find symbol
[ERROR] symbol:   method getID()
[ERROR] location: variable entity of type de.citec.sc.corpus.Annotation
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/variables/State.java:[94,39] cannot find symbol
[ERROR] symbol:   method getID()
[ERROR] location: variable entity of type de.citec.sc.corpus.Annotation
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/EditDistanceTemplate.java:[36,9] method does not override or implement a method from a supertype
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/EditDistanceTemplate.java:[38,21] cannot find symbol
[ERROR] symbol:   class AbstractFactor
[ERROR] location: class de.citec.sc.templates.EditDistanceTemplate
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/EditDistanceTemplate.java:[40,41] cannot find symbol
[ERROR] symbol:   class SingleVariableFactor
[ERROR] location: class de.citec.sc.templates.EditDistanceTemplate
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/EditDistanceTemplate.java:[46,9] method does not override or implement a method from a supertype
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/EditDistanceTemplate.java:[48,42] cannot find symbol
[ERROR] symbol:   class SingleVariableFactor
[ERROR] location: class de.citec.sc.templates.EditDistanceTemplate
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/EditDistanceTemplate.java:[49,25] cannot find symbol
[ERROR] symbol:   class SingleVariableFactor
[ERROR] location: class de.citec.sc.templates.EditDistanceTemplate
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/EditDistanceTemplate.java:[49,56] cannot find symbol
[ERROR] symbol:   class SingleVariableFactor
[ERROR] location: class de.citec.sc.templates.EditDistanceTemplate
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/sampling/AllScoresExplorer.java:[90,74] cannot find symbol
[ERROR] symbol:   method getID()
[ERROR] location: variable a of type de.citec.sc.corpus.Annotation
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/factors/DoubleVariableFactor.java:[32,9] method does not override or implement a method from a supertype
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/factors/DoubleVariableFactor.java:[40,9] method does not override or implement a method from a supertype
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/sampling/EmptyURIInitializer.java:[11,67] type argument de.citec.sc.variables.State is not within bounds of type-variable StateT
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/sampling/DisambiguationExplorer.java:[50,90] cannot find symbol
[ERROR] symbol:   method getID()
[ERROR] location: variable a of type de.citec.sc.corpus.Annotation
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/IndexRankTemplate.java:[35,9] method does not override or implement a method from a supertype
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/IndexRankTemplate.java:[37,21] cannot find symbol
[ERROR] symbol:   class AbstractFactor
[ERROR] location: class de.citec.sc.templates.IndexRankTemplate
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/IndexRankTemplate.java:[39,41] cannot find symbol
[ERROR] symbol:   class SingleVariableFactor
[ERROR] location: class de.citec.sc.templates.IndexRankTemplate
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/IndexRankTemplate.java:[44,9] method does not override or implement a method from a supertype
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/IndexRankTemplate.java:[46,42] cannot find symbol
[ERROR] symbol:   class SingleVariableFactor
[ERROR] location: class de.citec.sc.templates.IndexRankTemplate
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/IndexRankTemplate.java:[47,25] cannot find symbol
[ERROR] symbol:   class SingleVariableFactor
[ERROR] location: class de.citec.sc.templates.IndexRankTemplate
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/IndexRankTemplate.java:[47,56] cannot find symbol
[ERROR] symbol:   class SingleVariableFactor
[ERROR] location: class de.citec.sc.templates.IndexRankTemplate
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/BIREMain.java:[144,46] wrong number of type arguments; required 3
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/BIREMain.java:[158,30] wrong number of type arguments; required 2
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/BIREMain.java:[163,31] type learning.scorer.Scorer does not take parameters
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/BIREMain.java:[163,65] cannot infer type arguments for learning.scorer.DefaultScorer
[ERROR] reason: cannot use '<>' with non-generic class learning.scorer.DefaultScorer
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/BIREMain.java:[169,47] type argument de.citec.sc.variables.State is not within bounds of type-variable StateT
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/BIREMain.java:[205,39] wrong number of type arguments; required 3
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/BIREMain.java:[212,40] type argument de.citec.sc.variables.State is not within bounds of type-variable StateT
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/TopicSpecificPageRankTemplate.java:[131,9] method does not override or implement a method from a supertype
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/TopicSpecificPageRankTemplate.java:[134,21] cannot find symbol
[ERROR] symbol:   class AbstractFactor
[ERROR] location: class de.citec.sc.templates.TopicSpecificPageRankTemplate
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/TopicSpecificPageRankTemplate.java:[146,9] method does not override or implement a method from a supertype
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/TopicSpecificPageRankTemplate.java:[212,31] cannot find symbol
[ERROR] symbol:   method setFeatures(learning.Vector)
[ERROR] location: variable factor of type de.citec.sc.factors.DoubleVariableFactor
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/DocumentSimilarityTemplate.java:[85,9] method does not override or implement a method from a supertype
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/DocumentSimilarityTemplate.java:[87,21] cannot find symbol
[ERROR] symbol:   class AbstractFactor
[ERROR] location: class de.citec.sc.templates.DocumentSimilarityTemplate
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/DocumentSimilarityTemplate.java:[89,41] cannot find symbol
[ERROR] symbol:   class SingleVariableFactor
[ERROR] location: class de.citec.sc.templates.DocumentSimilarityTemplate
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/DocumentSimilarityTemplate.java:[95,9] method does not override or implement a method from a supertype
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/DocumentSimilarityTemplate.java:[97,42] cannot find symbol
[ERROR] symbol:   class SingleVariableFactor
[ERROR] location: class de.citec.sc.templates.DocumentSimilarityTemplate
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/DocumentSimilarityTemplate.java:[98,25] cannot find symbol
[ERROR] symbol:   class SingleVariableFactor
[ERROR] location: class de.citec.sc.templates.DocumentSimilarityTemplate
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/DocumentSimilarityTemplate.java:[98,56] cannot find symbol
[ERROR] symbol:   class SingleVariableFactor
[ERROR] location: class de.citec.sc.templates.DocumentSimilarityTemplate
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/LuceneScoreTemplate.java:[50,5] method does not override or implement a method from a supertype
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/LuceneScoreTemplate.java:[52,13] cannot find symbol
[ERROR] symbol:   class AbstractFactor
[ERROR] location: class de.citec.sc.templates.LuceneScoreTemplate
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/LuceneScoreTemplate.java:[54,29] cannot find symbol
[ERROR] symbol:   class SingleVariableFactor
[ERROR] location: class de.citec.sc.templates.LuceneScoreTemplate
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/LuceneScoreTemplate.java:[60,5] method does not override or implement a method from a supertype
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/LuceneScoreTemplate.java:[62,34] cannot find symbol
[ERROR] symbol:   class SingleVariableFactor
[ERROR] location: class de.citec.sc.templates.LuceneScoreTemplate
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/LuceneScoreTemplate.java:[64,13] cannot find symbol
[ERROR] symbol:   class SingleVariableFactor
[ERROR] location: class de.citec.sc.templates.LuceneScoreTemplate
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/LuceneScoreTemplate.java:[64,44] cannot find symbol
[ERROR] symbol:   class SingleVariableFactor
[ERROR] location: class de.citec.sc.templates.LuceneScoreTemplate
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/sampling/DisambiguationInitializer.java:[15,73] type argument de.citec.sc.variables.State is not within bounds of type-variable StateT
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/PageRankTemplate.java:[52,5] method does not override or implement a method from a supertype
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/PageRankTemplate.java:[54,13] cannot find symbol
[ERROR] symbol:   class AbstractFactor
[ERROR] location: class de.citec.sc.templates.PageRankTemplate
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/PageRankTemplate.java:[56,29] cannot find symbol
[ERROR] symbol:   class SingleVariableFactor
[ERROR] location: class de.citec.sc.templates.PageRankTemplate
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/PageRankTemplate.java:[62,5] method does not override or implement a method from a supertype
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/PageRankTemplate.java:[64,34] cannot find symbol
[ERROR] symbol:   class SingleVariableFactor
[ERROR] location: class de.citec.sc.templates.PageRankTemplate
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/PageRankTemplate.java:[66,13] cannot find symbol
[ERROR] symbol:   class SingleVariableFactor
[ERROR] location: class de.citec.sc.templates.PageRankTemplate
[ERROR] /Users/dragoon/Projects/NED/src/main/java/de/citec/sc/templates/PageRankTemplate.java:[66,44] cannot find symbol
[ERROR] symbol:   class SingleVariableFactor
[ERROR] location: class de.citec.sc.templates.PageRankTemplate
[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

I first had to check out the BIRE project (master branch) and did mvn install on it.
Could you please help me solve this problem?

@sherzod-hakimov
Copy link
Contributor

Hi,

try using efficient-factor-handling branches on both projects.

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