I checked out a project from svn. The project have a folder named as "ws" which contains WebContent folder. But the lib folder is outside the WebContent folder and under another folder under "ws" folder. I found out I have to move the lib folder to WEB-INF folder in WebContent folder, so eclipse can find the libraries I need.
Would anyone show me how to manually set the path so eclipse can load the libraries from the original lib without moving the lib to WEB-INF?
Thanks
You can edit the Deployment Assembly which controls how the app deployment is assembled. Right-click the project and select Properties ; select Deployment Assembly and then use Add... to include your project's libraries (JARs) in the deployed WEB-INF/lib
folder.
If you've already included the libraries on the project Build Path, there's an option in the Add... dialog to include them directly. Otherwise you can just add a folder itself.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.