Joined: Mon Apr 18, 2005 10:02 am Posts: 14 Location: Zürich, Switzerland
|
Hibernate version: 3.1
Hi all,
Simple question: can hibernate3.1 still be used in 1.3 jdk environments like Websphere 5.0?
I am trying to compile hibernate 3.1 (final) with jdk 1.3.1_09 (SUN) and see that there are 1.4 dependencies in the code (AbstractEntityPersister.java, line 3405, AssertionError). Furthermore some of the required libraries seem to be 1.4 dependent too:
Stack trace
D:\Data\java\hibernate-3.1\hibernate-3.1>build
D:\Data\java\hibernate-3.1\hibernate-3.1>java -cp "lib/ant-launcher-1.6.5.jar" org.apache.tools.ant.launch.Launcher -lib lib
Buildfile: build.xml
[taskdef] Could not load definitions from resource checkstyletask.properties. It could not be found.
[taskdef] Could not load definitions from resource clovertasks. It could not be found.
splash:
init:
[echo] Build Hibernate-3.1 (2005-12-14 12:35:43)
[mkdir] Created dir: D:\Data\java\hibernate-3.1\hibernate-3.1\build\classes
[copy] Copying 2 files to D:\Data\java\hibernate-3.1\hibernate-3.1\build\classes
[echo] JDK version: 1.3
init.antlr:
antlr:
[mkdir] Created dir: D:\Data\java\hibernate-3.1\hibernate-3.1\build\gensrc\org\hibernate\hql\antlr
[antlrtask] ANTLR Parser Generator Version 2.7.6 (20051207) 1989-2005
[antlrtask] ANTLR Parser Generator Version 2.7.6 (20051207) 1989-2005
[antlrtask] ANTLR Parser Generator Version 2.7.6 (20051207) 1989-2005
[touch] Creating D:\Data\java\hibernate-3.1\hibernate-3.1\build\gensrc\org\hibernate\hql\antlr\.antlr_run
compile:
[javac] Compiling 921 source files to D:\Data\java\hibernate-3.1\hibernate-3.1\build\classes
[javac] D:\Data\java\hibernate-3.1\hibernate-3.1\src\org\hibernate\secure\JACCConfiguration.java:6: cannot access javax.security.jacc.EJBMethodPermission
[javac] bad class file: D:\Data\java\hibernate-3.1\hibernate-3.1\lib\jacc-1_0-fr.jar(javax/security/jacc/EJBMethodPermission.class)
[javac] class file has wrong version 48.0, should be 47.0
[javac] Please remove or make sure it appears in the correct subdirectory of the classpath.
[javac] import javax.security.jacc.EJBMethodPermission;
[javac] ^
[javac] 1 error
BUILD FAILED
D:\Data\java\hibernate-3.1\hibernate-3.1\build.xml:216: Compile failed; see the compiler error output for details.
Total time: 11 seconds
|
|