Vaadin 7 - the requested resource was not found

Everything was perfect until this morning. Here is what I found when running my application on a Tomcat server:

INFO: Requested resource [/VAADIN/themes/connect/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.

The project is on SVN, and it works great on all PCs! I deleted all ecplise, remote cache and stuff ... but still could not solve this problem!

Why doesn't he download this damn .css ??

+4
source share
2 answers

Are you sure the styles.css file exists in the path /VAADIN/themes/connect/styles.css ? If not, you can always compile your themes using mvn vaadin:compile-theme .

0
source

If you are using Maven, try running mvn clean install to compile the widget. If you do not want to use the command line, right-click in your project, Run as> Install Maven.

If you are not using Maven, open your widget file and click the gear icon in the eclipse menu.

0
source

Source: https://habr.com/ru/post/1489661/


All Articles