]
Hardy Ferentschik resolved ANN-770.
-----------------------------------
Resolution: Cannot Reproduce
In 3.4.0 GA the exception is:
org.hibernate.InstantiationException: No default constructor for entity: my.FooBar
Confusing error when missing default constructor
------------------------------------------------
Key: ANN-770
URL:
http://opensource.atlassian.com/projects/hibernate/browse/ANN-770
Project: Hibernate Annotations
Issue Type: Bug
Affects Versions: 3.3.1.GA
Reporter: Miguel Griffa
if a persistent class X is missing the default constructor, instead of reporting the
missing default constructor in class X, I obtained a noclassdeffound for a class Y,
referenced in class X, which was oviously in classpath.
this incorrect error message is very misleading in a debug session.
if this problem can't be reproduced easily in current test base please indicate so,
I'll try to reproduce my environment.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: