• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to fix NoClassDefFoundError: HTTPClient/CookieModule?  RSS feed

 
Birla Murugesan
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rangers,

Actually i am running tomcat server. In that while Invoking Servlet,the following exception throws

java.lang.NoClassDefFoundError: HTTPClient/CookieModule

How to resolve this.

please help me out this.

Regards,
Birla.M
 
Alpesh Padra
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check you web.xml and classpath for servlets.

NoClassDefFound means it does not find your class in classpath
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66144
144
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the HTTPClient jar file in the proper location?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!