【问题标题】:JHipster Liquibase Warning SSL MysqlJHipster Liquibase 警告 SSL Mysql
【发布时间】:2016-10-28 13:21:28
【问题描述】:

当我制作 liquibase 的差异时,我收到一条关于 SSL 连接的消息(见下文)

Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification. Jan 04, 2016 11:46:29 AM org.springframework.context.support.ClassPathXmlApplicationContext prepareRefresh

但我已经使用&useSSL=false 更改了 JHipster 文件(在开发和产品中)上的每个 MySQL 连接属性文件。但仍然有错误。

有人知道我是否需要更新另一个文件吗?

我使用的是最新版本的 JHipster (3.10.0)。

感谢您的帮助!

【问题讨论】:

    标签: java mysql liquibase jhipster


    【解决方案1】:

    Liquibase diff 不使用 JHipster 应用程序属性文件,它只是介于 maven 和 liquibase 之间的东西,您是否在 pom.xml 中更改了此设置?

    【讨论】:

    • 我没有做任何改变,我创建了 3 个类,为了持久化这些类,我使用了 diff(但我遇到了这个错误)
    • 也许这里有一个误解,当您通过 maven 使用 liquibase diff 时,配置和选项在 pom.xml 中,在您的情况下,我认为您必须更改它们。请参阅github.com/jhipster/jhipster-sample-app/blob/master/… 否则请澄清您的用例
    • 是的,你是对的,是我的错误。经过一段时间的完美工作!
    猜你喜欢
    • 1970-01-01
    • 2015-12-28
    • 2017-01-15
    • 2015-08-11
    • 2023-04-11
    • 1970-01-01
    • 1970-01-01
    • 2017-06-23
    • 1970-01-01
    相关资源
    最近更新 更多