Java-maven-shangcheng-parent-web-配置

Posted gangzi4321

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Java-maven-shangcheng-parent-web-配置相关的知识,希望对你有一定的参考价值。

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

<modelVersion>4.0.0</modelVersion>

<parent>

<groupId>com.xx</groupId>

<artifactId>xx-manager</artifactId>

<version>0.0.1-SNAPSHOT</version>

</parent>

<artifactId>xx-manager-web</artifactId>

<packaging>war</packaging>

<!-- 添加依赖 -->

<dependencies>

<dependency>

<groupId>com.xx</groupId>

<artifactId>xx-manager-service</artifactId>

<version>0.0.1-SNAPSHOT</version>

</dependency>

<!-- JSP相关 -->

<dependency>

<groupId>jstl</groupId>

<artifactId>jstl</artifactId>

</dependency>

<dependency>

<groupId>javax.servlet</groupId>

<artifactId>servlet-api</artifactId>

<scope>provided</scope>

</dependency>

<dependency>

<groupId>javax.servlet</groupId>

<artifactId>jsp-api</artifactId>

<scope>provided</scope>

</dependency>

<!-- 文件上传组件 -->

<dependency>

<groupId>commons-fileupload</groupId>

<artifactId>commons-fileupload</artifactId>

</dependency>

</dependencies>

</project>

以上是关于Java-maven-shangcheng-parent-web-配置的主要内容,如果未能解决你的问题,请参考以下文章