importerror – The import “org.apache.commons.math.*” cannot be resolved in Eclipse IDE

I am trying to import “commons.math4” library in my module. I am getting error at the import statement that it is not able to resolve the item i am trying to import. Please find attached the screenshot of the error.
enter image description here

I have added the jar files to “referenced libraries” section and in the “modulepath” of my project’s “build path”.
Please refer to screenshot below.enter image description here
text

I am trying to import “commons.math4” library in my module. i added the JAR files to the “modulepath” using the “Build PAth” command. However, i am getting the error that it cannot be resolved.

Read more here: Source link