title: the type org.springframework.core.nestedruntimeexception cannot be resolved.It is indirectly referenced from required .class files
body: <p>While  using ApplicationContext in my main class.I am getting the below error
  <code>
  the type org.springframework.core.NestedRuntimeException cannot be resolved.It is indirectly referenced from required .class files
  </code>
  I am using Spring 4.3.7 with maven.Please help</p>
  <p><a href="https://i.stack.imgur.com/RM9Bu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RM9Bu.png" alt="enter image description here" /></a></p>