java错误
风月莫容
这个作者很懒,什么都没留下…
展开
-
fegin启动报错:It was loaded from the following location: file:/C:/Users/XXX/.m2/repository/com/goo
今天在使用fegin远程调用服务的时候服务怎么也启动不了报这样一个错误Description: An attempt was made to call the method com.google.common.collect.FluentIterable.append(Ljava/lang/Iterable;)Lcom/google/common/collect/FluentIterable; but it does not exist. Its class, com.google.commo转载 2020-05-13 15:43:09 · 5601 阅读 · 0 评论 -
Caused by: java.lang.NoClassDefFoundError: org/springframework/aop/aspectj/autoproxy解决方案
Caused by: java.lang.NoClassDefFoundError: org/springframework/aop/aspectj/autoproxy这个错是因为缺少jar包,贼讨厌这种错了。如果使用maven就在pom.xml中添加 <dependency> <groupId>org.springfra...原创 2019-01-04 16:55:55 · 5110 阅读 · 0 评论 -
org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before
使用Hibernate时产生如下异常:org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save():可能是主键生成策略出错或没有写。...原创 2019-03-26 20:16:00 · 2495 阅读 · 0 评论 -
Caused by: org.hibernate.AnnotationException: No identifier specified for entity:
Caused by: org.hibernate.AnnotationException: No identifier specified for entity: com.ljs.Demo_03_ManyToMany.entity这是导入错类了重新导入正确的类即可。原创 2019-04-04 15:06:44 · 376 阅读 · 0 评论