ClassResource(path , getApplication()) will start looking for files in the source folder from the same package where you have your application. ThemeResource would probably be more appropriate for images. ThemeResource looks for files within your custom theme, see
the chapter on themes in the Book of Vaadin.
You don’t need to copy the entire reindeer themes folder to be able to extend it. Just create the testtheme -folder under the themes-folder (as you’ve done) and in that folder create a file called “styles.css”. That file should contain the following row, nothing else:
@import url(../reindeer/styles.css);
To access the icon, you should use the ThemeResource and not ClassResource.
Embedded logo = new Embedded("logo-aviones", new ThemeResource("img/aviones.jpg"));
logo.setType(Embedded.TYPE_IMAGE);