Aug 9th, 2012, 05:12 AM
Problem getting beans injected in vaadin application classes
I am developping a rich internet application using spring and vaadin.
First i got every thing working fine including spring dependecies injection and i could login then use all injected services successfully.
But while trying to use a vaadin addon, i needed to compile a widgetset, and after hard work to get it compiled i can never get spring beans injected and all i get is nullPointerException.
I don't understand why
Aug 9th, 2012, 12:43 PM
I am not familiar with Vaadin, but I would first check how Vaadin hook up with Spring's context bootstrap, i.e. how your internet application starts the Spring's Application Context loading.. just a thought.
Aug 10th, 2012, 12:44 AM
Aug 13th, 2012, 01:42 AM
until u find the answer have a look at this: http://www.lajm-shqip.com
Aug 15th, 2012, 08:29 AM
Thank you all for your help,
Problem solved after updating maven project configuration and executing maven install.
Now everything works fine except for the refresher addon, it does'nt update the timer label (though it is running and output time to console) unless i do refresh page or click a button, I don't know why again
Tags for this Thread