Exception in apache http client

前端 未结 2 1315
自闭症患者
自闭症患者 2021-01-21 13:06

i m using eclipse ide and when i run my program everything works fine but when i run the same program on server then it gives me this exception and i have already put my all far

相关标签:
2条回答
  • 2021-01-21 13:25

    Without your classpath configuration and knowledge about the web server you are deploying your application to, it is not easy to help but from the look of things, it seems you are missing the HttpCore jar in your deployment environment.

    The missing class is found in that jar.

    0 讨论(0)
  • 2021-01-21 13:44

    Add Http core jar to your build path, find the required jar from this url. http://www.java2s.com/Code/Jar/h/Downloadhttpcorejar.htm

    deploy the jar and then compile, your error will be resolved.

    0 讨论(0)
提交回复
热议问题