[hibernate-issues] [Hibernate-JIRA] Commented: (ANN-770) Confusing error when missing default constructor
Miguel Griffa (JIRA)
noreply at atlassian.com
Sat Aug 30 20:15:40 EDT 2008
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_31024 ]
Miguel Griffa commented on ANN-770:
-----------------------------------
I reported this because it happens when using annotationconfiguration, the same module worked without error in a system using standard configuration
> 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: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list