AutoFeedback API

Logs 91b67f1a-c5c9-4ca9-86d3-98aa2b648a75

18:54:23 [PREPARING] [INFO] Scanning for projects...
18:54:23 [PREPARING] [INFO]
18:54:23 [PREPARING] [INFO] ---------------< ch.fhnw.prog1.exercise:lists-sets-maps >---------------
18:54:23 [PREPARING] [INFO] Building lists-sets-maps 1.0-SNAPSHOT
18:54:23 [PREPARING] [INFO]   from pom.xml
18:54:23 [PREPARING] [INFO] --------------------------------[ jar ]---------------------------------
18:54:25 [PREPARING] [INFO]
18:54:25 [PREPARING] [INFO] --- clean:3.2.0:clean (default-clean) @ lists-sets-maps ---
18:54:25 [PREPARING] [INFO]
18:54:25 [PREPARING] [INFO] --- resources:3.4.0:resources (default-resources) @ lists-sets-maps ---
18:54:26 [PREPARING] [INFO] skip non existing resourceDirectory /git_11890472828416541585/src/main/resources
18:54:26 [PREPARING] [INFO]
18:54:26 [PREPARING] [INFO] --- compiler:3.15.0:compile (default-compile) @ lists-sets-maps ---
18:54:27 [PREPARING] [INFO] Recompiling the module because of changed source code.
18:54:27 [PREPARING] [INFO] Compiling 2 source files with javac [debug target 25] to target/classes
18:54:27 [PREPARING] [INFO] -------------------------------------------------------------
18:54:27 [PREPARING] [ERROR] COMPILATION ERROR :
18:54:27 [PREPARING] [INFO] -------------------------------------------------------------
18:54:27 [PREPARING] [ERROR] /git_11890472828416541585/src/main/java/ch/fhnw/prog1/exercise/eratosthenes/Eratosthenes.java:[9,9] statements not expected outside of methods and initializers
18:54:27 [PREPARING] [ERROR] /git_11890472828416541585/src/main/java/ch/fhnw/prog1/exercise/eratosthenes/Eratosthenes.java:[13,9] statements not expected outside of methods and initializers
18:54:27 [PREPARING] [ERROR] /git_11890472828416541585/src/main/java/ch/fhnw/prog1/exercise/eratosthenes/Eratosthenes.java:[22,9] statements not expected outside of methods and initializers
18:54:27 [PREPARING] [ERROR] /git_11890472828416541585/src/main/java/ch/fhnw/prog1/exercise/eratosthenes/Eratosthenes.java:[28,9] statements not expected outside of methods and initializers
18:54:27 [PREPARING] [INFO] 4 errors
18:54:27 [PREPARING] [INFO] -------------------------------------------------------------
18:54:27 [PREPARING] [INFO] ------------------------------------------------------------------------
18:54:27 [PREPARING] [INFO] BUILD FAILURE
18:54:27 [PREPARING] [INFO] ------------------------------------------------------------------------
18:54:27 [PREPARING] [INFO] Total time:  4.234 s
18:54:27 [PREPARING] [INFO] Finished at: 2026-03-29T18:54:27Z
18:54:27 [PREPARING] [INFO] ------------------------------------------------------------------------
18:54:27 [PREPARING] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.15.0:compile (default-compile) on project lists-sets-maps: Compilation failure: Compilation failure:
18:54:27 [PREPARING] [ERROR] /git_11890472828416541585/src/main/java/ch/fhnw/prog1/exercise/eratosthenes/Eratosthenes.java:[9,9] statements not expected outside of methods and initializers
18:54:27 [PREPARING] [ERROR] /git_11890472828416541585/src/main/java/ch/fhnw/prog1/exercise/eratosthenes/Eratosthenes.java:[13,9] statements not expected outside of methods and initializers
18:54:27 [PREPARING] [ERROR] /git_11890472828416541585/src/main/java/ch/fhnw/prog1/exercise/eratosthenes/Eratosthenes.java:[22,9] statements not expected outside of methods and initializers
18:54:27 [PREPARING] [ERROR] /git_11890472828416541585/src/main/java/ch/fhnw/prog1/exercise/eratosthenes/Eratosthenes.java:[28,9] statements not expected outside of methods and initializers
18:54:27 [PREPARING] [ERROR] -> [Help 1]
18:54:27 [PREPARING] [ERROR]
18:54:27 [PREPARING] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
18:54:27 [PREPARING] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
18:54:27 [PREPARING] [ERROR]
18:54:27 [PREPARING] [ERROR] For more information about the errors and possible solutions, please read the following articles:
18:54:27 [PREPARING] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
18:54:27 [PREPARING] Failed to build student submission
18:54:27 [PREPARING]     HINT: ensure your code can be compiled locally before running AutoFeedback evaluation