generator - GWT Generates the wrong classes in the wrong files (ClassNotFoundException) -
i using generators generate quite lot of utility classes in gwt client-side application.
for reason, on rebind, i'm getting classnotfoundexceotion, states cannot find particular class:
could not load deferred binding result type 'fr.orange.livebox.gui.businessmodelfactory.json.networks.wan.databinder_roadwarriorvpn_impl' when @ generated classes, in generated/fr/orange/livebox/gui/buisinessmodelfactory/json/networks/wan/, see file exists, but contains declaration different class, rebound before (the previous class rebound @ home page, whereas 1 rebound on different page).
i don't understand why gwt should putting class files wrong classes in. have tried deleting generated files, each time again.
incidentally, class found in wrong file, has been correctly generated in own file, can see in both, bizarre.
the problem generator instantiated once, , generate method called again on same instance each time, properties cached. using cached classsourcefilecomposerfactory instance method called getcomposer() check if null, if is, instantiate, otherwise return. leaving cached classsourcefilecomposerfactory have same class in mind.
Comments
Post a Comment