简体   繁体   中英

How to add servlet JAR file permanently in Eclipse Oxygen instead of adding to each project?

有什么解决方案可以在Eclipse Oxygen中永久添加servlet JAR文件,而不是将其添加到每个项目中?

Maybe. But I would not recommend this approach, because you would bind yourself to the IDE, which is not a good practice. If someday you decide to switch to IntelliJ for example every project you will migrate will not work.

If your projects use the same JAR file(s) and you want to share it instead of redeclaring it everytime you need it you could evaluate other options, like creating a parent pom.xml file (if you are using Maven). In this way you can share consistently all your updated through various IDEs.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM