Beginner |
|
Joined: Tue Jan 27, 2004 10:59 am Posts: 24
|
I get the following error though my AnalysisData.java class
file has a constructor.any help appreciated. thanks
AnalysisData.java class
public class AnalysisData {
private long id = -1l;
private TestData data;
private ActivityTModule test;
private AnalysisResult result;
private int type;
private String info;
public AnalysisData() {}
net.sf.hibernate.PropertyNotFoundException:
Object class must declare a default (no-argument) constructor reflection optimizer disabled for hibernate
2004-01-27 09:17:51,844 [main] INFO net.sf.hibernate.util.ReflectHelper - reflection optimizer disabled for: com.dynetics.vidrds.model.DurabilityTest, IllegalAccessError: tried to access method com.dynetics.vidrds.model.DurabilityTest.<init>()V from class com.dynetics.vidrds.model.DurabilityTestMetaClass1
net.sf.hibernate.PropertyNotFoundException: Object class com.dynetics.vidrds.model.AnalysisData must declare a default (no-argument) constructor
at net.sf.hibernate.util.ReflectHelper.getDefaultConstructor(ReflectHelper.java:304)
|
|