課程
/后端開發(fā)
/Java
/Spring MVC起步
pom.xml里的代碼是復(fù)制的嗎?照著敲會出錯怎么搞得?
2016-10-17
源自:Spring MVC起步 3-5
正在回答
<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/maven-v4_0_0.xsd">
? <modelVersion>4.0.0</modelVersion>
? <groupId>imooc-lushaobin</groupId>
? <artifactId>spring-mvc-learning</artifactId>
? <packaging>war</packaging>
? <version>1.0-SNAPSHOT</version>
? <name>spring-mvc-learning Maven Webapp</name>
? <url>http://maven.apache.org</url>
? <properties>
? ? ? <commons-lang.version>2.6</commons-lang.version>
? ? ? <slf4j.version>1.7.6</slf4j.version>
? ? ? <spring.version>4.1.3.RELEASE</spring.version>
? </properties>
? <dependencyManagement>
? ? <dependencies>
? ? ? <dependency>
? ? ? ? ? ? <groupId>org.springframework</groupId>
? ? ? ? ? ? <artifactId>spring-framework-bom</artifactId>
? ? ? ? ? ? <version>${spring.version}</version>
? ? ? ? ? ? <type>pom</type>
? ? ? ? ? ? <scope>import</scope>
? ? ? </dependency>
? ? </dependencies>
? </dependencyManagement>
? <dependencies>
? ? <dependency>
? ? ? <groupId>org.springframework</groupId>
? ? ? <artifactId>spring-webmvc</artifactId>
? ? </dependency>
? </dependencies>
??
? ? ? <groupId>commons-lang</groupId>
? ? ? <artifactId>commons-lang</artifactId>
? ? ? <version>${commons-lang.version}</version>
? ? ? <groupId>org.slf4j</groupId>
? ? ? <artifactId>slf4j-log4j12</artifactId>
? ? ? <version>${slf4j.version}</version>
? ? ? <exclusions>
? ? ? ? ?<exclusion>
? ? ? ? ? ? <artifactId>slf4j-api</artifactId>
? ? ? ? ? ? <groupId>org.slf4j</groupId>
? ? ? ? ?</exclusion>?
? ? ? </exclusions>
? ? ? <groupId>junit</groupId>
? ? ? <artifactId>junit</artifactId>
? ? ? <version>3.8.1</version>
? ? ??
? <build>
? ? ? <plugins>
? ? ? ? ?<plugin>
? ? ? ? ? ?<artifactId>jetty-maven-plugin</artifactId>
? ? ? ? ? ?<groupId>org.eclipse.jetty</groupId>
? ? ? ? ? ?<version>9.2.2.v20140723</version>
? ? ? ? ?</plugin>
? ? ? </plugins>
? </build>
</project>
慕萊塢8065122 提問者
復(fù)制吧 ? 自己配會丟失標(biāo)簽
舉報
Java中Spring MVC框架入門教程,快來看最易用的MVC框架
2 回答pom.xml
2 回答pom.xml報錯
1 回答pom.xml問題
2 回答修改pom.xml
2 回答課件呢pom.xml
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號
2016-10-19
<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/maven-v4_0_0.xsd">
? <modelVersion>4.0.0</modelVersion>
? <groupId>imooc-lushaobin</groupId>
? <artifactId>spring-mvc-learning</artifactId>
? <packaging>war</packaging>
? <version>1.0-SNAPSHOT</version>
? <name>spring-mvc-learning Maven Webapp</name>
? <url>http://maven.apache.org</url>
? <properties>
? ? ? <commons-lang.version>2.6</commons-lang.version>
? ? ? <slf4j.version>1.7.6</slf4j.version>
? ? ? <spring.version>4.1.3.RELEASE</spring.version>
? </properties>
? <dependencyManagement>
? ? <dependencies>
? ? ? <dependency>
? ? ? ? ? ? <groupId>org.springframework</groupId>
? ? ? ? ? ? <artifactId>spring-framework-bom</artifactId>
? ? ? ? ? ? <version>${spring.version}</version>
? ? ? ? ? ? <type>pom</type>
? ? ? ? ? ? <scope>import</scope>
? ? ? </dependency>
? ? </dependencies>
? </dependencyManagement>
? <dependencies>
? ? <dependency>
? ? ? <groupId>org.springframework</groupId>
? ? ? <artifactId>spring-webmvc</artifactId>
? ? </dependency>
? </dependencies>
??
? <dependencies>
? ? <dependency>
? ? ? <groupId>commons-lang</groupId>
? ? ? <artifactId>commons-lang</artifactId>
? ? ? <version>${commons-lang.version}</version>
? ? </dependency>
? </dependencies>
??
? <dependencies>
? ? <dependency>
? ? ? <groupId>org.slf4j</groupId>
? ? ? <artifactId>slf4j-log4j12</artifactId>
? ? ? <version>${slf4j.version}</version>
? ? ? <exclusions>
? ? ? ? ?<exclusion>
? ? ? ? ? ? <artifactId>slf4j-api</artifactId>
? ? ? ? ? ? <groupId>org.slf4j</groupId>
? ? ? ? ?</exclusion>?
? ? ? </exclusions>
? ? </dependency>
? </dependencies>
??
? <dependencies>
? ? <dependency>
? ? ? <groupId>junit</groupId>
? ? ? <artifactId>junit</artifactId>
? ? ? <version>3.8.1</version>
? ? ??
? ? </dependency>
? </dependencies>
? <build>
? ? ? <plugins>
? ? ? ? ?<plugin>
? ? ? ? ? ?<artifactId>jetty-maven-plugin</artifactId>
? ? ? ? ? ?<groupId>org.eclipse.jetty</groupId>
? ? ? ? ? ?<version>9.2.2.v20140723</version>
? ? ? ? ?</plugin>
? ? ? </plugins>
? </build>
</project>
2016-10-17
復(fù)制吧 ? 自己配會丟失標(biāo)簽