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.  [ 2 posts ] 
Author Message
 Post subject: Build failed (2.1.7 nightly snapshot) - bad class file
PostPosted: Thu Nov 11, 2004 4:23 pm 
Newbie

Joined: Mon Oct 25, 2004 1:47 pm
Posts: 3
I downloaded the 2004/11/11 nightly snapshot of Hibernate 2.1.7 (to be) and tried building it. I ended up with a build failure due to a "bad class file". Anyone have any idea how to resolve this?


Buildfile: build.xml
[taskdef] Could not load definitions from resource clovertasks. It could not be found.

splash:

init:
[echo] Build Hibernate-2.1 (2004-11-11 01:59:59)

compile:
[javac] Compiling 369 source files to C:\Documents and Settings\jbuchma\Desktop\hibernate2-20041111\Hibernate2\build\classes
[javac] C:\Documents and Settings\jbuchma\Desktop\hibernate2-20041111\Hibernate2\src\net\sf\hibernate\cache\TreeCache.java:39:cannot access org.jboss.system.ServiceMBeanSupport
[javac] bad class file: C:\Documents and Settings\jbuchma\Desktop\hibernate2-20041111\Hibernate2\lib\jboss-system.jar(org/jboss/system/ServiceMBeanSupport.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] if (cache==null) {
[javac] ^
[javac] 1 error

BUILD FAILED
C:\hibernate2-20041111\Hibernate2\build.xml:157: Compile failed; see the compiler error output for details.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 11, 2004 6:01 pm 
Newbie

Joined: Mon Oct 25, 2004 1:47 pm
Posts: 3
It looks like this may be due to a JDK version discrepancy. I am trying to build using 1.3.1. Does 2.1.7 require JDK 1.4?


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

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.