java.lang.NoClassDefFoundError: org/apache/http/params/SyncBasicHttpParams
嗨,大家好 我正在尝试在基于 OSGI 的 Web 应用程序上运行集成测试 当我尝试时收到错误:
java.lang.NoClassDefFoundError: org/apache/http/params/SyncBasicHttpParams
有什么想法如何解决这个问题吗?
hi guys
I am trying to run integration test on an OSGI based web app
when I tried that I get the error:
java.lang.NoClassDefFoundError: org/apache/http/params/SyncBasicHttpParams
any ideas how to solve that ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
请查看此处,了解遇到 NoClassDefFoundError 时该怎么做:
http://jroller.com/sjivan/entry/ Difference_after_classnotfoundexception_and_noclassdeffounderror
Have a look here for what to do when you encounter NoClassDefFoundError:
http://jroller.com/sjivan/entry/difference_between_classnotfoundexception_and_noclassdeffounderror
确保您的包导入包
org.apache.http.params
,例如:Ensure that your bundle imports the package
org.apache.http.params
, e.g.:确保您的平台上有包含 org/apache/http/params/SyncBasicHttpParams ACTIVE 类的捆绑包。
Make sure you have the bundle that contains the class org/apache/http/params/SyncBasicHttpParams ACTIVE in your platform.