Gemalto is now part of the Thales Group, find out more.

You are here

Using external jars as library

euyar

June 14, 2016 - 2:11pm, 925 views

Hi,

Can we use external libraries in jar format in our projects?

I'm adding some library as jar to project using build path settings in eclipse.

When I use a class of that library in code, it compiles successfully but when it run, java.lang.NoClassDefFoundError occurs.

Why it occurs and how can I solve?