posted 14 years ago
Hi,
I have a context:
and two classes:
The context is loaded by ContextLoaderServlet defined in web.xml. When running the code I get NullPointerExceptions in NameServiceImpl because getNameDao() return null, so apparantly the nameDao property hasn't been initialized properly. Since my example is rather simple it can't be a big problem, I can't find it, though. Any hint is appreciated.