maven项目 启动报错:java.lang.ClassNotFoundException: 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

图解

1.


2.


3.


4.


猜你喜欢

转载自blog.csdn.net/sou_time/article/details/79481626