I am getting this error when i run my maven application

Multi tool use
I am getting this error when i run my maven application
Actually, I am new to both maven and springframework
Severe: Exception while loading the app
Severe: Undeployment failed for context /springsecurity
Severe: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
enter image description here
enter image description here
enter image description here
enter image description here
enter image description here
1 Answer
1
If I am not wrong, you would have missed adding dependencies in pom.xml file.
If you have added all the required spring maven dependencies try updating maven project which will download all the required .jars and stor it into .m2 directory and reference it to your project.
I have included all the dependencies in the pom.xml file as you can check in the screenshot of that which is specified above. You said to update the maven project , how to do it then. I am using netbeans as the IDE @Bhumi Nandan Chettri
– mamoon
21 hours ago
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
stackoverflow.com/help/how-to-ask
– djm.im
Jun 30 at 8:48