SpringBoot2-mssql2008

1.pom



   com.baomidou
   mybatis-plus-boot-starter
   3.5.3.1




   com.baomidou
   mybatis-plus-generator
   3.5.3.1




   com.microsoft.sqlserver
   mssql-jdbc
   8.4.1.jre8

2.yml

server:
  port: 8081
spring:
  datasource:
    driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
    url: jdbc:sqlserver://localhost:1433;databaseName=YZ_Med_InfoCenter;trustServerCertificate=true;useSSL=false
    username: sa
    password: china_2020

mybatis-plus:
  configuration:
    map-underscore-to-camel-case: false
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl

3.删除jre文件夹下java.security中 TLSv1

jdk.tls.disabledAlgorithms=SSLv3, TLSv1.1, RC4, DES, MD5withRSA, \
    DH keySize < 1024, EC keySize < 224, 3DES_EDE_CBC, anon, NULL, \
    include jdk.disabled.namedCurves

4.

你可能感兴趣的:(java,ui)