Am failing to run tests with Junit with my IDE in the new maven sub module(2.4) of rest webservices with this error ,On looking into the stack trace i see this line
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [applicationContext-service.xml]; nested exception is java.lang.NullPointerException
The funny bit of it is that on doing a maven build in my IDE the tests pass…
I looked into some similar scenarios here though not much gain because am experiencing this before i introduce any changes
Any thoughts would be of help ?