Java class SingularMatrixException not found

廉价感情. 提交于 2020-01-05 17:37:09

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!