0

I'm new to Java EE.

I wrote a servlet that send back a json as response. I added Simple Json jar to my project, but when the servlet's doPost() called, I get this error:

org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [TodoServlet] in context with path [] threw exception [Servlet execution threw an exception] with root cause java.lang.ClassNotFoundException: org.json.simple.JSONObject

even I added the jar to the class path. Please help, how can I solve it.

Rai Vu
  • 1,595
  • 1
  • 20
  • 30
user3057944
  • 701
  • 1
  • 8
  • 19

0 Answers0