Recently my Spring MVC Java app, developed in Eclipse Indigo, seemed to lose it\'s connection to my \"lib\" folder where all my jars are (there were no jars found for my pro
For me, the fix was simple:
You may need to also do this:
If you have imported your existing project then , first add Server(Window>Preference>Server>Run Time environment) to your work space and then re-import your project.
or Option 2 Goto Project properties > Targeted RunTimes and select your server
This should add web library to your project.
For me, Brad Parks's answer didn't worked in Eclipse Luna ( 4.4.2 ) i.e. Adding Web App Libraries had no effect ..that remained empty.
What I had to is to configure Web Deployment Assembly ...My lib was in WEB-INF which was again like - /{project}/web/WEB-INF/lib
and when I added a Deployment Assembly entry like shown below ,
Then below these two I had an entry for every jar from {project}/web/WEB-INF/lib
directory with Deploy Path as WEB-INF/lib
.
This Deployment Assembly automatically populated my Web App Libraries
.