本文共 3029 字,大约阅读时间需要 10 分钟。
其实就是maven添加DB2驱动。只是要求db2jcc4。
mvn install:install-file "-DgroupId=com.ibm.db2" "-DartifactId=db2jcc4" "-Dversion=11.1" "-Dpackaging=jar" "-Dfile=D:\db2jcc4.jar"
mvn install:install-file "-DgroupId=com.ibm.db2" "-DartifactId=db2jcc_license_cu" "-Dversion=11.1" "-Dpackaging=jar" "-Dfile=D:\db2jcc_license_cu.jar"
4.0.0 just a 0.0.1 jar test just a test org.springframework.boot spring-boot-starter-parent 2.0.4.RELEASE UTF-8 UTF-8 1.8 org.springframework.boot spring-boot-starter-thymeleaf org.springframework.boot spring-boot-starter-web org.springframework.boot spring-boot-starter org.springframework.boot spring-boot-starter-logging org.springframework.boot spring-boot-starter-log4j2 org.apache.cxf cxf-spring-boot-starter-jaxrs 3.2.5 org.springframework.boot spring-boot-starter-data-jpa org.mybatis.spring.boot mybatis-spring-boot-starter 1.3.2 org.springframework.boot spring-boot-configuration-processor true org.springframework.boot spring-boot-starter-test test io.micrometer micrometer-registry-jmx com.ibm.db2 db2jcc4 11.1 com.ibm.db2 db2jcc_license_cu 11.1 com.h2database h2 runtime org.apache.httpcomponents httpclient org.apache.httpcomponents httpmime org.bouncycastle bcprov-ext-jdk15on 1.60 org.bouncycastle bcpkix-jdk15on 1.60 compile org.springframework.boot spring-boot-maven-plugin
转载地址:http://owucn.baihongyu.com/