• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts json

 
Chris Pat
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello
I am using the net.sf.json libraries but when I execute my action I get the following error:
java.lang.NoClassDefFoundError: org/apache/commons/lang/exception/NestableRuntimeException
on the JSONObject jsonObj00 = new JSONObject();
the library is in the path, in the war, in the deployment. How can I get around this? tia.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like you're either missing commons-lang, or there's a version issue.
 
Chris Pat
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Dave
Thank you. That was the problem. I was resistant to it as I thought I got that from other libraries, obviously not.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic