java.lang.ClassNotFoundException: org.apache.commons.math3.linear.RealMatrix In Spring

java.lang.ClassNotFoundException: org.apache.commons.math3.linear.RealMatrix

Maven

<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-math3 -->
<dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>commons-math3</artifactId>
    <version>3.0</version>
</dependency>
  • [http-nio-5330-exec-8] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in context with path [/acaps] threw exception [Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: org/apache/commons/math3/linear/RealMatrix] with root cause

  • java.lang.ClassNotFoundException: org.apache.commons.math3.linear.RealMatrix