java - How can I recover from vaadin's 'com.vaadin.DefaultWidgetSet' error -
i'm using win7, java 1.8, eclipse luna 4.4.2, tomcat 8, , have started exploring vaadin's touchkit write mobile browser application. have chrome default browser, both on win7 machine , servlet-based apps in eclipse.
it's going pretty well, looks - or has looked - i'll able complete little application in 80-100 hours of effort or so. @ least, if can figure out how keep having wrestle vaadin environment , plug-in.
i have developed pattern development; in order make coding changes, following:
- stop server
- make coding changes
- execute maven 'install' goal (right-click project, select 'debug as', select 'maven install'). (usually) compiles project , deploys tomcat server configured run eclipse (and set default server).
- execute 'debug on server' (right-click project, select 'debug as', select 'run on server'.
i've been doing day -- have done 50 times since got up. it's been working.
i have resource files -- jpgs , text files -- used in application. static (so far), i.e., application reads them once create classes data, , not changed during running of app. use tools other eclipse alter them -- create new ones, change ones there, etc. after make such changes, select project in "project explorer" , press f5; understand it, refreshes files under project synchronized files on file system.
twice now, after making changes, above no longer works way did. executing "debug on server" not deploy app, , "resource not available" chrome , discover application not deployed there.
once deploy manually, works, more starts giving error this:
widgetset 'com.vaadin.defaultwidgetset' not contain implementation com.vaadin.addon.touchkit.ui.navigationmanager. check component connector's @connect mapping, widgetsets gwt module description file , re-compile widgetset. in case have downloaded vaadin add-on package, might want refer add-on instructions.
i have not installed add-ons during process; i've seen references re-compiling widgetset, not sure how in eclipse because hasn't been necessary. 1 of configurations maven/touchkit indicates widgetset compilation automatic.
i have tried removing application, cleaning server work folders, cleaning server (whatever means), cleaning project, rebuilding project, re-deploying project, , running again -- same result.
after first time did it, not knowing has been connected chrome , wanting on things, , suspecting did wrong, created new eclipse workspace, created new project, , copied source code new classes recreate application scratch. hope don't have keep doing that, doesn't seem should.
i see vague things on net how specific chrome, , indeed, time, if run app on phone seems work fine, on firefox.
is there way reset chrome work there well? it's i'm used , want keep using, i'd hate have change browser this. besides, seems wrong should fix, , until that, nice @ least have workaround.
does else error? have discovered way chrome environment reset don't have switch firefox , hope doesn't happen there?
this should help:
maven -> plugins -> vaadin -> compile.
then maven -> package , debug on server
Comments
Post a Comment