Maven項目下update maven後Eclipse報錯:java.lang.ClassNotFoundException: org.springfra
- 2019 年 10 月 8 日
- 筆記
出現這個java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
解決方案
1.右鍵點擊項目–選擇Properties
選擇Deployment Assembly,在右邊點擊Add按鈕,在彈出的窗口中選擇Java Build Path Entries
2.點擊Next,選擇Maven Dependencies
3.點擊Finish,然後可以看到已經把Maven Dependencies添加到Web應用結構中了
