1
java.lang.NoClassDefFoundError: org/apache/http/client/ClientProtocolException
    at situasses.Situassess.<init>(Situassess.java:24)
    at myproject.RecomAgent.setup(RecomAgent.java:33)
    at jade.core.Agent$ActiveLifeCycle.init(Agent.java:1522)
    at jade.core.Agent.run(Agent.java:1468)
    at java.lang.Thread.run(Thread.java:744)Caused by: java.lang.ClassNotFoundException: org.apache.http.client.ClientProtocolException
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    ... 5 more

ERROR: Agent user61 died without being properly terminated !!! State was 2

Bill the Lizard
  • 398,270
  • 210
  • 566
  • 880
user3804161
  • 45
  • 2
  • 7

1 Answers1

1

Add HTTPClient.jar to your classpath. And also check this for details.

Community
  • 1
  • 1
solar
  • 1,344
  • 1
  • 8
  • 14
  • i have already added HTTPclient.4.3.1.jar..but it is not working...i am using java 1.7.0_45is there any compatibility issue..because when i run it on another system its executing succesfully but on the server having same java its giving the above mentioned error at jsonparser. – user3804161 Aug 20 '15 at 04:24