-->
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.  [ 13 posts ] 
Author Message
 Post subject: java.lang.AbstractMethodError with older tomcat and java
PostPosted: Thu Oct 23, 2003 7:53 pm 
Beginner
Beginner

Joined: Fri Sep 05, 2003 6:11 pm
Posts: 34
I'm getting the following stracktrace:

Using:
hibernate 2.1beta4, jython 2.1, tomcat 3.2.3, java 1.3.1, linux

The same code does work on:
hibernate 2.1beta4, jython 2.1, tomcat 4.1.27, java 1.4.2, winXP


Not even sure where to start looking



java.lang.AbstractMethodError: net/sf/hibernate/persister/AbstractEntityPersister.insert
at net.sf.hibernate.loader.OuterJoinLoader.walkClassTree(OuterJoinLoader.java:216)
at net.sf.hibernate.loader.OuterJoinLoader.walkAssociationTree(OuterJoinLoader.java:465)
at net.sf.hibernate.loader.OuterJoinLoader.walkCollectionTree(OuterJoinLoader.java:120)
at net.sf.hibernate.loader.OuterJoinLoader.walkCollectionTree(OuterJoinLoader.java:97)
at net.sf.hibernate.loader.CollectionLoader.(CollectionLoader.java:42)
at net.sf.hibernate.loader.CollectionLoader.(CollectionLoader.java:31)
at net.sf.hibernate.collection.CollectionPersister.createCollectionInitializer(CollectionPersister.java:325)
at net.sf.hibernate.collection.CollectionPersister.(CollectionPersister.java:298)
at net.sf.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:141)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:660)
at kls.db.HibernateSingleton.(HibernateSingleton.java:50)
at kls.db.HibernateSingleton.getInstance(HibernateSingleton.java:58)
at kls.db.HibernateSingleton.getSession(HibernateSingleton.java:68)
at java.lang.reflect.Method.invoke(Native Method)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java)
at org.python.core.PyObject.__call__(PyObject.java)
at org.python.core.PyObject.invoke(PyObject.java)
at org.python.pycode._pyx0.doPost$4(reportPnL.py:51)
at org.python.pycode._pyx0.call_function(reportPnL.py)
at org.python.core.PyTableCode.call(PyTableCode.java)
at org.python.core.PyTableCode.call(PyTableCode.java)
at org.python.core.PyTableCode.call(PyTableCode.java)
at org.python.core.PyFunction.__call__(PyFunction.java)
at org.python.core.PyMethod.__call__(PyMethod.java)
at org.python.core.PyObject.__call__(PyObject.java)
at org.python.core.PyObject._jcallexc(PyObject.java)
at org.python.proxies.main$reportPnL$0.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at org.python.proxies.main$reportPnL$0.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.python.util.PyServlet.service(PyServlet.java)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 23, 2003 7:56 pm 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
The FAQs are a good start:

http://www.hibernate.org/?cmd=srchdoc&q ... ethodError

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 23, 2003 8:30 pm 
Beginner
Beginner

Joined: Fri Sep 05, 2003 6:11 pm
Posts: 34
Thanks for the pointer:


I see a java.lang.AbstractMethodError: net/sf/hibernate/persister/AbstractEntityPersister.... at startup!

(Michael Davidovich) The problem is the -classic JVM debug option, which is present in both Jboss and IntelliJ project options, beware!

(Christian Bauer) Recompiling Hibernate with your JDK is the other solution.



So does this mean that hibernate cannot work without a JIT?

Or the re-compile will take care of that?

Just curious, but where could I learn more about the nature
of this problem? I didn't realize there could be class files
that couldn't run in a non-JIT environment.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 24, 2003 3:24 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
We don't know the reason (no time), only the solution. :)

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 24, 2003 12:15 pm 
Beginner
Beginner

Joined: Fri Sep 05, 2003 6:11 pm
Posts: 34
I've tried compiling using the JDK on the machine that only has classic
available

but it's getting hung up finding javax.sql stuff

init:
[echo] Build Hibernate-2.1 (2003-10-24 08:11:30)

compile:
[javac] Compiling 511 source files to /usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/build
[javac] /usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/src/net/sf/hibernate/connection/C3P0ConnectionProvider.java:8: cannot resolve symbol
[javac] symbol : class DataSource
[javac] location: package sql
[javac] import javax.sql.DataSource;
[javac] ^
[javac] /usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/src/net/sf/hibernate/connection/C3P0ConnectionProvider.java:28: cannot resolve symbol
[javac] symbol : class DataSource
[javac] location: class net.sf.hibernate.connection.C3P0ConnectionProvider
[javac] private DataSource ds;
[javac] ^
[javac] /usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/src/net/sf/hibernate/connection/DatasourceConnectionProvider.java:8: cannot resolve symbol
[javac] symbol : class DataSource
[javac] location: package sql
[javac] import javax.sql.DataSource;
[javac] ^
[javac] /usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/src/net/sf/hibernate/connection/DatasourceConnectionProvider.java:26: cannot resolve symbol
[javac] symbol : class DataSource
[javac] location: class net.sf.hibernate.connection.DatasourceConnectionProvider
[javac] private DataSource ds;
[javac] ^
[javac] /usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/src/net/sf/hibernate/connection/DBCPConnectionProvider.java:8: javax.sql.DataSource is not public in javax.sql; cannot be accessed from outside package
[javac] import javax.sql.DataSource;
[javac] ^
[javac] /usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/src/net/sf/hibernate/connection/DBCPConnectionProvider.java:35: javax.sql.DataSource is not public in javax.sql; cannot be accessed from outside package
[javac] private DataSource ds;
[javac] ^
[javac] /usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/src/net/sf/hibernate/jca/ManagedConnectionFactoryImpl.java:19: javax.sql.DataSource is not public in javax.sql; cannot be accessed from outside package
[javac] import javax.sql.DataSource;
[javac] ^
[javac] /usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/src/net/sf/hibernate/jca/ManagedConnectionFactoryImpl.java:70: javax.sql.DataSource is not public in javax.sql; cannot be accessed from outside package
[javac] private DataSource datasource;
[javac] ^
[javac] /usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/src/net/sf/hibernate/jca/ManagedConnectionFactoryImpl.java:282: javax.sql.DataSource is not public in javax.sql; cannot be accessed from outside package
[javac] DataSource getDatasource() {
[javac] ^
[javac] /usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/src/net/sf/hibernate/connection/C3P0ConnectionProvider.java:97: cannot resolve symbol
[javac] symbol : class DataSource
[javac] location: class net.sf.hibernate.connection.C3P0ConnectionProvider
[javac] DataSource unpooled = DataSources.unpooledDataSource(jdbcUrl, connectionProps);
[javac] ^
[javac] /usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/src/net/sf/hibernate/connection/DatasourceConnectionProvider.java:45: cannot resolve symbol
[javac] symbol : class DataSource
[javac] location: class net.sf.hibernate.connection.DatasourceConnectionProvider
[javac] ds = (DataSource) NamingHelper.getInitialContext(props).lookup(jndiName);
[javac] ^
[javac] /usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/src/net/sf/hibernate/connection/DBCPConnectionProvider.java:43: cannot resolve symbol
[javac] symbol : method getConnection ()
[javac] location: class javax.sql.DataSource
[javac] final Connection c = ds.getConnection();
[javac] ^
[javac] /usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/src/net/sf/hibernate/connection/DBCPConnectionProvider.java:123: incompatible types
[javac] found : org.apache.commons.dbcp.PoolingDataSource
[javac] required: javax.sql.DataSource
[javac] ds = new PoolingDataSource(connectionPool);
[javac] ^
[javac] /usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/src/net/sf/hibernate/jca/ManagedConnectionFactoryImpl.java:111: operator == cannot be applied to javax.sql.DataSource,<null>
[javac] if (datasource == null) {
[javac] ^
[javac] /usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/src/net/sf/hibernate/jca/ManagedConnectionFactoryImpl.java:115: javax.sql.DataSource is not public in javax.sql; cannot be accessed from outside package
[javac] datasource = (DataSource) ctx.lookup(datasourceJndi);
[javac] ^
[javac] /usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/src/net/sf/hibernate/jca/ManagedConnectionFactoryImpl.java:115: inconvertible types
[javac] found : java.lang.Object
[javac] required: javax.sql.DataSource
[javac] datasource = (DataSource) ctx.lookup(datasourceJndi);
[javac] ^
[javac] /usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/src/net/sf/hibernate/jca/ManagedConnectionImpl.java:143: cannot resolve symbol
[javac] symbol : method getConnection ()
[javac] location: class javax.sql.DataSource
[javac] connection = mcf.getDatasource().getConnection();
[javac] ^
[javac] 17 errors

BUILD FAILED
file:/usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/build.xml:144: Compile failed; see the compiler error output for details.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 24, 2003 12:37 pm 
Beginner
Beginner

Joined: Fri Sep 05, 2003 6:11 pm
Posts: 34
Nevermind, I needed to add
jdbc2_0-stdext.jar
to the lib dir

It's weird, there's a
jdbc2_0-stdext.licence.txt
file in lib, but not the jar


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 24, 2003 12:50 pm 
Beginner
Beginner

Joined: Fri Sep 05, 2003 6:11 pm
Posts: 34
I've been able to build hibernate using the problem machine's JDK

but I'm still getting the AbstractMethodError



I used this to do the build:
java -cp lib/ant.jar:lib/optional.jar:lib/junit.jar:$JAVA_HOME/lib/tools.jar:lib/jdbc2_0-stdext.jar org.apache.tools.ant.Main



When I do this:
java -cp lib/ant.jar:lib/optional.jar:lib/junit.jar:lib/jdbc2_0-stdext.jar org.apache.tools.ant.Main

The build fails, but it does indicate it's trying to use the classic comiler.
I do not see the message
[javac] Modern compiler not found - looking for classic compiler
when I add tools.jar to the classpath

init:
[echo] Build Hibernate-2.1 (2003-10-24 08:44:15)
[mkdir] Created dir: /usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/build
[copy] Copying 44 files to /usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/build

compile:
[javac] Compiling 511 source files to /usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/build
[javac] Modern compiler not found - looking for classic compiler

BUILD FAILED
file:/usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/build.xml:144: Cannot use classic compiler, as it is not available. A common solution is to set the environment variable JAVA_HOME to your jdk directory.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 24, 2003 1:05 pm 
Beginner
Beginner

Joined: Fri Sep 05, 2003 6:11 pm
Posts: 34
I've set the compiler option to classic
but now I've run into another crop of errors


java -cp lib/ant.jar:lib/optional.jar:lib/junit.jar:$JAVA_HOME/lib/tools.jar:lib/jdbc2_0-stdext.jar -Dbuild.compiler=classic org.apache.tools.ant.Main


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

splash:

init:
[echo] Build Hibernate-2.1 (2003-10-24 08:57:47)
[mkdir] Created dir: /usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/build
[copy] Copying 44 files to /usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/build

compile:
[javac] Compiling 511 source files to /usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/build
[javac] /usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/src/net/sf/hibernate/type/AssociationType.java:29: The type nested type net.sf.hibernate.type.AssociationType. 1 can't be static. Static members can only occur in interfaces and top-level classes.
[javac] public static final ForeignKeyType FOREIGN_KEY_TO_PARENT = new ForeignKeyType() {
[javac] ^
[javac] /usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/src/net/sf/hibernate/type/AssociationType.java:29: Interface fields can't be private or protected: nested type net.sf.hibernate.type.AssociationType. 1
[javac] public static final ForeignKeyType FOREIGN_KEY_TO_PARENT = new ForeignKeyType() {
[javac] ^
[javac] /usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/src/net/sf/hibernate/type/AssociationType.java:37: The type nested type net.sf.hibernate.type.AssociationType. 2 can't be static. Static members can only occur in interfaces and top-level classes.
[javac] public static final ForeignKeyType FOREIGN_KEY_FROM_PARENT = new ForeignKeyType() {
[javac] ^
[javac] /usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/src/net/sf/hibernate/type/AssociationType.java:37: Interface fields can't be private or protected: nested type net.sf.hibernate.type.AssociationType. 2
[javac] public static final ForeignKeyType FOREIGN_KEY_FROM_PARENT = new ForeignKeyType() {
[javac] ^
[javac] /usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/src/net/sf/hibernate/type/ObjectType.java:273: The method net.sf.hibernate.type.ForeignKeyType getForeignKeyType() declared in class net.sf.hibernate.type.ObjectType cannot override the method of the same signature declared in interface net.sf.hibernate.type.AssociationType. They must have the same return type.
[javac] public ForeignKeyType getForeignKeyType() {
[javac] ^
[javac] /usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/src/net/sf/hibernate/collection/Map.java:370: Class net.sf.hibernate.collection.Map. Entry not found.
[javac] return ( (Map.Entry) entry ).getValue()!=null;
[javac] ^
[javac] /usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/src/net/sf/hibernate/impl/SessionImpl.java:104: Blank final variable 'autoClose' may not have been initialized. It must be assigned a value in an initializer, or in every constructor.
[javac] private final boolean autoClose;
[javac] ^
[javac] /usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/src/net/sf/hibernate/impl/SessionImpl.java:105: Blank final variable 'timestamp' may not have been initialized. It must be assigned a value in an initializer, or in every constructor.
[javac] private final long timestamp;
[javac] ^
[javac] /usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/src/net/sf/hibernate/impl/SessionImpl.java:110: Blank final variable 'entitiesByKey' may not have been initialized. It must be assigned a value in an initializer, or in every constructor.
[javac] private final Map entitiesByKey; //key=Key, value=Object
[javac] ^
[javac] /usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/src/net/sf/hibernate/impl/SessionImpl.java:111: Blank final variable 'proxiesByKey' may not have been initialized. It must be assigned a value in an initializer, or in every constructor.
[javac] private final Map proxiesByKey; //key=Key, value=HibernateProxy
[javac] ^
[javac] /usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/src/net/sf/hibernate/impl/SessionImpl.java:115: Blank final variable 'collectionsByKey' may not have been initialized. It must be assigned a value in an initializer, or in every constructor.
[javac] private final Map collectionsByKey; //key=CollectionKey, value=PersistentCollection
[javac] ^
[javac] /usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/src/net/sf/hibernate/test/FooBarTest.java:682: Incompatible type for =. Explicit cast needed to convert char to byte.
[javac] bytes[1]='o';
[javac] ^
[javac] 12 errors

BUILD FAILED
file:/usr/local/db/release/hibernate/hibernate-2.1beta4/hibernate-2.1/build.xml:144: Compile failed; see the compiler error output for details.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 24, 2003 1:21 pm 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
Use Hibernate 2.0.3.

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 24, 2003 11:41 pm 
Beginner
Beginner

Joined: Fri Sep 05, 2003 6:11 pm
Posts: 34
I switched to 2.0.3 but it's still not compiling with the classic compiler

java -cp lib/ant.jar:lib/optional.jar:lib/junit.jar:$JAVA_HOME/lib/tools.jar:lib/jdbc2_0-stdext.jar -Dbuild.compiler=classic org.apache.tools.ant.Main
Buildfile: build.xml

splash:

init:
[echo] Build Hibernate-2.0.3 (2003-10-24 05:10:35)
[mkdir] Created dir: /usr/local/db/release/hibernate/hibernate-2.0.3/hibernate-2.0.3/build
[copy] Copying 40 files to /usr/local/db/release/hibernate/hibernate-2.0.3/hibernate-2.0.3/build

compile:
[javac] Compiling 462 source files to /usr/local/db/release/hibernate/hibernate-2.0.3/hibernate-2.0.3/build
[javac] /usr/local/db/release/hibernate/hibernate-2.0.3/hibernate-2.0.3/src/net/sf/hibernate/type/AssociationType.java:26: The type nested type net.sf.hibernate.type.AssociationType. 1 can't be static. Static members can only occur in interfaces and top-level classes.
[javac] public static final ForeignKeyType FOREIGN_KEY_TO_PARENT = new ForeignKeyType() {
[javac] ^
[javac] /usr/local/db/release/hibernate/hibernate-2.0.3/hibernate-2.0.3/src/net/sf/hibernate/type/AssociationType.java:26: Interface fields can't be private or protected: nested type net.sf.hibernate.type.AssociationType. 1
[javac] public static final ForeignKeyType FOREIGN_KEY_TO_PARENT = new ForeignKeyType() {
[javac] ^
[javac] /usr/local/db/release/hibernate/hibernate-2.0.3/hibernate-2.0.3/src/net/sf/hibernate/type/AssociationType.java:34: The type nested type net.sf.hibernate.type.AssociationType. 2 can't be static. Static members can only occur in interfaces and top-level classes.
[javac] public static final ForeignKeyType FOREIGN_KEY_FROM_PARENT = new ForeignKeyType() {
[javac] ^
[javac] /usr/local/db/release/hibernate/hibernate-2.0.3/hibernate-2.0.3/src/net/sf/hibernate/type/AssociationType.java:34: Interface fields can't be private or protected: nested type net.sf.hibernate.type.AssociationType. 2
[javac] public static final ForeignKeyType FOREIGN_KEY_FROM_PARENT = new ForeignKeyType() {
[javac] ^
[javac] /usr/local/db/release/hibernate/hibernate-2.0.3/hibernate-2.0.3/src/net/sf/hibernate/type/ObjectType.java:252: The method net.sf.hibernate.type.ForeignKeyType getForeignKeyType() declared in class net.sf.hibernate.type.ObjectType cannot override the method of the same signature declared in interface net.sf.hibernate.type.AssociationType. They must have the same return type.
[javac] public ForeignKeyType getForeignKeyType() {
[javac] ^
[javac] /usr/local/db/release/hibernate/hibernate-2.0.3/hibernate-2.0.3/src/net/sf/hibernate/test/FooBarTest.java:281: Incompatible type for =. Explicit cast needed to convert char to byte.
[javac] bytes[1]='o';
[javac] ^
[javac] /usr/local/db/release/hibernate/hibernate-2.0.3/hibernate-2.0.3/src/net/sf/hibernate/util/ReflectHelper.java:30: Blank final variable 'OBJECT_EQUALS' may not have been initialized. It must be assigned a value in an initializer, or in every constructor.
[javac] private static final Method OBJECT_EQUALS;
[javac] ^
[javac] 7 errors

BUILD FAILED
file:/usr/local/db/release/hibernate/hibernate-2.0.3/hibernate-2.0.3/build.xml:127: Compile failed; see the compiler error output for details.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 29, 2003 7:43 pm 
Beginner
Beginner

Joined: Mon Sep 29, 2003 10:32 pm
Posts: 35
Location: Toronto, Ontario
I have the identical problem with getting Hibernate 2.1b4 to work on the IBM 1.3.1 JVM. I have tried recompiling for the IBM JVM with and without the -classic option.

ALso the FAQ about this issue is not clear. It says "The problem is the -classic JVM debug option, which is present in both Jboss and IntelliJ project options, beware!" Can someone review the FAQ about this issue and spend a little more time expaining the solution.

If anyone has gotten the 2.1b4 to work with WebSphere 5.0 let me know.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 30, 2003 12:53 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
FYI I have no problems at all compiling Hibernate with IBM JDK 1.3.1.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 19, 2003 11:45 pm 
Regular
Regular

Joined: Sat Oct 18, 2003 11:53 am
Posts: 55
HA! Imagine this, I can contribute something instead of begging for help (for usually stupid problems)

I was having the same problem, getting an AbstractMethodError on line 74 of SettingsFactory. Switching to jdk1.4 gave me a better hint about the error (1.4 will tell you the subclass of the abstract class that has the problem) and it was my jdbc driver.

I was using the inetsoftware.de UNA (old, 1.0) driver and I upgraded to one of the newer drivers that supports jdbc2.0 and it solved the problem.

BTW: www.inetsoftware.de has the BEST drivers for MSSQL


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