简体   繁体   中英

Cannot import maven project in eclipse due to error

I tried to import a java maven project in my computer, into eclipse sts/spring tool suite 3.9 as follows: eclipse sts > file menu > import > existing maven projects > etc.

I got an error message box with the following message: An internal error occurred during: "Importing Maven projects". Path for project must have only one segment.

I could not find any answers on google to fix this problem. How do I fix this error ?

The problem was fixed by importing the project in a different way as follows:

eclipse sts > file menu > open projects from file system > import source = the root directory of the project (eclipse automatically detects this as a maven project) > finish.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM