I have a custom theme for my VAADIN application in src / main / webapp / VAADIN / themes / mytheme / with mytheme.scss and styles.scss files. Everything works fine when the vaadin productionMode deployment option is set to false in web.xml. When I set the parameter to true, suddenly Vaadin cannot find the resources for my theme and continues to complain:
Requested resource [/VAADIN/themes/mytheme/styles.css] not found from filesystem or through class loader. Add widgetset and/or theme JAR to your classpath or add files to WebContent/VAADIN folder
I don't have a / WebContent directory, but / webapp instead, since this is a maven web application project. I tried to put the VAADIN folder in:
src / main / resources
src / main / webapp
src / main / webapp / WEB-INF
but nothing works for production mode. Any suggestions? Thank you in advance.
sando.lakatos
source share