Error while compiling Maven project | Selenium Forum
Munish Sandal Posted on 01/09/2020

Hello Sir,

I am getting below error while compiling the maven project as I have added new dependencies.


Ashish Replied on 01/09/2020

Delete the jars file folder of maven

And then try command again. Some cache issue is there

Munish Sandal Replied on 02/09/2020

Hello Sir,

If I understood correctly, do you want me to delete some jar files from lib folder.


I am attaching the screesnhot of files present.

Responsive image

Munish Sandal Replied on 02/09/2020

Hello sir,

Now I am getting below error.


Nishus-MacBook-Air:MavenProjectFromCMD nishu$ mvn compile

[INFO] Scanning for projects...


[INFO] ----------------< com.qtpselenium:MavenProjectFromCMD >-----------------

[INFO] Building MavenProjectFromCMD 1.0-SNAPSHOT

[INFO] --------------------------------[ jar ]---------------------------------

[WARNING] The POM for org.apache.poi:poi--ooxml-scehmas:jar:3.6 is missing, no dependency information available

[INFO] ------------------------------------------------------------------------


[INFO] ------------------------------------------------------------------------

[INFO] Total time:  1.022 s

[INFO] Finished at: 2020-09-02T05:38:56+05:30

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal on project MavenProjectFromCMD: Could not resolve dependencies for project com.qtpselenium:MavenProjectFromCMD:jar:1.0-SNAPSHOT: Failure to find org.apache.poi:poi--ooxml-scehmas:jar:3.6 in was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]


[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.


[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1]

You have new mail in /var/mail/nishu

Munish Sandal Replied on 05/09/2020

Hello Sir my issue is resolved

Related Posts