不用插件‘vaadin for eclipse plugin’创建项目,总是跑不起来。

所有的控件都可以显示出来,但是 事件响应不了,比如说点个按钮,服务器就打出如下信息:

Requested resource
[/VAADIN/UIDL/] not found from filesystem or through class loader. Add widgetset and/or theme JAR to your classpath or add files to WebContent/VAADIN folder.

同时界面最顶部显示一个红色区域提示是:
13238.jpg

1).compile your vaadin widgetset
2). config your web.xml

   <servlet-mapping>
        <servlet-name>YourSevlet</servlet-name>
        <url-pattern>/VAADIN/*</url-pattern>
    </servlet-mapping>

Thank you so much for your response.

This is my web.xml servlet:

[code]

umkframework ru.xpoft.vaadin.SpringVaadinServlet beanName welcomUI widgetset com.umk.modules.welcom.widgetset.UmkfrmwkWidgetset systemMessagesBeanName DEFAULT umkframework /VAADIN/* umkframework /

[code]

this is my project …

13239.jpg

<servlet>
        <servlet-name>umkframework</servlet-name>
        <!-- <servlet-class>com.umk.base.SpringVaadinServlet</servlet-class> -->
         <servlet-class>ru.xpoft.vaadin.SpringVaadinServlet</servlet-class> 
        <!-- <servlet-class>com.vaadin.server.VaadinServlet</servlet-class> -->
         <init-param>
            <param-name>beanName</param-name>
            <param-value>welcomUI</param-value>
        </init-param> 
        <!-- <init-param>
            <param-name>UI</param-name>
            <param-value>com.umk.modules.welcom.WelcomUI</param-value>
        </init-param> -->
        <init-param>            
             <param-name>widgetset</param-name>           
             <param-value>com.umk.modules.welcom.widgetset.UmkfrmwkWidgetset</param-value>    
         </init-param>
        <init-param>
            <param-name>systemMessagesBeanName</param-name>
            <param-value>DEFAULT</param-value>
        </init-param>
    </servlet>
  <servlet-mapping>
        <servlet-name>umkframework</servlet-name>
        <url-pattern>/VAADIN/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>umkframework</servlet-name>
        <url-pattern>/</url-pattern>
    </servlet-mapping>

自己发现了问题所在。。。。
是我的

umkframework /

这段配置出现问题 应改成:

umkframework
/*

就好了。