Ask Your Question
2

What does the "org.hibernate.InstantiationException" error message mean when it says "No default constructor for entity: principal.Cliente"?

asked 2022-01-30 11:00:00 +0000

djk gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2022-06-20 04:00:00 +0000

lakamha gravatar image

The "org.hibernate.InstantiationException" error message means that Hibernate is unable to create an instance of the class "principal.Cliente". The reason for this error message is that Hibernate is expecting there to be a default constructor (a constructor with no arguments) for the "principal.Cliente" class, but one is not present. Hibernate requires a default constructor to be present in order to create instances of the entity class.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-01-30 11:00:00 +0000

Seen: 11 times

Last updated: Jun 20 '22