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
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.
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.