A recently developed project has been stored on a mobile hard drive, the result of the day before yesterday due to the search for multiple devices, the letter changed, Eclipse also can not find the project. After you have copied the item back to the local disk, reopen it. Run on Server directly, prompting ClassNotFoundException to find spring ApplicationContext. Enter the%eclipse_workspace%\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\myapp\ to view, Found no Lib directory under Web-inf. There is no problem checking the build path for project. Finally Google, found the StackOverflow last answer:
Http://stackoverflow.com/questions/6083501/maven-dependencies-not-visible-in-web-inf-lib
I solved it in a third way:
Right-click to open Project Properties--> find "Deployment Assembly"--> click "Add"-->java build Path entries--> "Maven dependecies", Save and run again On server starts running.