Hi John,
Do you have the java transactions classes included on your classpath? They're not part of the standard Java classes, you have to download them separately. I think they're in a jar named something like jta-1.0.1.jar.

 B

On Mar 9, 2006, at 1:16 PM, John Greene wrote:

I have completed my project using NB 5.0 IDE incorporating Castor 1.0M2.
All unit and Database integration tests passes.

I have created a .jar distribution file and attempted to execute it out side the IDE from the command prompt. However the following error is reported:

Exception in thread "main" java.lang.NoClassDefFoundError:
javax/transaction/synchronization at
        DatabasePersistance.loadDatabaseConfig<DatabasePersistance.java:31>

As stated, everthing runs as expected from the IDE.

Question:
        (1) What are the list of files that must be included in the build?
        (2) Any one experienced somthing simillar and know the fix?

Thanks
John



-------------------------------------------------
If you wish to unsubscribe from this list, please
send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------


Brian Schlining
Software Engineer
http://www.mbari.org



-------------------------------------------------
If you wish to unsubscribe from this list, please send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to