-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Can't build Hibernate 3.0.5 with Sun 1.3.1 JDK
PostPosted: Tue Jun 28, 2005 6:38 pm 
Newbie

Joined: Tue Jun 28, 2005 6:27 pm
Posts: 1
Hi, i am attempting to use Hibernate with JRE 1.3.1. According to the docs that i have seen, readme etc, this should not be a problem. First step apparently is to build Hibernate with a 1.3.1 JDK using the ant script. Unfortunately, i cannot get this to work and get the following trace. any help would be much appreciated.

Hibernate version: 3.0.5

C:\java\hibernate\hibernate-3.0>ant
Buildfile: build.xml
Trying to override old definition of datatype junit
Trying to override old definition of datatype junitreport
[taskdef] Could not load definitions from resource clovertasks. It could not b
e found.

splash:

init:
[echo] Build Hibernate-3.0 (2005-06-28 03:13:25)
[echo] JDK version: 1.3

init.antlr:

antlr:

compile:
[javac] Compiling 827 source files to C:\java\hibernate\hibernate-3.0\build\
classes
[javac] C:\java\hibernate\hibernate-3.0\src\org\hibernate\secure\JACCConfigu
ration.java:4: cannot access javax.security.jacc.EJBMethodPermission
[javac] bad class file: C:\java\hibernate\hibernate-3.0\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
C:\java\hibernate\hibernate-3.0\build.xml:196: Compile failed; see the compiler
error output for details.

Total time: 12 seconds


Name and version of the database you are using: HSQLDB 1.7.3

Also, what is the deal with clovertasks?

Thanks, Mitchell


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.