• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown

Autowired fields are null

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I have a class with two autowired attibutes but they are allways null (ctx, agreementConfig and agreementLAN). Sorry for the newbie question, but I am testing several options and they don't work. This is my current source code.

Main Class

Service class with the autowired null objects (ctx, agreementConfig and agreementLAN)

The basis clases:


Suggestions are welcomed

Thanks a lot in advance
    Bookmark Topic Watch Topic
  • New Topic