问题
I get a NoClassDefFoundError exception for org/apache/commons/math/linear/SingularMatrixException.
Does anybody know what JAR file I need in order to resolver this?
I tried adding 'commons-math3-3.2.jar' to my project's Java Build Path, but that didn't help.
Or is there something else that I am missing in my project settings?
Thanks
回答1:
org/apache/commons/math/linear/SingularMatrixException is commons-math, not commons-math3.
回答2:
Try looking on search.maven.org - the advanced search let's you enter a class name:
http://search.maven.org/#search|ga|1|fc%3A%22org.apache.commons.math.linear.SingularMatrixException%22
To extend Markus Malkusch answer - the last org.apache.commons/commons-math version it's in is 2.2
来源:https://stackoverflow.com/questions/20922285/java-class-singularmatrixexception-not-found