There are already have lots of same topics, I check but cannot fix.
I try to clean install in 2 different env and hit same problem
- all use jdk1.8.0_45 +
eclipse-jee-mars-R-win32-x86_64 + apache-tomcat-8.0.24/eclipse-jee-luna-SR2-win32-x86_64+apache-tomcat-7.0.63 - then go to eclipse market, install Apache IvyDE, then restart. Vaadin Plugin for Eclipse then restart.
- go to server perspective, install new tomcat server.
- creat new Vaadin 7 Project, input project name TestUI. press finish wait ivy finish.
- add new Vaadin Widget just click finish.
- check the TestuiWidgetset.gwt.xml generate and the TestuiUI.java already generate these information
@WebServlet(value = “/*”, asyncSupported = true)
@VaadinServletConfiguration(productionMode = false, ui = TestuiUI.class, widgetset = “com.example.testui.TestuiWidgetset”) - right click project and run on server
- always hit same error.
INFO: Requested resource
[/VAADIN/widgetsets/com.example.testui.TestuiWidgetset/com.example.testui.TestuiWidgetset.nocache.js] not found from filesystem or through class loader. Add widgetset and/or theme JAR to your classpath or add files to WebContent/VAADIN folder.
How to fix,
Note 1. I try to define web.xml and remove annotation, it hit same error.
Note 2. remove widgetset = “com.example.testui.TestuiWidgetset”, the sample click button works fine (with annotation or with web.xml).
Note 3. I don’t want to use maven.
Thanks.