美文网首页
My eclipse下使用maven构建Spring Mvc项目

My eclipse下使用maven构建Spring Mvc项目

作者: en_young | 来源:发表于2019-03-11 20:10 被阅读0次

Myeclipse提前安装好maven,然后新建maven工程项目;

在pom.xml配置文件中,添加Spring框架的maven下坐标信息:

<dependencies>

    <dependency>

        <groupId>org.springframework</groupId>

        <artifactId>spring-context</artifactId>

        <version>3.2.7.RELEASE</version>

    </dependency>

</dependencies>

pom.xml文件是什么?pom作为项目对象模型。通过xml表示maven项目,使用pom.xml来实现。主要描述了项目:包括配置文件;开发者需要遵循的规则,缺陷管理系统,组织和licenses,项目的url,项目的依赖性,以及其他所有的项目相关因素

相关文章

网友评论

      本文标题:My eclipse下使用maven构建Spring Mvc项目

      本文链接:https://www.haomeiwen.com/subject/jwbepqtx.html