maven 部署tomcat後出現找不到包問題
Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
可能是jar文件沒有同步發佈到自己項目的lib目錄中(如果是用Maven進行構建的話) 可以試試 下面的辦法
項目點擊右鍵 點擊 Properties 選擇Deployment Assembly 再點擊右邊的Add按鈕 選擇Java Build Path Entries後點擊Next按鈕 然後選擇你的Maven Dependencies 確定即可