Werner, After a few tweaks to the build, it worked like a charm!
As a recent user of Castor, I have found it to be quite invaluable to my design. The learning curve has been quite steep for me, since I had been away from programming for a number of years and only recently started to com back on track again. I appreciate all the development work you guys have put in and the prompt responses to my simplistic queries. I don't have any experience of Hibernate to compare the two products but Castor is doing just great for me at the moment. Thanks again John -----Original Message----- From: Werner Guttmann [mailto:[EMAIL PROTECTED] Sent: Thursday, March 09, 2006 04:29 PM To: [email protected] Subject: Re: [castor-user] Creating Application JAR file John, you can download the JTA JAR file from http://cvs.castor.codehaus.org/viewrep/~raw,r=1.1/castor/castor/lib/jta1.0.1 .jar Regards Werner Brian Schlining wrote: > 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, pleasesend an empty message > to the following address: > > [EMAIL PROTECTED] > ------------------------------------------------- > > ------------------------------------------------- If you wish to unsubscribe from this list, please send an empty message to the following address: [EMAIL PROTECTED] ------------------------------------------------- ------------------------------------------------- If you wish to unsubscribe from this list, please send an empty message to the following address: [EMAIL PROTECTED] -------------------------------------------------

