已添加了lib:
但是external libraries 里面没有 lib:
写代码的时候可以使用jar包, 但编译的时候会报错"找不到 xxxjar包"
黄舟2017-04-22 09:02:34
I have also encountered this problem. My solution is a bit stupid, copy the jar package to the lib folder.
Hope it can inspire others. .
伊谢尔伦2017-04-22 09:02:34
Intellij is different from eclipse, even if you put the jar package in the lib directory, it won't work (I mean when developing in the IDE).
The solution is to manually re-import the jar package in the external lib. An iml project file will be generated, and IntelliJ will recognize this file.
伊谢尔伦2017-04-22 09:02:34
Maven is a great method, you can rely on it without any worries from now on