java - Vaadin widgetset path is changed after updating to 7.7.0 -


in vaadin application, have own widgetset specified below in web.xml

    <init-param>         <param-name>widgetset</param-name>         <param-value>com.foo.bar.appwidgetset</param-value>     </init-param> 

and, had placed appwidgetset.gwt.xml file in src/main/java/com/foo/bar/appwidgetset.gwt.xml

this setup worked fine until upgraded vaadin 7.7.0 (from 7.6.8). after upgrade, got following error, when try access app through browser.

info: requested resource [/vaadin/widgetsets/appwidgetset/appwidgetset.nocache.js] not found filesystem or through class loader. add widgetset and/or theme jar classpath or add files webcontent/vaadin folder. 

it seems vaadin looking different location widgetset, placed appwidgetset.gwt.xml in root of classpath (src/main/java/appwidgetset.gwt.xml) , re-built app.

then worked again.

is specifying widgetset init param no longer available? have place widgetset xml in root of classpath itself?

i have similar issues after upgrading vaadin application 7.6.8 7.7.2. i've noticed package under src/main/resources started multiply recursively :

below state version 7.6.8, prior updating pom 7.7.7 :

  • src/main/resources
  • mypackage
  • myappwidgetset.gwt.xml

after updating pom 7.7.7, under "mypackage" appeared new "mypackage" xml file ! emphasize after every rebuild, folders creating , creating, after 4th build there more 10 subfolders !

  • src/main/resources
  • ....mypackage
  • ........mypackage
  • ................myappwidgetset.gwt.xml
  • ................................mypackage
  • ................................................myappwidgetset.gwt.xml
  • ...
  • myappwidgetset.gwt.xml

Comments

Popular posts from this blog

serialization - Convert Any type in scala to Array[Byte] and back -

matplotlib support failed in PyCharm on OSX -

python - Matplotlib: TypeError: 'AxesSubplot' object is not callable -