[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

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

Posted on 2008-02-12
7
Medium Priority
?
3,306 Views
Last Modified: 2013-12-02
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.
0
Comment
Question by:Dennis98
  • 4
  • 3
7 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 20882627
That class is in jboss-transaction.jar so you need to have it along with the other JBoss jars
0
 

Author Comment

by:Dennis98
ID: 20884166
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.

jboss.jar
jboss-common.jar
jboss-j2ee.jar
jboss-ica.jar
jboss-system.jar
jboss-transaction.jar

Do you see anything missing?  Thanks.
0
 
LVL 86

Accepted Solution

by:
CEHJ earned 500 total points
ID: 20885637
>>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
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 

Author Comment

by:Dennis98
ID: 20886892
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.
0
 

Author Comment

by:Dennis98
ID: 20887055
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.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 20887227
>>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
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 20901305
:-)
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Suggested Courses
Course of the Month8 days, 14 hours left to enroll

590 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question