Jersey 1.6 with Spring 3.0.5 using Maven

无人久伴 提交于 2019-12-05 14:16:27

Do a mvn dependency:tree and make sure there aren't any more versions of Spring getting pulled in from elsewhere. ConfigurableWebApplicationContext.setId() did not exist in Spring 2.5 but it does in 3.x.

Thank you ERICACM, Awesome answer. I had the same problem using spring 3.0.5.release. There were two jars from 2.5.6 stuck in my web-inf/lib folder. Removing these fixed the problem.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!