Meaningless Drivel is fun!*
The moose likes Struts and the fly likes http500 Exception: ids for this class must be manually assigned before calling save(): Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "http500 Exception: ids for this class must be manually assigned before calling save():" Watch "http500 Exception: ids for this class must be manually assigned before calling save():" New topic
Author

http500 Exception: ids for this class must be manually assigned before calling save():

smile ab
Greenhorn

Joined: Oct 09, 2012
Posts: 3
hello, i have this error

and this is my action page

i wish you will help me thank you
jatan bhavsar
Ranch Hand

Joined: Jul 23, 2008
Posts: 296

Hi,

Seems there is problem in cofiguration of the primary key.Please check the .hbm file where you have decalre the primary key. Post code for the same. Also try assign the hard code value to
primary key and then call save() check does it work or not?

Regards
Jatan
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: http500 Exception: ids for this class must be manually assigned before calling save():
 
Similar Threads
Struts1: Nested/Indexed properties issue
array of arrays and a form
Issue in Struts Dropdown(Need Help Ranchers)
java.lang.ClassCastException: org.apache.struts.upload.CommonsMultipartRequestHandler$CommonsFormFil
Struts 1 - <html:select multiple problem