我安装了IntelliJ旗舰版2019.2和最新的lombok0.25插件。此外,为我的项目启用了Lombok (Preferences --> Other Settings --> Lombok Plugin)并安装了插件。批注处理也已启用。我的项目使用Java11。
当我通过Gradle运行我的应用程序或者通过./gradlew test运行单元测试时,一切都运行得很好。
当我现在配置为使用IntelliJ IDEA工具(Preferences --> Build,Executions,Deployment --> Build Tools --> Gradle --> 'Build an Run using:‘和'Run tooling:’设置为'IntelliJ IDEA')停止工作时,我生成的类就找不到了。
我收到异常,我的构造函数找不到,而它们是在我使用gradle时找到的
(no Creators, like default construct, exist): cannot deserialize from Object value (no delegate- or property-based Creator)
发布于 2019-10-30 00:36:40
我点击了Refactor->Lombok->@Log and friends
,IDEA开始编译代码。
https://stackoverflow.com/questions/57490804
复制相似问题