-->
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.  [ 6 posts ] 
Author Message
 Post subject: hibernate for jsdk 1.3
PostPosted: Tue Apr 04, 2006 2:53 pm 
Beginner
Beginner

Joined: Tue Oct 07, 2003 4:32 pm
Posts: 36
Location: S
Hi,

I need to use Hibernate in a development, but my customer environment uses java 1.3. what´s the hibernate version thats works with that ?

Tks

Pedro Herrera


Top
 Profile  
 
 Post subject: Re: hibernate for jsdk 1.3
PostPosted: Tue Apr 04, 2006 5:08 pm 
Beginner
Beginner

Joined: Fri Mar 17, 2006 7:30 pm
Posts: 32
herrera wrote:
Hi,

I need to use Hibernate in a development, but my customer environment uses java 1.3. what´s the hibernate version thats works with that ?

Tks

Pedro Herrera


JDK 1.3

See http://www.hibernate.org/344.html for more details.


Top
 Profile  
 
 Post subject: log
PostPosted: Tue Apr 04, 2006 5:16 pm 
Beginner
Beginner

Joined: Tue Oct 07, 2003 4:32 pm
Posts: 36
Location: S
this is the error message :

Code:

Error 500: LinkageError while defining class: org.hibernate.HibernateException
Could not be defined due to: org/hibernate/HibernateException (Unsupported major.minor version 48.0)
This is often caused by having a class defined at multiple
locations within the classloader hierarchy.  Other potential causes
include compiling against an older or newer version of the class
that has an incompatible method signature.
Dumping the current context classloader hierarchy:
    ==> indicates defining classloader
==>[0]
com.ibm.ws.classloader.CompoundClassLoader@bbea45a
   Local ClassPath: C:\WebSphere\workspaces\HERRERAS\Kardex\WebContent\WEB-INF\classes;C:\WebSphere\workspaces\CEFETSP\Kardex\WebContent\WEB-INF\lib\ant-antlr-1.6.5.jar;C:\WebSphere\workspaces\CEFETSP\Kardex\WebContent\WEB-INF\lib\antlr.jar;C:\WebSphere\workspaces\CEFETSP\Kardex\WebContent\WEB-INF\lib\asm-attrs.jar;C:\WebSphere\workspaces\CEFETSP\Kardex\WebContent\WEB-INF\lib\asm.jar;C:\WebSphere\workspaces\CEFETSP\Kardex\WebContent\WEB-INF\lib\cglib-2.1.3.jar;C:\WebSphere\workspaces\CEFETSP\Kardex\WebContent\WEB-INF\lib\commons-beanutils.jar;C:\WebSphere\workspaces\CEFETSP\Kardex\WebContent\WEB-INF\lib\commons-collections-2.1.1.jar;C:\WebSphere\workspaces\CEFETSP\Kardex\WebContent\WEB-INF\lib\commons-digester.jar;C:\WebSphere\workspaces\CEFETSP\Kardex\WebContent\WEB-INF\lib\commons-fileupload.jar;C:\WebSphere\workspaces\CEFETSP\Kardex\WebContent\WEB-INF\lib\commons-validator.jar;C:\WebSphere\workspaces\CEFETSP\Kardex\WebContent\WEB-INF\lib\ehcache-1.1.jar;C:\WebSphere\workspaces\CEFETSP\Kardex\WebContent\WEB-INF\lib\hibernate3.jar;C:\WebSphere\workspaces\CEFETSP\Kardex\WebContent\WEB-INF\lib\jakarta-oro.jar;C:\WebSphere\workspaces\CEFETSP\Kardex\WebContent\WEB-INF\lib\log4j-1.2.11.jar;C:\WebSphere\workspaces\CEFETSP\Kardex\WebContent\WEB-INF\lib\struts.jar;C:\WebSphere\workspaces\CEFETSP\Kardex\WebContent\WEB-INF\lib\xerces-2.6.2.jar;C:\WebSphere\workspaces\CEFETSP\Kardex\WebContent\WEB-INF\lib\xml-apis.jar;C:\WebSphere\workspaces\CEFETSP\Kardex\WebContent;
   Delegation Mode: PARENT_FIRST
   [1] com.ibm.ws.classloader.JarClassLoader@173876314 Local Classpath:  Delegation mode: PARENT_FIRST
   [2] com.ibm.ws.classloader.ExtJarClassLoader@455386183 Local ClassPath: C:\WebSphere\RAD60\runtimes\base_v5\lib\app;  Delegation Mode: PARENT_LAST
   [3] com.ibm.ws.classloader.ProtectionClassLoader@4553e447
   [4] com.ibm.ws.bootstrap.ExtClassLoader@4caaa44f
   [5] sun.misc.Launcher$AppClassLoader@4f59244f
   [6] sun.misc.Launcher$ExtClassLoader@4f5c644f
---Original exception---
java.lang.UnsupportedClassVersionError: org/hibernate/HibernateException (Unsupported major.minor version 48.0)
   at java.lang.ClassLoader.defineClass0(Native Method)



What do you think about that ?

Pedro


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 04, 2006 9:50 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
You will need to rebuild from the src to use jdk 1.3.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 04, 2006 9:52 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
You will need to rebuild from the src to use jdk 1.3.


Top
 Profile  
 
 Post subject: no so easy, no so fast
PostPosted: Sat Apr 08, 2006 2:34 am 
Beginner
Beginner

Joined: Tue Oct 07, 2003 4:32 pm
Posts: 36
Location: S
I´ve found several errors to compile to java 1.3. I´m going to use an older version of Hibernate.

Tks

Pedro


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 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.