• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

Struts 2 JQuery Grid is not working in jsp with Integration of Strtus 2,Hibernate,Spring

Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm trying to display the list in Action Class which contains set of values in jsp through Struts 2 Jquery Grid Plugin. But, it throws always following Error :

root cause

org.apache.struts2.json.JSONException: org.apache.struts2.json.JSONException: org.apache.struts2.json.JSONException: org.apache.struts2.json.JSONException: java.lang.IllegalAccessException: Class org.apache.struts2.json.JSONWriter can not access a member of class org.hibernate.persister.entity.AbstractEntityPersister$3 with modifiers "public"

I included three jar files :
  • struts2-jquery-grid-plugin-3.3.0.jar
  • struts2-jquery-plugin-3.3.0.jar
  • struts2-json-plugin-

  • My JSP Page : [RegForm.jsp]

    struts.xml :

    MY POJO class (Bean Class)

    MyActionClass : [Personaction.java]

      Bookmark Topic Watch Topic
    • New Topic