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

Error while building the project #1

Open
shdotcom opened this issue Nov 1, 2018 · 1 comment
Open

Error while building the project #1

shdotcom opened this issue Nov 1, 2018 · 1 comment

Comments

@shdotcom
Copy link

shdotcom commented Nov 1, 2018

Hi,
would you please check these errors, I am using IntelliJ IDE, I have got these error messages when I build the project:

Information:java: Errors occurred while compiling module 'java-moea'
Information:javac 1.8.0_192 was used to compile java sources
Information:01/11/2018 07:24 - Compilation completed with 100 errors and 0 warnings in 8 s 532 ms
D:\java-moea-master\src\main\java\com\github\chen0040\moea\problems\SYMPART.java
D:\java-moea-master\src\main\java\com\github\chen0040\moea\components\Solution.java
Error:(4, 14) java: package lombok does not exist
Error:(5, 14) java: package lombok does not exist
Error:(6, 14) java: package lombok does not exist
Error:(16, 2) java: cannot find symbol
symbol: class Setter
Error:(17, 2) java: cannot find symbol
symbol: class Getter
Error:(22, 5) java: cannot find symbol
symbol: class Setter
location: class com.github.chen0040.moea.components.Solution
Error:(25, 5) java: cannot find symbol
symbol: class Setter
location: class com.github.chen0040.moea.components.Solution
Error:(28, 5) java: cannot find symbol
symbol: class Setter
location: class com.github.chen0040.moea.components.Solution
Error:(29, 5) java: cannot find symbol
symbol: class Getter
location: class com.github.chen0040.moea.components.Solution
Error:(55, 39) java: cannot find symbol
symbol: method getDimension()
location: variable mediator of type com.github.chen0040.moea.components.Mediator
Error:(65, 39) java: cannot find symbol
symbol: method getDimension()
location: variable mediator of type com.github.chen0040.moea.components.Mediator
Error:(68, 45) java: cannot find symbol
symbol: method getMutationRate()
location: variable mediator of type com.github.chen0040.moea.components.Mediator
Error:(129, 37) java: cannot find symbol
symbol: method getObjectiveCount()
location: variable mediator of type com.github.chen0040.moea.components.Mediator
Error:(142, 37) java: cannot find symbol
symbol: method getObjectiveCount()
location: variable mediator of type com.github.chen0040.moea.components.Mediator
D:\java-moea-master\src\main\java\com\github\chen0040\moea\components\Mediator.java
Error:(9, 14) java: package lombok does not exist
Error:(10, 14) java: package lombok does not exist
Error:(20, 2) java: cannot find symbol
symbol: class Getter
Error:(21, 2) java: cannot find symbol
symbol: class Setter
D:\java-moea-master\src\main\java\com\github\chen0040\moea\utils\TournamentSelectionResult.java
Error:(4, 38) java: package com.github.chen0040.data.utils does not exist
Error:(5, 14) java: package lombok does not exist
Error:(6, 14) java: package lombok does not exist
Error:(12, 2) java: cannot find symbol
symbol: class Getter
Error:(13, 2) java: cannot find symbol
symbol: class Setter
Error:(16, 12) java: cannot find symbol
symbol: class TupleTwo
location: class com.github.chen0040.moea.utils.TournamentSelectionResult
Error:(17, 12) java: cannot find symbol
symbol: class TupleTwo
location: class com.github.chen0040.moea.utils.TournamentSelectionResult
D:\java-moea-master\src\main\java\com\github\chen0040\moea\components\Crossover.java
Error:(4, 38) java: package com.github.chen0040.data.utils does not exist
Error:(12, 18) java: cannot find symbol
symbol: class TupleTwo
location: class com.github.chen0040.moea.components.Crossover
Error:(16, 45) java: cannot find symbol
symbol: method getCrossoverType()
location: variable mediator of type com.github.chen0040.moea.components.Mediator
Error:(23, 18) java: cannot find symbol
symbol: class TupleTwo
location: class com.github.chen0040.moea.components.Crossover
D:\java-moea-master\src\main\java\com\github\chen0040\moea\components\Population.java
Error:(4, 38) java: package com.github.chen0040.data.utils does not exist
Error:(6, 14) java: package lombok does not exist
Error:(7, 14) java: package lombok does not exist
Error:(8, 14) java: package lombok does not exist
Error:(21, 2) java: cannot find symbol
symbol: class Getter
Error:(22, 2) java: cannot find symbol
symbol: class Setter
Error:(110, 16) java: cannot find symbol
symbol: class TupleTwo
location: class com.github.chen0040.moea.components.Population
Error:(114, 16) java: cannot find symbol
symbol: class TupleTwo
location: class com.github.chen0040.moea.components.Population
Error:(27, 5) java: cannot find symbol
symbol: class Setter
location: class com.github.chen0040.moea.components.Population
Error:(39, 36) java: cannot find symbol
symbol: method getPopulationSize()
location: variable mediator of type com.github.chen0040.moea.components.Mediator
Error:(115, 12) java: cannot find symbol
symbol: class TupleTwo
location: class com.github.chen0040.moea.components.Population
Error:(118, 25) java: cannot find symbol
symbol: class TupleTwo
location: class com.github.chen0040.moea.components.Population
D:\java-moea-master\src\main\java\com\github\chen0040\moea\algorithms\NSGAII.java
Error:(4, 38) java: package com.github.chen0040.data.utils does not exist
Error:(10, 14) java: package lombok does not exist
Error:(11, 14) java: package lombok does not exist
Error:(12, 14) java: package lombok does not exist
Error:(19, 2) java: cannot find symbol
symbol: class Getter
Error:(20, 2) java: cannot find symbol
symbol: class Setter
Error:(25, 5) java: cannot find symbol
symbol: class Setter
location: class com.github.chen0040.moea.algorithms.NSGAII
Error:(28, 5) java: cannot find symbol
symbol: class Setter
location: class com.github.chen0040.moea.algorithms.NSGAII
Error:(31, 5) java: cannot find symbol
symbol: class Setter
location: class com.github.chen0040.moea.algorithms.NSGAII
Error:(36, 32) java: cannot find symbol
symbol: method getMaxGenerations()
Error:(48, 14) java: cannot find symbol
symbol: method setMediator(com.github.chen0040.moea.algorithms.NSGAII)
location: variable archive of type com.github.chen0040.moea.components.NondominatedPopulation
Error:(51, 17) java: cannot find symbol
symbol: method setMediator(com.github.chen0040.moea.algorithms.NSGAII)
location: variable population of type com.github.chen0040.moea.components.NondominatedSortingPopulation
Error:(61, 16) java: cannot find symbol
symbol: method setMediator(com.github.chen0040.moea.algorithms.NSGAII)
location: variable offspring of type com.github.chen0040.moea.components.Population
Error:(63, 32) java: cannot find symbol
symbol: method getPopulationSize()
Error:(67, 96) java: cannot find symbol
symbol: method getSolutions()
location: variable population of type com.github.chen0040.moea.components.NondominatedSortingPopulation
Error:(67, 117) java: cannot find symbol
symbol: method getRandomGenerator()
Error:(81, 10) java: cannot find symbol
symbol: class TupleTwo
location: class com.github.chen0040.moea.algorithms.NSGAII
Error:(81, 70) java: cannot find symbol
symbol: method getWinners()
location: variable tournament of type com.github.chen0040.moea.utils.TournamentSelectionResult<com.github.chen0040.moea.components.Solution>
Error:(83, 10) java: cannot find symbol
symbol: class TupleTwo
location: class com.github.chen0040.moea.algorithms.NSGAII
Error:(94, 45) java: cannot find symbol
symbol: method getReplacementType()
Error:(107, 33) java: cannot find symbol
symbol: method getSolutions()
location: variable population of type com.github.chen0040.moea.components.Population
Error:(114, 35) java: cannot find symbol
symbol: method getMaxArchive()
Error:(116, 34) java: cannot find symbol
symbol: method getMaxArchive()
Error:(123, 32) java: cannot find symbol
symbol: method getPopulationSize()
Error:(164, 32) java: cannot find symbol
symbol: method getPopulationSize()
D:\java-moea master\src\main\java\com\github\chen0040\moea\components\NondominatedPopulation.java
Error:(6, 14) java: package lombok does not exist
Error:(7, 14) java: package lombok does not exist
Error:(16, 2) java: cannot find symbol
symbol: class Getter
Error:(17, 2) java: cannot find symbol
symbol: class Setter
Error:(92, 37) java: cannot find symbol
symbol: method getObjectiveCount()
location: variable mediator of type com.github.chen0040.moea.components.Mediator
D:\java-moea-master\src\main\java\com\github\chen0040\moea\components\NondominatedSortingPopulation.java
Error:(7, 14) java: package lombok does not exist
Error:(8, 14) java: package lombok does not exist
Error:(14, 2) java: cannot find symbol
symbol: class Getter
Error:(15, 2) java: cannot find symbol
symbol: class Setter
Error:(121, 44) java: cannot find symbol
symbol: method getRank()
location: class com.github.chen0040.moea.components.Solution
Error:(128, 29) java: cannot find symbol
symbol: method getRank()
location: variable solution of type com.github.chen0040.moea.components.Solution
D:\java-moea-master\src\main\java\com\github\chen0040\moea\utils\TournamentSelection.java
Error:(4, 38) java: package com.github.chen0040.data.utils does not exist
D:\java-moea-master\src\main\java\com\github\chen0040\moea\utils\InvertedCompareUtils.java
Error:(4, 38) java: package com.github.chen0040.data.utils does not exist
Error:(17, 18) java: cannot find symbol
symbol: class TupleTwo
location: class com.github.chen0040.moea.utils.InvertedCompareUtils
D:\java-moea-master\src\main\java\com\github\chen0040\moea\exceptions\OutOfRangeException.java
Error:(4, 14) java: package lombok does not exist
Error:(5, 14) java: package lombok does not exist
Error:(11, 2) java: cannot find symbol
symbol: class Getter
Error:(12, 2) java: cannot find symbol
symbol: class Setter
D:\java-moea-master\src\main\java\com\github\chen0040\moea\utils\FastNondominatedSort.java
Error:(31, 38) java: cannot find symbol
symbol: method getMediator()
location: variable population of type com.github.chen0040.moea.components.Population
Error:(41, 21) java: cannot find symbol
symbol: method setRank(int)
location: variable solution of type com.github.chen0040.moea.components.Solution
Error:(59, 21) java: cannot find symbol
symbol: method setCrowdingDistance(double)
location: variable solution of type com.github.chen0040.moea.components.Solution
Error:(64, 47) java: cannot find symbol
symbol: method getCosts()
location: class com.github.chen0040.moea.components.Solution
Error:(68, 21) java: cannot find symbol
symbol: method setCrowdingDistance(double)
location: variable solution of type com.github.chen0040.moea.components.Solution
Error:(82, 25) java: cannot find symbol
symbol: method setCrowdingDistance(double)
location: class com.github.chen0040.moea.components.Solution
Error:(83, 29) java: cannot find symbol
symbol: method setCrowdingDistance(double)
location: class com.github.chen0040.moea.components.Solution
Error:(87, 46) java: cannot find symbol
symbol: method getCrowdingDistance()
location: class com.github.chen0040.moea.components.Solution
Error:(89, 28) java: cannot find symbol
symbol: method setCrowdingDistance(double)
location: class com.github.chen0040.moea.components.Solution
D:\java-moea-master\src\main\java\com\github\chen0040\moea\algorithms\GDE3.java
Error:(22, 28) java: cannot find symbol
symbol: method getPopulationSize()
location: class com.github.chen0040.moea.algorithms.GDE3

@chen0040
Copy link
Owner

chen0040 commented Nov 3, 2018

looks like you are missing the lombok dependencies, pls go to maven central and get the lombok dependencies to be included in your pom or sbt

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