无法在IntelliJ IDEA中导入javax.validation.constraints [英] Cannot import javax.validation.constraints in IntelliJ IDEA

查看:1565
本文介绍了无法在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.

推荐答案

知道了.

  1. 文件->项目结构
  2. 模块中,单击Dependecies,然后单击右侧的绿色"+"
  3. 点击 JAR或目录... 并添加JAR文件
  4. 点击确定

  1. File -> Project Structure
  2. In Modules click Dependecies, then click green "+" on the right side
  3. Click JARs or directiories... and add JAR files
  4. Click OK

时间:

这篇关于无法在IntelliJ IDEA中导入javax.validation.constraints的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆