Eclipse Maven and Weblogic:
As I tried to deploy my web app into a remote Weblogic server, I got this kind of error:
weblogic.application.ModuleException: java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
My app just ran fine the other day and I just made one single change on a file related to spring bean. And this error made me think that the root cause of the problem was the change I had just made. However, it turned out that the Maven dependencies were not included in the project class path. This is an Eclipse defect, I guess! Sometime it does include, other time it doesn't
Solution: to fix it error: Right click on the project > Properties > Deployment Assembly > Add > Java Build Path Entries > Maven Dependencies
Add Maven Dependency in build path you can follow this article also
ReplyDeletehttp://www.javaproficiency.com/2015/11/javalangclassnotfoundexception.html
You can solve this issue by adding maven dependency in build path visit Solution Here
ReplyDelete