简体   繁体   中英

Created a maven project in Eclipse, moved directory location, how to open it now?

I created a maven2 project in eclipse, and then I moved the folder to another location.

How can I open that project now in eclipse, I can't seem to find a 'open an exisiting maven' project or the like?

Opening the file pom.xml just opens the file, kinda stuck sorry.

If you are using the M2Eclipse plugin for Eclipse, you can right-click in the Package Explorer view and then Import... > Maven > Existing Maven projects :

替代文字

If you are using the maven-eclipse-plugin, then simply import it as an Import... General > Existing Projects into workspace .

Try File->Import->General->Existing Project into Workspace.

替代文字

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