How can I add some.jar file into libs
and WebContent/WEB-INF/lib
folders through Eclipse IDE means? I have a Dynamic Web Project and Eclipse Photon (EE version).
Yes, I can use Windows File Explorer outside of Eclipse to copy-paste jar files into those folders.
But it seems I cannot do it with Eclipse: when I try to right-click on those folders and then do Import->General->Archive File
(unpacked jar is imported as a buch of files/folders) or Import->General->File System
(jar file is not even visible in respective wizard window) - nothing works.
P.S. This answer also indicates there is no way to do it inside Eclipse (this answer addresses another issue of being able to use the lib you already have in WEB-INF/lib folder so that the project compiles and gets deployed OK).