AutoFeedback API

Logs 61d62a00-576b-4e4f-8e71-1d5d9cf16312

12:05:07 [PREPARING] [INFO] Scanning for projects...
12:05:08 [PREPARING] [INFO]
12:05:08 [PREPARING] [INFO] -----------------------< prog1:objects-classes >------------------------
12:05:08 [PREPARING] [INFO] Building objects-classes 1.0-SNAPSHOT
12:05:08 [PREPARING] [INFO]   from pom.xml
12:05:08 [PREPARING] [INFO] --------------------------------[ jar ]---------------------------------
12:05:25 [PREPARING] [INFO]
12:05:25 [PREPARING] [INFO] --- clean:3.2.0:clean (default-clean) @ objects-classes ---
12:05:25 [PREPARING] [INFO]
12:05:25 [PREPARING] [INFO] --- resources:3.4.0:resources (default-resources) @ objects-classes ---
12:05:27 [PREPARING] [INFO] skip non existing resourceDirectory /git_12955022182514783003/src/main/resources
12:05:27 [PREPARING] [INFO]
12:05:27 [PREPARING] [INFO] --- compiler:3.15.0:compile (default-compile) @ objects-classes ---
12:05:28 [PREPARING] [INFO] Recompiling the module because of changed source code.
12:05:28 [PREPARING] [INFO] Compiling 8 source files with javac [debug release 25] to target/classes
12:05:31 [PREPARING] [INFO] -------------------------------------------------------------
12:05:31 [PREPARING] [ERROR] COMPILATION ERROR :
12:05:31 [PREPARING] [INFO] -------------------------------------------------------------
12:05:31 [PREPARING] [ERROR] /git_12955022182514783003/src/main/java/ch/fhnw/prog1/exercise/energymeter/EnergyMeter.java:[55,8] class Main is public, should be declared in a file named Main.java
12:05:31 [PREPARING] [ERROR] /git_12955022182514783003/src/main/java/ch/fhnw/prog1/exercise/pong/PongGame.java:[82,12] cannot find symbol
12:05:31 [PREPARING] symbol:   method drawStringCentered(java.lang.String,int,int)
12:05:31 [PREPARING] location: variable gui of type ch.trick17.gui.Gui
12:05:31 [PREPARING] [INFO] 2 errors
12:05:31 [PREPARING] [INFO] -------------------------------------------------------------
12:05:31 [PREPARING] [INFO] ------------------------------------------------------------------------
12:05:31 [PREPARING] [INFO] BUILD FAILURE
12:05:31 [PREPARING] [INFO] ------------------------------------------------------------------------
12:05:31 [PREPARING] [INFO] Total time:  23.566 s
12:05:31 [PREPARING] [INFO] Finished at: 2026-05-31T12:05:31Z
12:05:31 [PREPARING] [INFO] ------------------------------------------------------------------------
12:05:31 [PREPARING] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.15.0:compile (default-compile) on project objects-classes: Compilation failure: Compilation failure:
12:05:31 [PREPARING] [ERROR] /git_12955022182514783003/src/main/java/ch/fhnw/prog1/exercise/energymeter/EnergyMeter.java:[55,8] class Main is public, should be declared in a file named Main.java
12:05:31 [PREPARING] [ERROR] /git_12955022182514783003/src/main/java/ch/fhnw/prog1/exercise/pong/PongGame.java:[82,12] cannot find symbol
12:05:31 [PREPARING] [ERROR]   symbol:   method drawStringCentered(java.lang.String,int,int)
12:05:31 [PREPARING] [ERROR]   location: variable gui of type ch.trick17.gui.Gui
12:05:31 [PREPARING] [ERROR] -> [Help 1]
12:05:31 [PREPARING] [ERROR]
12:05:31 [PREPARING] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
12:05:31 [PREPARING] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
12:05:31 [PREPARING] [ERROR]
12:05:31 [PREPARING] [ERROR] For more information about the errors and possible solutions, please read the following articles:
12:05:31 [PREPARING] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
12:05:31 [PREPARING] Failed to build student submission
12:05:31 [PREPARING]     HINT: ensure your code can be compiled locally before running AutoFeedback evaluation