Halite Home

Java MyBot compiling, but can't find or load main class


#1

I have made some edits to a bot that worked before, but after several attempts at uploading, I am continually getting this error log for every game:

--- Init ---
Error: Could not find or load main class MyBot
--- Bot used 0 milliseconds ---


--- Frame #1 ---

ERRORED!
No response received.

The bot compiles and runs successfully locally, and I am including all of the files in the zipped folder. I am getting a compile success message as well. Many other bots seem to be having a similar problem. Any help would be greatly appreciated! :smile:


#2

I will look at how our servers have compiled your bot as soon as I can get to a computer.


#3

The problem was that you had some files that were called things like ProductionBot.java, but they implemented the class MyBot.

There was a bug in our compilation system that was keeping us from reporting this compilation error. It's pushed. Am waiting for the CI to turn green. Will let you know when it's live.


#4

Oh! Excellent, thanks! I'll get to fixing that.


#5

The compiler error reporting fix is live.