
报错汇总
后端报错汇总
Knight_AL
这个作者很懒,什么都没留下…
展开
-
nested exception is org.hibernate.AnnotationException: No identifier specified for entity:
使用hibernate的映射表的时候entity类是必须要主键的,否则就会报出这个异常。原创 2025-02-24 09:44:41 · 142 阅读 · 0 评论 -
k8s:The connection to the server localhost:8080 was refused - did you specify the right host or
当k8s遇到了这个错误,大概率就是可能是环境变量或用户权限的差异。原创 2024-03-06 11:15:55 · 662 阅读 · 0 评论 -
Consider defining a bean of type ‘org.springframework.transaction.PlatformTransactionManager‘ in you
【代码】Consider defining a bean of type 'org.springframework.transaction.PlatformTransactionManager' in you。原创 2024-02-20 15:44:57 · 587 阅读 · 0 评论 -
Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource could
然后去github看官网怎么写的,发下< artifactId >是由springboot变成了现在的springboot3。springboot3配置多数据源dynamic-datasource。原创 2024-01-24 09:36:36 · 439 阅读 · 0 评论 -
Property ‘sqlSessionFactory‘ or ‘sqlSessionTemplate‘ are required
提高Mybatis-Plus的版本,注意要使用3.5.2之后的版本。SpringBoot3.x版本与Mybatis-Plus不兼容。原创 2024-01-24 09:29:45 · 697 阅读 · 0 评论 -
The GPG keys listed for the “MySQL 8.0 Community Server“ repository are already installed but they a
这个是由于GPG密钥验证问题引起的。原创 2023-10-01 09:25:35 · 2965 阅读 · 1 评论 -
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table ‘xxx.QRTZ_TRIGGERS‘ doesn‘t exist
这个错报的是在数据库里没有这个表 QRTZ_TRIGGERS ,其实数据库中有的是 qrtz_triggers。区别在于一个是大写,一个是小写。默认情况下,mysql是区分大小写的,所以为了避免这种问题,就需要把mysql的区分大小写的属性给修改了。在[mysqld]节点下,加入一行: lower_case_table_names=1。(systemctl restart mysqld):在数据库 中明明有这张表 qrtz_triggers还是报这个错。修改/etc/my.cnf。原创 2023-09-12 13:50:42 · 1195 阅读 · 0 评论 -
Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 59
报错原因:服务器版本和项目的jdk版本不兼容 改为jdk1.8即可。原创 2023-08-13 20:24:56 · 421 阅读 · 0 评论 -
java.lang.ClassCastException: java.lang.Object cannot be cast to com.donglin.gmall.model.product.Sku
解决方案:先向上转型,再向下转型。原创 2023-07-04 16:21:04 · 151 阅读 · 0 评论 -
org.springframework.data.redis.serializer.SerializationException: Could not read JSON: Illegal chara
查看Redis的数据,发现无缘无故多了内容(\x00\x00)经过一系列调试,问题出在这,没有设置时间单位如果不设置时间单位,那么第三个会是偏移量。原创 2023-07-04 14:52:18 · 1568 阅读 · 0 评论 -
org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Unexpected cha
【代码】org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Unexpected cha。原创 2023-05-28 16:06:40 · 1225 阅读 · 1 评论 -
java.lang.IllegalStateException: Channel closed; cannot ack/nack
java.lang.IllegalStateException: Channel closed; cannot ack/nack原创 2023-03-28 20:13:07 · 130 阅读 · 0 评论 -
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘use
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'use原创 2023-03-12 18:40:15 · 2412 阅读 · 1 评论 -
‘modelVersion‘ is missing.
‘modelVersion‘ is missing.原创 2023-02-22 22:34:45 · 1615 阅读 · 2 评论 -
java: 找不到符号 符号: 变量 log
java: 找不到符号 符号: 变量 log原创 2023-02-22 20:25:13 · 2296 阅读 · 0 评论 -
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/pool2/impl/GenericObjectPoolConfig
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/pool2/impl/GenericObjectPoolConfig原创 2023-02-20 20:10:17 · 1161 阅读 · 0 评论 -
Spring Boot Configuration Annotation Processor not configured
Spring Boot Configuration Annotation Processor not configured原创 2023-02-15 17:41:38 · 150 阅读 · 1 评论 -
[ERROR] ‘modules.module[3]‘ specifies duplicate child module user-provider @ line 17, column 17
[ERROR] ‘modules.module[3]‘ specifies duplicate child module user-provider @ line 17, column 17原创 2023-02-13 19:19:36 · 453 阅读 · 0 评论 -
java.lang.String cannot be cast to java.lang.Integer
java.lang.String cannot be cast to java.lang.Integer原创 2023-02-13 12:27:08 · 133 阅读 · 0 评论 -
java.lang.IllegalStateException: No instances available for localhost
java.lang.IllegalStateException: No instances available for localhost原创 2023-02-12 19:39:41 · 331 阅读 · 0 评论 -
feign.FeignException$NotFound: status 404 reading PaymentFeignService#paymentFeignTimeout()
feign.FeignException$NotFound: status 404 reading PaymentFeignService#paymentFeignTimeout()原创 2023-02-12 18:29:14 · 365 阅读 · 0 评论 -
org.springframework.web.bind.MissingRequestHeaderException: Missing request header ‘token‘ for metho
org.springframework.web.bind.MissingRequestHeaderException: Missing request header 'token' for method parameter of type String原创 2023-02-12 17:58:25 · 2806 阅读 · 2 评论 -
Caused by: com.rabbitmq.client.ShutdownSignalException: connection error; protocol method
Caused by: com.rabbitmq.client.ShutdownSignalException: connection error; protocol method原创 2023-02-11 13:30:17 · 2121 阅读 · 0 评论 -
Web server failed to start. Port 8001 was already in use.
Web server failed to start. Port 8001 was already in use.原创 2023-02-04 22:48:00 · 540 阅读 · 0 评论 -
java.net.UnknownHostException: CLOUD-PAYMENT-SERVICE
java.net.UnknownHostException: CLOUD-PAYMENT-SERVICE原创 2023-02-04 22:47:44 · 770 阅读 · 0 评论