I'm assuming that you've imported the Server class. If you haven't, do that, but if you have, then you need to check if there's an actual "getCycleEventManager" instance in the Server class.
Come back when you have done all of that and give me an update.