Make sure you have completed prerequisites (see Prerequisites) and created a starter project (see Create a starting point Spring project).
You also need to decide if you want to use pure Java event handlers or Spring Integration event handlers. For more information, see Pure Java event handlers and Spring Integration event handlers.