I am getting this error:-NoClassDefFoundError wherever the code is using StringUtils class or methods .I have correctly added the jar files to the code and is not showing any kind of error in my code(Using Eclipse Indigo).
Is there any kind of point I am missing out. I have used this jar file in other projects but they worked properly.
Please help If any one is getting similar kind of problem?Thanks
Yes, this because of your
.jarfile didn’t import properly. Follow below steps –Place your
.jarfile in your project’slibsfolder .Import it into your project. And, GoTo project -> properties -> Java build path -> order tab.
Check, whether your
.jarfile checked and placed in order of 1st. This is the main thing.Hope these steps helps you. Have a look at below image –