Failed to load Widgetsets in maven project in eclipse

前端 未结 3 1208
情书的邮戳
情书的邮戳 2021-01-06 15:11

I have created a vaadin web application using maven in eclipse. In particular I have used the archetype vaadin-archetype-touchkit as described in t

3条回答
  •  不要未来只要你来
    2021-01-06 15:26

    here is the readme in the root of the project

    To compile the entire project, run "mvn install". To run the application, run "mvn jetty:run" and open http://localhost:8080/ .

    To develop the theme, simply update the relevant theme files and reload the application. Pre-compiling a theme eliminates automatic theme updates at runtime - see below for more information.

    Debugging client side code - run "mvn vaadin:run-codeserver" on a separate console while the application is running - activate Super Dev Mode in the debug window of the application

    To produce a deployable production mode WAR: - change productionMode to true in the servlet class configuration (nested in the UI class) - run "mvn clean vaadin:compile-theme package" - See below for more information. Running "mvn clean" removes the pre-compiled theme. - test with "mvn jetty:run-war

    follow the instruction and you will get the correct page : )

提交回复
热议问题