intellij-idea - intellij idea 导入 eclipse程序, 编译时提示 找不到jar包
巴扎黑
巴扎黑 2017-04-22 09:00:34
0
5
3539

已添加了lib:
但是external libraries 里面没有 lib:
写代码的时候可以使用jar包, 但编译的时候会报错"找不到 xxxjar包"

巴扎黑
巴扎黑

reply all(5)
黄舟

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. .

伊谢尔伦

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.

伊谢尔伦

Maven is a great method, you can rely on it without any worries from now on

洪涛

Gradle is great, kill m2 instantly

Ty80

idea is not eclipse, Gradle is rampant here

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!