Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: java.lang.ExceptionInInitializerError



On Thursday, May 31, 2001, at 06:18 PM, Ronald Guest wrote:

2) it wants the transaction API jar and that needs to be added to the
project and classpath


The errors I'm seeing seem related to this jar. I'll try to trim some of it. After other errors I could probably figure out I get this.

Exception in thread "main" java.lang.NoClassDefFoundError: javax/transaction/xa/XAException
at org.enhydra.instantdb.db.Database.dbOpen(Database.java:311)

Looking at this filename limits are definitely not involved.

jar -tvf looks fine including...
1275 Wed May 12 15:30:02 CDT 1999 javax/transaction/xa/XAException.class
1087 Wed May 12 15:30:02 CDT 1999 javax/transaction/xa/XAResource.class

One looks good javap...
[localhost:~/Applications/idb3_26_0/Classes] mjh% javap -classpath jta-spec1_0_1.jar javax.transaction.xa.XAResource
Compiled from XAResource.java

But the other gets
[localhost:~/Applications/idb3_26_0/Classes] mjh% javap -classpath jta-spec1_0_1.jar javax.transaction.xa.XAException.class
Class 'javax.transaction.xa.XAException.class' not found

Yes I realize this shouldn't be a InstantDB error not to mention an indication that it is insane.
Jar files are just flat out looney-tunes.

Mike Hall <email@hidden>
<http://www.spacestar.net/users/mikehall>


References: 
 >Re: java.lang.ExceptionInInitializerError (From: Ronald Guest <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.