“包 HttpClient 不存在”编译时
我正在尝试在 Eclipse 和 IntelliJ 中编译 EWSJavaAPI1.5。我没有运气。我不断收到 org.apache.commons.httpclient 不存在
错误。这让我发疯。我添加了四个必需的文件:
- commons-codec-1.4.jar
- commons-httpcliient-3.1.jar
- commons-logging-1.1.1.jar
- jcifs-1.3.15.jar
正在引用四个jar文件,但没有找到编译时的httpclient。它可能与类路径有关,但我不确定是否将其正确添加到类路径中。该怎么办?
I am attempting to compile EWSJavaAPI1.5 in Eclipse and in IntelliJ. I have had no luck. I keep getting a org.apache.commons.httpclient does not exist
error. Its driving me nuts. I added the four required files:
- commons-codec-1.4.jar
- commons-httpcliient-3.1.jar
- commons-logging-1.1.1.jar
- jcifs-1.3.15.jar
The four jar files are being referenced, yet it does not find the httpclient when compiling. It may have to do with the class path but I am not sure if I am adding it to the class path correctly. What to do?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
检查库类路径设置是否正确,并且该库已添加到 模块的依赖项。另一种可能的情况可能是 jar 文件损坏,请尝试重新下载。
Check that the library classpath is set correctly and this library is added to the dependencies of your module. Another possible case could be corrupted jar file, try to download it again.