IDEA第一次配置web項目報錯Cannot resolve symbol 'servlet' 配置tomcat

這個錯是因爲項目沒有配置tomcat導致的。 在第一次啓動idea時,創建了web項目之後。要配置tomcat 在Run下面有一個Edit Configurations選中它 接下來會打開一個框選擇tomcatServer 然後選擇Local,根據提示選擇自己之前下載好的tomcat。這樣就配置好了tomcat. 在這個頁面沒有找到TomcatServer 那麼就需要在file/setting中輸
相關文章
相關標籤/搜索