npe-chatroom Visit https://nulpointerexception.com/2019/05/14/a-tutorial-on-implementing-a-chat-application-like-whatsapp-using-websocket-and-spring/ for complete guide. Run it using: mvn package java -jar target/npe-chatroom-0.0.1-SNAPSHOT.jar