-
Aug 9th, 2012, 05:12 AM
#1
Problem getting beans injected in vaadin application classes
Hi all,
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 
Please help,
-
Aug 9th, 2012, 12:43 PM
#2
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
#3
-
Aug 13th, 2012, 01:42 AM
#4
until u find the answer have a look at this: http://www.lajm-shqip.com
-
Aug 15th, 2012, 08:29 AM
#5
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules