<output id="qn6qe"></output>

    1. <output id="qn6qe"><tt id="qn6qe"></tt></output>
    2. <strike id="qn6qe"></strike>

      亚洲 日本 欧洲 欧美 视频,日韩中文字幕有码av,一本一道av中文字幕无码,国产线播放免费人成视频播放,人妻少妇偷人无码视频,日夜啪啪一区二区三区,国产尤物精品自在拍视频首页,久热这里只有精品12

      Maven項目中整合SSH(pom.xml文件的配置詳解)

      Maven項目中整合SSH比較繁瑣,需要解決版本沖突問題,博主在下面給出了pom.xml文件的配置信息,改配置文件整合的是:struts2-2.3.24、spring4.2.4、hibernate5.0.7。如果需要改版本,只需要更改<properties>標(biāo)簽中的版本號即可!

      <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>
        <groupId>cn.itcast.maven-crm</groupId>
        <artifactId>maven-crm</artifactId>
        <version>0.0.1-SNAPSHOT</version>
        <packaging>war</packaging>
        <name>maven-crm</name>
        <description>maven-crm項目描述</description>
        
          <!-- 屬性 -->
          <!--如果需要更改框架的版本號,只需要更改<properties>標(biāo)簽中的 “版本變量” 即可-->
      	<properties>
      		<spring.version>4.2.4.RELEASE</spring.version>
      		<hibernate.version>5.0.7.Final</hibernate.version>
      		<struts.version>2.3.24</struts.version>
      	</properties>
      
      	<!-- 鎖定版本,struts2-2.3.24、spring4.2.4、hibernate5.0.7 -->
      	<dependencyManagement>
      		<dependencies>
      			<dependency>
      				<groupId>org.springframework</groupId>
      				<artifactId>spring-context</artifactId>
      				<version>${spring.version}</version>
      			</dependency>
      			<dependency>
      				<groupId>org.springframework</groupId>
      				<artifactId>spring-aspects</artifactId>
      				<version>${spring.version}</version>
      			</dependency>
      			<dependency>
      				<groupId>org.springframework</groupId>
      				<artifactId>spring-orm</artifactId>
      				<version>${spring.version}</version>
      			</dependency>
      			<dependency>
      				<groupId>org.springframework</groupId>
      				<artifactId>spring-test</artifactId>
      				<version>${spring.version}</version>
      			</dependency>
      			<dependency>
      				<groupId>org.springframework</groupId>
      				<artifactId>spring-web</artifactId>
      				<version>${spring.version}</version>
      			</dependency>
      			<dependency>
      				<groupId>org.hibernate</groupId>
      				<artifactId>hibernate-core</artifactId>
      				<version>${hibernate.version}</version>
      			</dependency>
      			<dependency>
      				<groupId>org.apache.struts</groupId>
      				<artifactId>struts2-core</artifactId>
      				<version>${struts.version}</version>
      			</dependency>
      			<dependency>
      				<groupId>org.apache.struts</groupId>
      				<artifactId>struts2-spring-plugin</artifactId>
      				<version>${struts.version}</version>
      			</dependency>
      		</dependencies>
      	</dependencyManagement>
      	<!-- 依賴管理 -->
      	<dependencies>
      		<!-- spring -->
      		<dependency>
      			<groupId>org.springframework</groupId>
      			<artifactId>spring-context</artifactId>
      		</dependency>
      		<dependency>
      			<groupId>org.springframework</groupId>
      			<artifactId>spring-aspects</artifactId>
      		</dependency>
      		<dependency>
      			<groupId>org.springframework</groupId>
      			<artifactId>spring-orm</artifactId>
      		</dependency>
      		<dependency>
      			<groupId>org.springframework</groupId>
      			<artifactId>spring-test</artifactId>
      		</dependency>
      		<dependency>
      			<groupId>org.springframework</groupId>
      			<artifactId>spring-web</artifactId>
      		</dependency>
      		<!-- hibernate -->
      		<dependency>
      			<groupId>org.hibernate</groupId>
      			<artifactId>hibernate-core</artifactId>
      		</dependency>
      
      		<!-- 數(shù)據(jù)庫驅(qū)動 -->
      		<dependency>
      			<groupId>mysql</groupId>
      			<artifactId>mysql-connector-java</artifactId>
      			<version>5.1.6</version>
      			<scope>runtime</scope>
      		</dependency>
      		<!-- c3p0 -->
      
      		<dependency>
      			<groupId>c3p0</groupId>
      			<artifactId>c3p0</artifactId>
      			<version>0.9.1.2</version>
      		</dependency>
      
      
      		<!-- 導(dǎo)入 struts2 -->
      		<dependency>
      			<groupId>org.apache.struts</groupId>
      			<artifactId>struts2-core</artifactId>
      		</dependency>
      		<dependency>
      			<groupId>org.apache.struts</groupId>
      			<artifactId>struts2-spring-plugin</artifactId>
      		</dependency>
      
      		<!-- servlet jsp -->
      		<dependency>
      			<groupId>javax.servlet</groupId>
      			<artifactId>servlet-api</artifactId>
      			<version>2.5</version>
      			<scope>provided</scope>
      		</dependency>
      		<dependency>
      			<groupId>javax.servlet</groupId>
      			<artifactId>jsp-api</artifactId>
      			<version>2.0</version>
      			<scope>provided</scope>
      		</dependency>
      		<!-- 日志 -->
      		<dependency>
      			<groupId>org.slf4j</groupId>
      			<artifactId>slf4j-log4j12</artifactId>
      			<version>1.7.2</version>
      		</dependency>
      		<!-- junit -->
      		<dependency>
      			<groupId>junit</groupId>
      			<artifactId>junit</artifactId>
      			<version>4.9</version>
      			<scope>test</scope>
      		</dependency>
      		<!-- jstl -->
      		<dependency>
      			<groupId>javax.servlet</groupId>
      			<artifactId>jstl</artifactId>
      			<version>1.2</version>
      		</dependency>
      	</dependencies>
      
      	<build>
      		<plugins>
      			<!-- 設(shè)置編譯版本為1.7 -->
      			<plugin>
      				<groupId>org.apache.maven.plugins</groupId>
      				<artifactId>maven-compiler-plugin</artifactId>
      				<configuration>
      					<source>1.7</source>
      					<target>1.7</target>
      					<encoding>UTF-8</encoding>
      				</configuration>
      			</plugin>
      
      			<!-- maven內(nèi)置 的tomcat6插件 -->
      			<plugin>
      				<groupId>org.codehaus.mojo</groupId>
      				<artifactId>tomcat-maven-plugin</artifactId>
      				<version>1.1</version>
      				<configuration>
      					<!-- 可以靈活配置工程路徑 -->
      					<path>/ssh</path>
      					<!-- 可以靈活配置端口號 -->
      					<port>8080</port>
      				</configuration>
      			</plugin>
      
      		</plugins>
      	</build>
      </project>
      

       

      posted @ 2018-09-13 20:11  聽到微笑  閱讀(8)  評論(0)    收藏  舉報  來源
      主站蜘蛛池模板: 亚洲国产精品日韩专区av| 在线涩涩免费观看国产精品| 亚洲中文字幕在线无码一区二区| 国产目拍亚洲精品二区| 熟妇人妻一区二区三区四区| 久久欧洲精品成av人片| 日韩理伦片一区二区三区| 日本亚洲欧洲无免费码在线| 国产又色又爽又黄的视频在线| 少妇真人直播免费视频| 强奷漂亮少妇高潮麻豆| 阿鲁科尔沁旗| 天天干天天干| 国产成人精品亚洲资源| 中文字幕无码av激情不卡| 久久一日本综合色鬼综合色 | 国产一区二区三区黄色片| 中文字幕有码无码AV| 国产亚洲精品久久久久秋霞| 日韩一级伦理片一区二区| 国产不卡精品视频男人的天堂| 国产中文99视频在线观看| 日韩本精品一区二区三区| 国产亚洲欧美精品久久久| 亚洲护士一区二区三区| 水蜜桃精品综合视频在线| 插入中文字幕在线一区二区三区| 欧美亚洲h在线一区二区| 国产性生大片免费观看性| 天天摸天天碰天天添| 国产午夜精品福利免费看| 99久久精品费精品国产一区二| 极品少妇xxxx| 亚洲国产精品成人av网| 亚洲日本精品一区二区| 久久久久青草线综合超碰| 粉嫩国产一区二区三区在线| 国产suv精品一区二区四| 人妻少妇乱子伦精品| 亚洲国产午夜精品福利| 亚洲旡码欧美大片|