Quarkus Maven 插件不再构建
Quarkus Maven Plugin not building anymore
由于某些原因,我们的应用程序后端无法正确构建:
错误信息
虽然使用 mvn clean install
仍然有效,但 mvn compile quarkus:dev -pl web
无效,在构建 quarkus-maven-plugin:1.11.3.Final 期间抛出以下错误消息:开发:
10:26:50,438 WARN [io.agr.pool] (agroal-11) Datasource '<default>': Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
10:26:50,440 WARN [org.fly.cor.int.jdb.JdbcUtils] (Quarkus Main Thread) Connection error: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. (Caused by No appropriate protocol (protocol is disabled or cipher suites are inappropriate)) Retrying in 1 sec...
10:26:51,445 WARN [io.agr.pool] (agroal-11) Datasource '<default>': Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
10:26:51,445 WARN [org.fly.cor.int.jdb.JdbcUtils] (Quarkus Main Thread) Connection error: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. (Caused by No appropriate protocol (protocol is disabled or cipher suites are inappropriate)) Retrying in 2 sec...
10:26:53,450 WARN [io.agr.pool] (agroal-11) Datasource '<default>': Communications link failure
这会随着时间间隔的增加而继续。
已采取的步骤
我已经检查了 SQL Docker 容器是否离线,但它按预期启动并且可以使用 telnet localhost 3306
。
由于该项目是按照我的同事使用相同提交的方式构建的,因此我尝试从我们的版本控制中进行全新安装。无果。
同一项目上周正常运行,项目没有任何变化。两者之间应用的唯一系统范围的变化是安装新的 nvidia 驱动程序、cuda 和 cudNN。 GPU 驱动程序不应该对网络应用有任何影响?
有没有人遇到过类似的问题并且知道如何解决?
我们在 Quarkus CI 中遇到了类似的问题,修复是更新 MySQL 容器,因为使用的版本太旧并且使用的密码不再被 JDK.
找不到 JDK 和 MySQL 实例之间的通用密码,因此无法正常工作。
您能否尝试使用更新版本的 MySQL(或 MariaDB)映像?通常来自 Testcontainers 的默认值太旧了。
由于某些原因,我们的应用程序后端无法正确构建:
错误信息
虽然使用 mvn clean install
仍然有效,但 mvn compile quarkus:dev -pl web
无效,在构建 quarkus-maven-plugin:1.11.3.Final 期间抛出以下错误消息:开发:
10:26:50,438 WARN [io.agr.pool] (agroal-11) Datasource '<default>': Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
10:26:50,440 WARN [org.fly.cor.int.jdb.JdbcUtils] (Quarkus Main Thread) Connection error: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. (Caused by No appropriate protocol (protocol is disabled or cipher suites are inappropriate)) Retrying in 1 sec...
10:26:51,445 WARN [io.agr.pool] (agroal-11) Datasource '<default>': Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
10:26:51,445 WARN [org.fly.cor.int.jdb.JdbcUtils] (Quarkus Main Thread) Connection error: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. (Caused by No appropriate protocol (protocol is disabled or cipher suites are inappropriate)) Retrying in 2 sec...
10:26:53,450 WARN [io.agr.pool] (agroal-11) Datasource '<default>': Communications link failure
这会随着时间间隔的增加而继续。
已采取的步骤
我已经检查了 SQL Docker 容器是否离线,但它按预期启动并且可以使用 telnet localhost 3306
。
由于该项目是按照我的同事使用相同提交的方式构建的,因此我尝试从我们的版本控制中进行全新安装。无果。
同一项目上周正常运行,项目没有任何变化。两者之间应用的唯一系统范围的变化是安装新的 nvidia 驱动程序、cuda 和 cudNN。 GPU 驱动程序不应该对网络应用有任何影响?
有没有人遇到过类似的问题并且知道如何解决?
我们在 Quarkus CI 中遇到了类似的问题,修复是更新 MySQL 容器,因为使用的版本太旧并且使用的密码不再被 JDK.
找不到 JDK 和 MySQL 实例之间的通用密码,因此无法正常工作。
您能否尝试使用更新版本的 MySQL(或 MariaDB)映像?通常来自 Testcontainers 的默认值太旧了。