无法在IntelliJ IDEA中导入javax.validation.constraints [英] Cannot import javax.validation.constraints in IntelliJ IDEA
本文介绍了无法在IntelliJ IDEA中导入javax.validation.constraints的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我无法导入该简单的库,我具有所有jar文件,还尝试了验证缓存/重新启动".也许我必须添加验证以构建路径,但是我不知道要哪个文件.
I can't import that simple library, i have all jar files, also i tried Ivalidate Caches / Restart. Maybe i have to add validation to build path, but i don't know to which file.
推荐答案
知道了.
- 文件->项目结构
- 在模块中,单击Dependecies,然后单击右侧的绿色"+"
- 点击 JAR或目录... 并添加JAR文件
-
点击确定
- File -> Project Structure
- In Modules click Dependecies, then click green "+" on the right side
- Click JARs or directiories... and add JAR files
Click OK
时间:
这篇关于无法在IntelliJ IDEA中导入javax.validation.constraints的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文