**问题:**idea执行main方法报错Error: A JNI error has occurred, please check your installation and try again

idea执行main方法报错Error: A JNI error has occurred, please check your installation and try again
**解决:**File-Project Structure-Modules
选中项目,选择Dependencies,点击“+”,选择第2个Library,滑到最后,选择Tomcat,点击Add Selected
idea执行main方法报错Error: A JNI error has occurred, please check your installation and try again
回到Dependencies列表。滑到最后,将scope选择为Compile,点击OK
idea执行main方法报错Error: A JNI error has occurred, please check your installation and try again
完成
idea执行main方法报错Error: A JNI error has occurred, please check your installation and try again

相关文章:

  • 2021-11-19
  • 2021-12-11
  • 2021-07-01
  • 2022-01-04
  • 2022-12-23
  • 2021-07-24
  • 2021-09-13
猜你喜欢
  • 2021-08-13
  • 2021-10-20
相关资源
相似解决方案