gavin wrote:
Perhaps if you tell us exactly what the problem is, we can help you.
Plz see the errors corresponding to each version of Hibernate. Initially I tried with version 3.0.5 and since it didnt work, I only replaced hibernate3.jar from version 3.1 beta 2. As per JIRA issue #HHH-571,
http://opensource2.atlassian.com/projec ... se/HHH-571, hibernate 3.1 beta version is compatible with JDK 1.3... But looks like it didnt work for me... could you tell me what am I doing wrong?
Hibernate 3.0.5
Code:
[9/1/05 11:35:34:688 EDT] 1d26352 WebGroup E SRVE0020E: [Servlet Error]-[action]: Failed to load servlet: java.lang.NoSuchMethodError: java.lang.Boolean: method valueOf(Z)Ljava/lang/Boolean; not found
at org.hibernate.loader.custom.SQLQueryReturnProcessor.addPersister(SQLQueryReturnProcessor.java:133)
at org.hibernate.loader.custom.SQLQueryReturnProcessor.processRootReturn(SQLQueryReturnProcessor.java:121)
at org.hibernate.loader.custom.SQLQueryReturnProcessor.processReturn(SQLQueryReturnProcessor.java:98)
at org.hibernate.loader.custom.SQLQueryReturnProcessor.process(SQLQueryReturnProcessor.java:87)
at org.hibernate.loader.custom.SQLCustomQuery.<init>(SQLCustomQuery.java:105)
at org.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:144)
Hibernate 3.1 beta 2
Code:
[9/1/05 12:23:31:500 EDT] 5caee343 WebGroup E SRVE0020E: [Servlet Error]-[action]: Failed to load servlet: java.lang.UnsupportedClassVersionError: org/hibernate/NonUniqueObjectException (Unsupported major.minor version 48.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code))
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at com.outline.ormapping.hibernate.HibernateResources.load(HibernateResources.java:22)