IDEA项目添加外部JAR(lib/*.jar)

点击File -> Project Structure -> Modules 或者快捷键(ctrl+shift+alt+s)打开如下窗口

IDEA项目添加外部JAR(lib/*.jar)

IDEA项目添加外部JAR(lib/*.jar) 设置完,如果不能进入类或方法,提示Cannot find declaration to go to,则进行如下配置

右键项目,选择Mark Directory as-->Sources Root.等待一会儿就好了

IDEA项目添加外部JAR(lib/*.jar)

 

相关文章:

  • 2022-12-23
  • 2021-08-25
  • 2021-10-21
  • 2022-01-20
  • 2021-07-19
  • 2021-09-08
  • 2022-12-23
  • 2021-10-23
猜你喜欢
  • 2021-09-14
  • 2022-12-23
  • 2021-10-09
  • 2021-07-16
  • 2021-06-12
  • 2021-09-12
  • 2022-12-23
相关资源
相似解决方案