idea 啓動springmvc項目java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderLis

異常如下 這種情況一般是未導包導致的。 file-->project struture 設置如下 完成導包。 附:如果能成功啓動項目但還是訪問不到首頁。 設置一下 選擇自己的web目錄 再啓動項目應該就能訪問了。
相關文章
相關標籤/搜索