[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ particlefiltering ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 4 source files to D:\Downloads\Compressed\Neo4j-ParticleFiltering\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /D:/Downloads/Compressed/Neo4j-ParticleFiltering/src/main/java/pfiltering/ParticleFilteringUnlabelled.java:[80,31] cannot find symbol
symbol: variable n
location: class pfiltering.ParticleFilteringUnlabelled
[ERROR] /D:/Downloads/Compressed/Neo4j-ParticleFiltering/src/main/java/pfiltering/ParticleFilteringUnlabelled.java:[81,31] cannot find symbol
symbol: variable n
location: class pfiltering.ParticleFilteringUnlabelled
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.782 s
[INFO] Finished at: 2022-05-15T14:09:43+03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project particlefiltering: Compilation failure: Compilation failure:
[ERROR] /D:/Downloads/Compressed/Neo4j-ParticleFiltering/src/main/java/pfiltering/ParticleFilteringUnlabelled.java:[80,31] cannot find symbol
[ERROR] symbol: variable n
[ERROR] location: class pfiltering.ParticleFilteringUnlabelled
[ERROR] /D:/Downloads/Compressed/Neo4j-ParticleFiltering/src/main/java/pfiltering/ParticleFilteringUnlabelled.java:[81,31] cannot find symbol
[ERROR] symbol: variable n
[ERROR] location: class pfiltering.ParticleFilteringUnlabelled
[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
Versions:
Apache Maven 3.8.5
Java version: 17.0.2
Windows 10
Any ideas on what is causing this issue and how to fix it?
What I did to make it compile was defining n in Neo4j-ParticleFiltering\src\main\java\pfiltering\ParticleFilteringUnlabelled.java as follows in line 80:
Error log
Versions: Apache Maven 3.8.5 Java version: 17.0.2 Windows 10
Any ideas on what is causing this issue and how to fix it?
What I did to make it compile was defining n in Neo4j-ParticleFiltering\src\main\java\pfiltering\ParticleFilteringUnlabelled.java as follows in line 80:
However, does this give the intended behavior?
Thank you and my regards, Assaad