Home > Back-end >  Not able to import maven projects in eclipse
Not able to import maven projects in eclipse

Time:12-02

Getting the internal error when i try to import the maven project from my local machine. Internal error

Should import successfully.

CodePudding user response:

Navigate to the project folder via terminal. Execute this command from inside:

mvn clean install -U

CodePudding user response:

Try to

  1. Delete the 'poi-ooxml' folder
  2. Reimport the project

CodePudding user response:

base on the error message, looks like your repository path has a extra char '>'.

Should be: C:\Users\xxxx.m2\repository\org...

But Eclipse read: C:\Users\xxxx.m2\reposoitory**>**org

this path should be set with maven setting.xml, so suggest:

  1. make sure the maven pack from apache offical site
  2. override the setting.xml, under the maven_install_foleder/conf
  3. check the Eclipse property settings about maven, if something override the repository path with a extra charareter

CodePudding user response:

I just deletd the .m2 folder and tried to import the project then it is working fine. also execute this mvn clean intsall -u in the respected project folder.

  • Related