maven搭建SpringMVC+spring+ibatis

  • C6_490973
    了解作者
  • 27.7MB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-05-27 04:26
    上传日期
是不是好东西你们去鉴定,SpringMVC + Spring + ibatis 可以配置多数据源,这个Demo 扩展性极强,就看你们自己如何发挥。
spring - 副本.rar
内容介绍
<?xml version="1.0" encoding="UTF-8"?> <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>com.common</groupId> <artifactId rel='nofollow' onclick='return false;'>spring</artifactId> <name>spring</name> <packaging>war</packaging> <version>1.0.0-BUILD-SNAPSHOT</version> <properties> <java-version>1.6</java-version> <org.springframework-version>3.1.1.RELEASE</org.springframework-version> <org.aspectj-version>1.6.10</org.aspectj-version> <org.slf4j-version>1.6.6</org.slf4j-version> </properties> <dependencies> <!-- Spring --> <dependency> <groupId>org.springframework</groupId> <artifactId rel='nofollow' onclick='return false;'>spring-context</artifactId> <version>${org.springframework-version}</version> <exclusions> <!-- Exclude Commons Logging in favor of SLF4j --> <exclusion> <groupId>commons-logging</groupId> <artifactId rel='nofollow' onclick='return false;'>commons-logging</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId rel='nofollow' onclick='return false;'>spring-web</artifactId> <version>${org.springframework-version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId rel='nofollow' onclick='return false;'>spring-webmvc</artifactId> <version>${org.springframework-version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId rel='nofollow' onclick='return false;'>spring-context-support</artifactId> <version>${org.springframework-version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId rel='nofollow' onclick='return false;'>spring-orm</artifactId> <version>${org.springframework-version}</version> </dependency> <!-- AspectJ --> <dependency> <groupId>org.aspectj</groupId> <artifactId rel='nofollow' onclick='return false;'>aspectjrt</artifactId> <version>${org.aspectj-version}</version> </dependency> <!-- quartz --> <dependency> <groupId>org.quartz-scheduler</groupId> <artifactId rel='nofollow' onclick='return false;'>quartz</artifactId> <version>2.1.6</version> </dependency> <!-- Logging --> <dependency> <groupId>org.slf4j</groupId> <artifactId rel='nofollow' onclick='return false;'>slf4j-api</artifactId> <version>${org.slf4j-version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId rel='nofollow' onclick='return false;'>jcl-over-slf4j</artifactId> <version>${org.slf4j-version}</version> <scope>runtime</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId rel='nofollow' onclick='return false;'>slf4j-log4j12</artifactId> <version>${org.slf4j-version}</version> <scope>runtime</scope> </dependency> <dependency> <groupId>log4j</groupId> <artifactId rel='nofollow' onclick='return false;'>log4j</artifactId> <version>1.2.15</version> <exclusions> <exclusion> <groupId>javax.mail</groupId> <artifactId rel='nofollow' onclick='return false;'>mail</artifactId> </exclusion> <exclusion> <groupId>javax.jms</groupId> <artifactId rel='nofollow' onclick='return false;'>jms</artifactId> </exclusion> <exclusion> <groupId>com.sun.jdmk</groupId> <artifactId rel='nofollow' onclick='return false;'>jmxtools</artifactId> </exclusion> <exclusion> <groupId>com.sun.jmx</groupId> <artifactId rel='nofollow' onclick='return false;'>jmxri</artifactId> </exclusion> </exclusions> <scope>runtime</scope> </dependency> <!-- 日志记录依赖包,很多都依赖此包,像log4j,json-lib等等  --> <dependency> <groupId>commons-logging</groupId> <artifactId rel='nofollow' onclick='return false;'>commons-logging-api</artifactId> <version>1.1</version> </dependency> <!-- @Inject --> <dependency> <groupId>javax.inject</groupId> <artifactId rel='nofollow' onclick='return false;'>javax.inject</artifactId> <version>1</version> </dependency> <!-- Servlet --> <dependency> <groupId>javax.servlet</groupId> <artifactId rel='nofollow' onclick='return false;'>servlet-api</artifactId> <version>2.5</version> <scope>provided</scope> </dependency> <dependency> <groupId>javax.servlet.jsp</groupId> <artifactId rel='nofollow' onclick='return false;'>jsp-api</artifactId> <version>2.1</version> <scope>provided</scope> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId rel='nofollow' onclick='return false;'>jstl</artifactId> <version>1.2</version> </dependency> <!-- MySQL Driver --> <dependency> <groupId>mysql</groupId> <artifactId rel='nofollow' onclick='return false;'>mysql-connector-java</artifactId> <version>5.1.17</version> </dependency> <!-- ibatis --> <dependency> <groupId>org.apache.ibatis</groupId> <artifactId rel='nofollow' onclick='return false;'>ibatis-core</artifactId> <version>3.0</version> </dependency> <dependency> <groupId>org.apache.ibatis</groupId> <artifactId rel='nofollow' onclick='return false;'>ibatis-sqlmap</artifactId> <version>2.3.4.726</version> </dependency> <!-- druid --> <dependency> <groupId>com.alibaba</groupId> <artifactId rel='nofollow' onclick='return false;'>druid</artifactId> <version>0.2.18</version> </dependency> <dependency> <groupId>org.jdom</groupId> <artifactId rel='nofollow' onclick='return false;'>jdom</artifactId> <version>1.1</version> </dependency> <dependency> <groupId>commons-codec</groupId> <artifactId rel='nofollow' onclick='return false;'>commons-codec</artifactId> <version>1.6</version> </dependency> <!-- fastjson --> <dependency> <groupId>com.alibaba</groupId> <artifactId rel='nofollow' onclick='return false;'>fastjson</artifactId> <version>1.1.19</version> </dependency> <!-- Servlet --> <dependency> <groupId>javax.servlet</groupId> <artifactId rel='nofollow' onclick='return false;'>javax.servlet-api</artifactId> <version>3.0.1</version> <scope>runtime</scope> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId rel='nofollow' onclick='return false;'>servlet-api</artifactId> <version>2.5</version> <scope>provided</scope> </dependency> <dependency> <groupId>javax.servlet.jsp</groupId> <artifactId rel='nofollow' onclick='return false;'>jsp-api</artifactId> <version>2.1</version> <scope>provided</scope> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId rel='nofollow' onclick='return false;'>jstl</artifactId> <version>1.2</version> </dependency> <!-- POI --> <dependency> <groupId>org.apache.poi</groupId> <artifactId rel='nofollow' onclick='return false;'>poi</artifactId> <version>3.9</version> </dependency> <!-- file-upload --> <dependency> <groupId>commons-fileupload</groupId> <artifactId rel='nofollow' onclick='return false;'>commons-fileupload</artifactId> <version>1.3</version> </dependency> <!-- dom4j --> <dependency> <groupId>dom4j</groupId> <artifactId rel='nofollow' onclick='return false;'>dom4j</artifactId> <version>1.6.1</version> </dependency> <!-- Test --> <dependency> <groupId>junit</groupId> <artifactId rel='nofollow' onclick='return false;'>junit</artifactId> <version>4.7</version> <scope>test</scope> </dependency> <!-- JCE --> <dependency> <groupId>org.bouncycastle</groupId> <artifactId rel='nofollow' onclick='return false;'>bcprov-jdk15on</artifactId> <version>1.50</version> </dependency> </dependencies> <build> <plugins> <plugin> <artifactId rel='nofollow' onclick='return false;'>maven-eclipse-plugin</artifactId> <version>2.9</version> <configuration> <additionalProjectnatures rel='nofollow' onclick='return false;'> <projectnature>org.springframework.ide.eclipse.core.springnature</projectnature> </additionalProjectnatures> <additionalBuildcommands rel='nofollow' onclick='return false;'> <buildcommand>org.springframework.ide.eclipse.core.springbuilder</buildcommand> </additionalBuildcommands> <downloadSources>true</downloadSources> <downloadJavadocs>true</downloadJavadocs> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId rel='nofollow' onclick='return false;'>maven-compiler-plugin</artifactId> <version>2.5.1</version> <configuration> <source>1.6</source> <target>1.6</target> <compilerArgument>-Xlint:all</compilerArgument> <showWarnings>true</showWarnings> <showDeprecation>true</showDeprecation> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId rel='nofollow' onclick='return false;'>exec-maven-plugin</artifactId> <version>1.2.1</version> <con
评论
    相关推荐
    • spring mvc
      spring mvc简单实例
    • spring mvc
      spring mvc
    • Spring MVC
      Spring MVC使用注解配置。。。。。。。。。。。。。。。。。。。。。
    • spring mvc
      本代码是spring mvc的一个小demo 只是完成mvc的一个实例。没有复杂的业务逻辑 本demo只是适合刚学习Spring mvc的同行
    • spring mvc
      spring mvc spring mvcspring mvc
    • Spring MVC
      一个简单的spring mvc登录案例,采用的是annotation方式。
    • spring mvc
      spring mvc框架代码实例,测试可用。
    • spring mvc
      spring mvc 开发所需要的全部工具、jar包
    • spring mvc
      这是一个spring mvc3.04例子。这个例子简单,弹性好,易于扩展。好理解。是我在开发时项目例子。
    • spring mvc
      spring mvc最小代码。spring mvc最小代码。spring mvc最小代码。spring mvc最小代码。