web.xml中容器監聽org.springframework.web.context.ContextLoaderListener報錯

原因是:你的jar包沒有同步到lib中,改錯如下: 1、先右擊項目名選擇properties,選擇如下,Deployment Assembly。 2、選擇add,選擇Java Build Path Entries進行添加。 3、全選那些包,然後進行apply,在ok就完了。
相關文章
相關標籤/搜索