
Bug
开发中的Bug
丢了尾巴的猴子
在这个世界上,一切都预先被谅解了,一切也就被卑鄙的许可了
展开
-
Reference to incomplete type ‘const QVariant‘ could not bind to an rvalue of type ‘int‘
QVariant`是一种通用的数据类型,可以存储多种不同的数据类型,包括整数、字符串、浮点数等。如果您尝试将一个`int`类型直接赋值给`QVariant`类型的变量,可能需要进行类型转换。`QVariant`类型通常在Qt框架中使用,所以请确保包含了正确的Qt头文件,并在代码中使用了正确的命名空间。根据您提供的信息,似乎涉及到了`QVariant`类型和`int`类型之间的绑定问题。这样可以将`myInt`的值转换为`QVariant`类型并赋值给`myVariant`变量。原创 2023-08-31 16:39:14 · 464 阅读 · 0 评论 -
TCP socket error (The proxy type is invalid for this operation).
在使用QModbusTcpClient连接Modbus TCP设备时,如果您没有配置代理服务器,或者配置的代理类型不正确,就会出现这个错误。有时防火墙可能会阻止应用程序与外部设备建立连接,您可以尝试暂时禁用防火墙进行测试,如果连接成功,则说明防火墙设置可能是问题所在。确认网络环境:如果您在使用Modbus TCP设备时没有使用代理服务器,确保您的计算机和Modbus TCP设备处于相同的网络环境中,并且可以直接进行通信。如果您有更多问题,请随时提问。检查设备状态:在连接设备之前,可以使用。原创 2023-08-31 16:41:59 · 1301 阅读 · 0 评论 -
SpringBoot 项目 部署到本地docker时,读取不到nacos里的服务配置文件
该怎么解决?请求大神!原创 2021-08-27 16:59:39 · 1678 阅读 · 5 评论 -
Failed to process, please exclude the tableName or statementId. Error SQL
错误信息:nested exception is org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, please exclude the tableName or statementId. Error SQL: SELE原创 2021-06-15 10:53:11 · 7291 阅读 · 1 评论 -
springboot 2.3.0 版本无法引用 javax.validation.constraints. 下的 @NotNull 注解
springboot 2.3.0 版本无法引用 javax.validation.constraints. 下的 @NotNull 注解,如果像使用@NotNull等注解,把版本降到2.2.6就可以了。原创 2020-06-02 09:08:25 · 8881 阅读 · 10 评论 -
msg: "HV000030: No validator could be found for constraint 'javax.validation.constraints.NotBlank' v
@NotNull:不能为null,但可以为empty@NotEmpty:不能为null,而且长度必须大于0@NotBlank:只能作用在String上,不能为null,而且调用trim()后,长度必须大于0原创 2020-04-21 16:13:43 · 533 阅读 · 0 评论 -
Failed to execute goal com.spotify:docker-maven-plugin:1.2.0:build (default-cli) on project security
Failed to execute goal com.spotify:docker-maven-plugin:1.2.0:build (default-cli) on project security: Exception caught<build> <plugins> <plugin> <gro...原创 2020-04-03 10:25:12 · 13422 阅读 · 5 评论 -
docker springboot The driver has not received any packets from the server
com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failureThe last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets f...原创 2020-03-30 10:22:40 · 2166 阅读 · 0 评论 -
java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet
严重: Error loading WebappClassLoader delegate: false repositories: /WEB-INF/classes/----------> Parent Classloader:org.apache.catalina.loader.StandardClassLoader@6cb8 org.springframewo原创 2017-11-30 11:24:18 · 747 阅读 · 0 评论