我在类路径中添加了 spring-web.4.0.jar。它包含类 - org.springframework.web.context.WebApplicationContext。但是当我尝试在 eclipse 中运行它时,它显示了一个错误: org/springframework/web/context/WebApplicationContext
如何解决此错误?

最佳答案

从服务器上下文菜单中选择“清理...”帮助我摆脱了这个问题。

关于spring - 我收到 java.lang.NoClassDefFoundError : org/springframework/web/context/WebApplicationContext,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/25032332/

10-10 23:04