How can I add JAR files to the web-inf/lib folder in Eclipse?

前端 未结 11 1310
忘了有多久
忘了有多久 2020-12-01 10:21

I\'m using Eclipse and I need to be able to add Java libraries (JAR files) into my web application\'s WEB-INF/lib folder. How do I achieve this?

11条回答
  •  萌比男神i
    2020-12-01 11:20

    Pasting the jar files in WebContent\WEB-INF\lib via the file system was the only way it worked for me.

    They then appeared under the Deployed Resources and WebContent lib sub-folders.

    When I looked, the build path had the jars in the Web App Libraries and everything built and ran fine.

提交回复
热议问题