Well i made a backend using spring boot. everything is fine while running it from eclipse... I use the EventListener ApplicationReady Event to start a function in another class.