javax.persistence persistence-api 1.0.2 @Column @Table @Id @Transient
com.fasterxml.jackson.core jackson-annotations 2.11.3 @JsonProperty("INPUT_DATE") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date inputDate;
org.springframework spring-context 5.2.9.RELEASE @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
io.swagger.core.v3 swagger-annotations 2.1.5 @ApiModel(value = "返回信息") @ApiModelProperty("经营单位编码")
org.projectlombok lombok 1.18.16 provided @Setter @Getter(特别注意包装类型)
org.apache.commons commons-lang3 3.11
commons-collections commons-collections 3.2.2
javax.validation validation-api 2.0.1.Final @NotEmpty(message="表头关联字段不能为空!") @Digits(integer = 13, fraction = 5, message = "实际过卡数量必须为数字,整数位最大13位,小数最大5位!") @ApiModelProperty("实际过卡数量") private BigDecimal actlPassQty; regex = "^(\\d{0,2})(\\.\\d{1,9})?$" junit junit 4.12 test
ch.ethz.ganymed ganymed-ssh2 build210 org.springframework.boot spring-boot-starter-web org.springframework.boot spring-boot-starter-test test org.junit.vintage junit-vintage-engine junit junit org.springframework.boot spring-boot-starter-jdbc org.apache.httpcomponents httpclient 4.3.1
mysql mysql-connector-java 8.0.22 org.postgresql postgresql 42.1.1
org.javatuples javatuples 1.2
ojdbc ojdbc 14
com.alibaba druid 1.2.1
com.alibaba fastjson 1.2.74
com.alibaba dubbo 2.6.9
org.apache.kafka kafka-clients 2.6.0
com.itextpdf itextpdf 5.4.2
maven 下载包和依赖的网站:https://mvnrepository.com/测试:
junit junit 4.11 test 日志: org.slf4j slf4j-api 1.7.2 ch.qos.logback logback-core 1.1.1 ch.qos.logback logback-classic 1.1.1 数据库相关: mysql mysql-connector-java 5.1.35 runtime c3p0 c3p0 0.9.1.2 dao框架依赖,mybatis依赖 : org.mybatis mybatis 3.3.0 mybatis与spring整合: org.mybatis mybatis-spring 1.2.3 标签库依赖: taglibs standard 1.1.2 jstl jstl 1.2 com.fasterxml.jackson.core jackson-databind 2.5.4 javax.servlet javax.servlet-api 3.1.0 spring相关依赖: org.springframework spring-core 4.1.7.RELEASE org.springframework spring-beans 4.1.7.RELEASE org.springframework spring-context 4.1.7.RELEASE org.springframework spring-jdbc 4.1.7.RELEASE org.springframework spring-tx 4.1.7.RELEASE org.springframework spring-web 4.1.7.RELEASE org.springframework spring-webmvc 4.1.7.RELEASE org.springframework spring-test 4.1.7.RELEASE maven 打jar包插件: org.apache.maven.plugins maven-compiler-plugin 1.7 1.7 org.springframework.boot spring-boot-maven-plugin repackage springboot依赖: org.springframework.boot spring-boot-starter-parent 1.5.2.RELEASE org.springframework.boot spring-boot-starter-web org.springframework.boot spring-boot-starter-tomcat org.apache.tomcat.embed tomcat-embed-jasper org.mybatis.spring.boot mybatis-spring-boot-starter 1.1.1 org.projectlombok lombok 1.18.10 provided 热部署: org.springframework.boot spring-boot-devtools runtime或者
<?xml version="1.0" encoding="UTF-8"?> 4.0.0 cn.mustok ipaobu war 1.0.0-SNAPSHOT ${basedir}/src ${basedir}/WebRoot/WEB-INF/classes ${basedir}/src **/*.java maven-war-plugin ${basedir}/WebRoot ${basedir}/WebRoot maven-compiler-plugin 1.5 1.5 junit junit 4.11 test<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
<version>1.8.4</version>
</dependency>
<!-- spring核心包 -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-oxm</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-tx</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aop</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>${spring.version}</version>
</dependency>
<!-- mybatis核心包 -->
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis</artifactId>
<version>${mybatis.version}</version>
</dependency>
<!-- mybatis/spring包 -->
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis-spring</artifactId>
<version>1.2.2</version>
</dependency>
<!-- 导入java ee jar 包 -->
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-api</artifactId>
<version>7.0</version>
</dependency>
<!-- 导入Mysql数据库链接jar包 -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.30</version>
</dependency>
<!-- 导入dbcp的jar包,用来在applicationContext.xml中配置数据库 -->
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
<version>1.2.2</version>
</dependency>
<!-- JSTL标签类 -->
<dependency>
<groupId>jstl</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>
<!-- 日志文件管理包 -->
<!-- log start -->
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>${log4j.version}</version>
</dependency>
<!-- 格式化对象,方便输出日志 -->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>1.1.41</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>${slf4j.version}</version>
</dependency>
<!-- log end -->
<!-- 映入JSON -->
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-mapper-asl</artifactId>
<version>1.9.13</version>
</dependency>
<!-- 上传组件包 -->
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
<version>1.3.1</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.4</version>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.9</version>
</dependency>
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongo-java-driver</artifactId>
<version>2.11.0</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.1</version>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-mongodb</artifactId>
<version>1.2.0.RELEASE</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.0</version>
</dependency>
<dependency>
<groupId>com.belerweb</groupId>
<artifactId>pinyin4j</artifactId>
<version>2.5.0</version>
</dependency>
<!-- oss阿里云组件 -->
<dependency>
<groupId>com.aliyun.oss</groupId>
<artifactId>aliyun-sdk-oss</artifactId>
<version>2.0.6</version>
</dependency>
<dependency>
<groupId>com.bcloud.msg</groupId>
<artifactId>http</artifactId>
<version>1.0.0</version>
<scope>system</scope>
<!--本地jar的路径,相对或者绝对都可以-->
<systemPath>${basedir}/WebRoot/WEB-INF/lib/http.jar</systemPath>
</dependency>
<dependency>
<groupId>me.chanjar</groupId>
<artifactId>weixin-java-mp</artifactId>
<version>1.3.3</version>
</dependency>
<dependency>
<groupId>jexcelapi</groupId>
<artifactId>jxl</artifactId>
<version>2.4.2</version>
</dependency>
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-core</artifactId>
<version>2.2.2</version>
</dependency>
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-dm</artifactId>
<version>2.0.0-rc2</version>
</dependency>
grdle:
dependencies {
compile(‘org.springframework:spring-core:2.5.6’)
compile(‘org.springframework:spring-beans:2.5.6’)
compile(‘org.springframework:spring-context:2.5.6’)
compile(‘com.google.code.kaptcha:kaptcha:2.3:jdk15’)
testCompile(‘junit:junit:4.7’)
}
project(’:test1’) {
dependencies {
compile project(’:test2’)
}
}