Java项目遇到问题

136 阅读1分钟

Application 启动问题

库导入过多 但是并没有利用

image.png

解决方案一:去掉

问题 我猜测是因为 库导多了 去掉就行了

image.png

解决方案二:利用起来

spring:
  datasource:
    type: com.alibaba.druid.pool.DruidDataSource
    driver-class-name: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://localhost:3306/new_jiakao?serverTimezone=GMT%2B8
    username: root
    password: root

接口注入问题

image.png

image.png