将外部jar(lib / *。jar)添加到IntelliJ IDEA项目的正确方法

删除回忆录丶 提交于 2020-08-06 07:42:23

问题:

When creating a new Java project in IntelliJ IDEA, the following directories and files are created: 在IntelliJ IDEA中创建新的Java项目时,将创建以下目录和文件:

./projectname.iml
./projectname.ipr
./projectname.iws
./src/

I want to configure IntelliJ IDEA to include my dependency JARs in ./lib/*.jar to the project. 我想将IntelliJ IDEA配置为将我的依赖项JAR ./lib/*.jar在项目的./lib/*.jar中。 What is the correct way to achieve this in IntelliJ IDEA? 在IntelliJ IDEA中实现此目标的正确方法是什么?


解决方案:

参考一: https://stackoom.com/question/4PZw/将外部jar-lib-jar-添加到IntelliJ-IDEA项目的正确方法
参考二: https://oldbug.net/q/4PZw/Correct-way-to-add-external-jars-lib-jar-to-an-IntelliJ-IDEA-project
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!