将Maven性质添加到具有pom但没有Maven子菜单的现有Eclipse项目中 [英] Add Maven nature to existing Eclipse project that has pom but no Maven submenu

查看:113
本文介绍了将Maven性质添加到具有pom但没有Maven子菜单的现有Eclipse项目中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当在Eclipse中右键单击没有Maven子菜单时,如何将项目转换为Maven性质?该项目已经有一个POM文件.

How can I convert a project to Maven nature when there is no sub-menu for Maven on right click in Eclipse? The project already has a POM file.

推荐答案

右键单击项目-配置-转换-转换为Maven项目

Right click on the project- Configure - Convert -Convert to Maven Project

这也是刷新Maven依赖关系的方法.

This is also a method to refresh the Maven Dependencies.

这篇关于将Maven性质添加到具有pom但没有Maven子菜单的现有Eclipse项目中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆