I am using the following code in a method that catches and throws org.apache.commons.math.MathException.

NormalDistributionImpl normal = new NormalDistributionImpl();
double invNorm = normal.inverseCumulativeProbability(itemDifficulty);

I import the class using

import org.apache.commons.math.MathException;

but when I compile and run my code I get this error message java.lang.NoClassDefFoundError: org/apache/commons/math/MathException

Any ideas what is happening? With my import statement, it seems like I should not be getting this error.

Thanks


Reply via email to