java/spring- getting NoClassDefFoundError at org.springframework.context.support.AbstractApplicationContext

喜夏-厌秋 提交于 2019-12-02 04:57:40

In this particular case you should include commons-logging-1.1.1.jar in your client classpath. Spring-Core depends on it.

In general I suggest you to use Maven or similar tool to manage your dependencies.

Sounds like you are missing very important spring-web jar file. Add this to your pom file to fix this issue.

     <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-web</artifactId>
        <version>3.2.6.RELEASE</version>
    </dependency>
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!