打开pom.xml,在它里面使用快捷键:ALT+Insert ————>点击dependency
再输入想要添加的依赖关键字,比如:输个spring 出现下图:
根据需求选择版本,完成以后结果如下图:
标签:技术分享 XML dep 出现 添加 class 点击 depend insert
打开pom.xml,在它里面使用快捷键:ALT+Insert ————>点击dependency
再输入想要添加的依赖关键字,比如:输个spring 出现下图:
根据需求选择版本,完成以后结果如下图:
Intellij IDEA 像eclipse那样给maven添加依赖
标签:技术分享 XML dep 出现 添加 class 点击 depend insert
原文地址:http://www.cnblogs.com/gongxin/p/8018465.html