Error: A JNI error has occurred, please check your installation and try again

當在idea運行程序的時候,如果出現Error: A JNI error has occurred, please check your installation and try again這個錯誤的話,如果緊接着出現以下的相似異常拋出: 即各種類找不到,出現這種錯誤的原因實際上就是pom文件中依賴的包在運行的時候沒有被導入,此時對應導入的依賴的scope的標籤值爲provided,而在idea中
相關文章
相關標籤/搜索