IntelliJ IDEA 中找不到 javax.servlet.http.HttpSession

Idea與eclipse不同,這裏需要手動導入tomcat的內置jar包 在project根目錄右擊——Open Module Settings——添加——Library——Application Server Libraries——選擇Tomcat——點擊Add Selected——點擊Apply即可解決
相關文章
相關標籤/搜索