wood burning stoves 2.0*
The moose likes Struts and the fly likes Struts 2 JQuery Grid is not working in jsp with Integration of Strtus 2,Hibernate,Spring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 JQuery Grid is not working in jsp with Integration of Strtus 2,Hibernate,Spring" Watch "Struts 2 JQuery Grid is not working in jsp with Integration of Strtus 2,Hibernate,Spring" New topic
Author

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

Gowtham Subramaniam
Greenhorn

Joined: Feb 16, 2012
Posts: 10
Hello,
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"
org.apache.struts2.json.JSONWriter.bean(JSONWriter.java:230)
org.apache.struts2.json.JSONWriter.process(JSONWriter.java:160)
org.apache.struts2.json.JSONWriter.value(JSONWriter.java:126)


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



  • My JSP Page : [RegForm.jsp]




    struts.xml :




    MY POJO class (Bean Class)



    MyActionClass : [Personaction.java]



     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Struts 2 JQuery Grid is not working in jsp with Integration of Strtus 2,Hibernate,Spring