Proper ways to reference resource url for Image in v14?

Image image = new Image("./src/styles/newuser.png", "Image not found");

Whats the proper way to reference a static resource from a java class such as in the example above? I have also tried using notations of past vaading versions but that does not work either.

For those of you who are using v14 and are experiencing the same problem I have a solution. Create a frontend folder in src/main/webapp and then reference your resource as

Image image = new Image("frontend/newuser.png" , "Image not found");

In v14 the frontend folder was moved to directly underneath the main project file so I thought all resources should be placed there, I was wrong.