one of 2 things:
either your barracks arent the correct level yet

or,

since EB has historically accurate recruitement zones, it may be that militia hoplites cant be recruited in Sparta.