开发者社区> 问答> 正文

启动项目时ebean 报错 我跟同事的windows系统都起不来 但有的同事mac系统能启动

报错内容

Caused by: java.lang.NoSuchMethodError: io.ebean.bean.EntityBeanIntercept.preSetter(ZILjava/lang/Object;Ljava/lang/Object;)V at com.chocwell.sych.common.domain.NatQuestionnaire._ebean_set_create_time(NatQuestionnaire.kt:1) ~[main/:?] at com.chocwell.sych.common.domain.NatQuestionnaire. (NatQuestionnaire.kt:66) ~[main/:?] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_311] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_311] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_311] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_311] at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_311] at io.ebeaninternal.server.deploy.BeanDescriptor.createPrototypeEntityBean(BeanDescriptor.java:565) ~[ebean-10.1.5.jar:?] at io.ebeaninternal.server.deploy.BeanDescriptor. (BeanDescriptor.java:412) ~[ebean-10.1.5.jar:?] at io.ebeaninternal.server.deploy.BeanDescriptorManager.readEntityRelationships(BeanDescriptorManager.java:761) ~[ebean-10.1.5.jar:?] at io.ebeaninternal.server.deploy.BeanDescriptorManager.deploy(BeanDescriptorManager.java:323) ~[ebean-10.1.5.jar:?] at io.ebeaninternal.server.core.InternalConfiguration. (InternalConfiguration.java:141) ~[ebean-10.1.5.jar:?]

ebean 版本 8.6.2-SNAPSHOT springboot 版本 1.5.1.RELEASE

idea已经安装了插件 enhancement

展开
收起
xuehao1 2022-03-25 14:42:41 2242 0
1 条回答
写回答
取消 提交回答
  • 可以尝试替换idea EntityBean enhancement 插件,以前遇到过换成EntityBean 10.x Enhancement就好了

    2022-05-20 08:10:49
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
《云服务器运维之Windows篇》 立即下载
TAKING WINDOWS 10 KERNEL 立即下载
ECS运维指南之Windows系统诊断 立即下载