Results 1 to 5 of 5

Thread: Problem getting beans injected in vaadin application classes

  1. #1
    Join Date
    Aug 2012
    Posts
    2

    Default 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,

  2. #2

    Default

    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.

  3. #3
    Join Date
    Aug 2012
    Location
    Seattle
    Posts
    5

    Default

    here is the very complete SpringApplication: dev.vaadin.com/svn/incubator/SpringApplication

  4. #4
    Join Date
    Aug 2012
    Posts
    3

    Default

    until u find the answer have a look at this: http://www.lajm-shqip.com

  5. #5
    Join Date
    Aug 2012
    Posts
    2

    Default

    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
  •