Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/tm/TransactionTimeoutConfiguration

Hi, when I use Jboss in my application, I get the above error.  I unjar the file under org/jboss/tm/jboss.tar downloaded from jboss.org.  TransactionTimeoutConfiguration.class does not exist.  

Anybody has some idea?  Thanks.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

That class is in jboss-transaction.jar so you need to have it along with the other JBoss jars
Dennis98Author Commented:
It is still giving me the error after I put jboss-transaction.jar into my classpath.   The following is the complete jboss jar files I have in my classpath.


Do you see anything missing?  Thanks.
>>It is still giving me the error after I put jboss-transaction.jar into my classpath.

You'll probably find that it *isn't* in your classpath, even though you think it is

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

Dennis98Author Commented:
Can you tell me how I can add it to the path?  I am using eclipse.  I edited the .classpath file in my project folder, but it still complains the jar file is not found even though I have already copied it into the directory.  Thanks.
Dennis98Author Commented:
I have to add the jar as an external jar although I have manually copied it under my project directory.  When I tried "Add Jars" in Eclipse, it is not showing jboss-transaction.jar even though it IS there.

With jboss-transaction.jar as an external jar, I am getting a different error.  So I think you have fixed my problem.  Thanks.
>>I edited the .classpath file in my project folder,

! Don't do that. Just add it. afaicr you can define your own libraries in Eclipse, to which you can add serveral jars. I'd do that for JBoss development
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java App Servers

From novice to tech pro — start learning today.