在maven中啓動tomcat報錯java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoad

原因是這個Web Application project 並沒有加載maven Dependencis 所以需要手動添加 右鍵properties -----》Deployment Assembly ------>add----->java bulid path entries  ------>next--->選擇 maven Dependencis  然後fish 保存後即可
相關文章
相關標籤/搜索