1. 程式人生 > >已解決org.springframework.web.context.ContextLoaderListener

已解決org.springframework.web.context.ContextLoaderListener

專案啟動是報錯:
org.springframework.web.context.ContextLoaderListener

解決方法:

  1. 右鍵單擊工程專案 ->點選 properties
  2. 選擇 Deployment Assembly
  3. 點選 Add -> Java Build Path Entries -> Next
  4. 選擇 Maven Dependencies -> Finish -> Apply -> OK
  5. Clean project and server. 重啟server