【Java – bug】项目实践-mysql

  • Post author:
  • Post category:java



  1. mysql驱动版本err

  2. SQLException: Access denied for user ‘root’@‘10.2.26.170’ (using password: YES)

    解决:用户密码错误

  3. java.lang.IllegalStateException: Failed to load ApplicationContext

    – ConfigurationPropertiesBindException: Error creating bean with name ‘durid’: Could not bind properties to ‘DataSource’ :

    BindException: Failed to bind properties under ‘spring.datasource’ to javax.sql.DataSource

    解决:

    少了配置文件里的包



版权声明:本文为qq_38734403原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。