Solved

NoClassDefFoundError

Posted on 2013-02-05
3
183 Views
Last Modified: 2013-06-14
Hi,
I'm getting followin error in eclipse, I've the jar file containing this class in my classpath.
java.lang.NoClassDefFoundError: org/objectweb/jonas/security/auth/callback/NoInputCallbackHandler, although I've the required jar file in the classpath and the code is compiling.

Please help me how to resolve this issue.
0
Comment
Question by:OTSSolutions
3 Comments
 
LVL 11

Accepted Solution

by:
SANDY_SK earned 500 total points
ID: 38856460
If it is a web application and is getting deployed into tomcat or any other web server, Check and see if the jar files are in its lib folder.

Sometimes what happens is that if you have added a jar file in the classpath and not as a library to your project, the code will complie but when deploying the jar will not be bundled with the application.
0
 
LVL 7

Expert Comment

by:gudii9
ID: 38857031
what kind of application is this. Seems like build path, deploy related issue.

Interesting link on jar files
http://docs.oracle.com/javase/tutorial/deployment/jar/run.html
0
 
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 38858390
I think its from your local system

Yes means try with the sloution

Right click on jar in your eclispe add to build path . then it will add  jar .

Clean yor project and tomcat services . restart the tomcat . it will add
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

770 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