IDEA 解決 artifacts not found 問題


1. 問題

  • 部署 Tomcat 時,選擇 Edit Configuration 無 Artifact 選項。

2. 解答

方法一

  • 選擇 Fix 直接修復即可。
    在這裏插入圖片描述

方法二

  1. 打開 Project Structure;
  2. 選擇 Aritfacts 選項;
  3. 點擊 + 號,選擇 Web Application:Exploded >> From Modules;
    在這裏插入圖片描述
  4. 選擇對應的項目;
  5. 再次進入 Edit Configration >> Deployment,點擊 + 號,就可以看到 Artifact 選項了。

原文鏈接:https://qwert.blog.csdn.net/article/details/106248336

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章