Architecture adopts springboot integrated MyBatis Web interface project using Oracle database MAVEN Management
Springboot V1.5.2.release
After the adjustment of n times, solve various problems.
Support JSP Access
Support for a jar packet access to Web resources, running under the Pom.xml directory: MVN clean Package
Support timed Tasks
Supports interface HTTP and HTTPS calls
Support for Proxy server requests
Support for HTTPS services
Support for hot-deploy updates
Resource Downloads:
http://download.csdn.net/download/thl331860203/9964655
Pom.xml
<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>org.springframework.boot</groupid > <artifactId>spring-boot-starter-parent</artifactId> <version>1.5.2.release</version
> </parent> <groupId>com.newculture</groupId> <artifactId>mybatis</artifactId> <packaging>jar</packaging> <version>0.0.1-SNAPSHOT</version> <name>chamc</name > <url>http://maven.apache.org</url> <properties> <commons-lang3.version>3.3.2</ Commons-lang3.version> <commons-io.version>1.3.2</commons-io.version> <ojdbc6.version> 11.2.0.3</ojdbc6.version> <mail.version>1.4</mail.version> <java.version>1.7</java.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </ properties> <dependencies> <dependency> <groupId>cglib</groupId> <artifactId> cglib</artifactid> <version>2.2.2</version> </dependency> <dependency> <groupi D>com.alibaba</groupid> <artifactId>fastjson</artifactId> <version>1.1.41</version > </dependency> <!--Spring Boot Web dependencies--> <dependency> <groupid>org.springframework .boot</groupid> <artifactId>spring-boot-starter-web</artifactId> </dependency> <!--SPR ing Boot mybatis dependent--> <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifacti D>mybatis-spring-boot-starter</artifactid> <version>1.2.0</version> </dependency> < !--pagination--> <dependency>;groupid>com.github.pagehelper</groupid> <artifactId>pagehelper</artifactId> <version >4.0.0</version> </dependency> <!--oracle--> <dependency> <groupid>com.oracl e</groupid> <artifactId>ojdbc6</artifactId> <version>${ojdbc6.version}</version> &L t;/dependency> <!--https://mvnrepository.com/artifact/com.alibaba/druid--> <dependency> <grou Pid>com.alibaba</groupid> <artifactId>druid</artifactId> <version>1.0.28</version > </dependency> <!--https://mvnrepository.com/artifact/com.google.code.gson/gson--> <dependency > <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> </dependenc Y> <!--support @ConfigurationProperties annotations--> <dependency> <groupid>org.springframework.boot< ;/groupid> <artifactid>spriNg-boot-configuration-processor</artifactid> <optional>true</optional> </dependency> < dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test& Lt;/scope> </dependency> <!--tomcat support. --> <dependency> <groupId>org.springframework.boot</groupId> <artifactid>spring-boot-s tarter-tomcat</artifactid> <scope>provided</scope> </dependency> <dependency>
;groupid>org.apache.tomcat.embed</groupid> <artifactId>tomcat-embed-jasper</artifactId> <scope>provided</scope> </dependency> <!--mail--> <dependency> <groupid>j Avax.mail</groupid> <artifactId>mail</artifactId> <version>${mail.version}</version > </dependency> <!--httpclient--> <dependency> <groupid>org.apache.httpcomponents</groupid> <artifactId>httpclient</artifactId> </dependency> <depend ency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version> ;2.4</version> </dependency> <dependency> <groupId>javax.servlet</groupId> <a Rtifactid>jstl</artifactid> </dependency> <!--encryption algorithm--> <dependency> <groupid>c ommons-codec</groupid> <artifactId>commons-codec</artifactId> </dependency> <dependenc Y> <groupId>org.apache.maven.plugins</groupId> <artifactid>maven-resources-plugin</ artifactid> <version>2.4.3</version> </dependency> <dependency> <groupid>org. Bouncycastle</groupid> <artifactId>bcprov-jdk15on</artifactId> <version>1.54</version > </dependency> <dEpendency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools< /artifactid> <optional>true</optional> <scope>true</scope> </dependency> </ dependencies> <build> <finalName>chamc</finalName> <resources> <resource> &L T;directory>${basedir}/src/main/resources</directory> <includes> <include>**/**</include > </includes> <filtering>false</filtering> </resource> <resource> <d Irectory>${basedir}/src/main/webapp</directory> <targetpath>meta-inf/resources</targetpath > <includes> <include>**/**</include> </includes> </resource> </res ources> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <art ifactid>spring-boot-maven-plugin</artifactid> <version>1.4.2.RELEASE</version> <dependencies> <dependency> &L T;groupid>org.springframework</groupid> <artifactId>springloaded</artifactId> <version
>1.2.6.RELEASE</version> </dependency> </dependencies> <configuration> <fork>true</fork> </configuration> </plugin> </plugins> <defaultgoal&
Gt;compile</defaultgoal> </build> </project>