1

IDEA2020.3Community
java1.8

java: cannot find symbol
  symbol:   variable log
  • Enable annotation processing---check
  • lombok plugin(newest 0.32-EAP)---check
  • maven/gradle dependencies(providedCompile group: 'org.projectlombok', name: 'lombok', version: '1.18.16')---check
  • Invalidate caches and restart---tried many times
    no error/warning displayed, only if me building the project these errors pop up on build output
    Why is this happening?
sourab maity
  • 1,025
  • 2
  • 8
  • 16
Django47
  • 23
  • 6
  • 1
    Do you face the same issue if you build using Maven/Gradle from command line outside IDE? – y.bedrov Dec 22 '20 at 08:37
  • nope, maven/gradle build works fine even inside IDE, I'm facing the issue after press build project(ctrl + f9) button – Django47 Dec 22 '20 at 08:51
  • Is it possible to share sample project example? – y.bedrov Dec 22 '20 at 09:28
  • just using IDEA2020.3 creat a project whit maven or gradle and try use lombok, hardly work for me. – Django47 Dec 22 '20 at 09:39
  • https://gitee.com/elunez/eladmin.git you can clone this open source project and built it to diecover the error – Django47 Dec 22 '20 at 09:40
  • Looks like some issue with Lombok plugin - it works fine in Ultimate editon with bundled plugin. – y.bedrov Dec 22 '20 at 13:45
  • i heard that IDEA2020.3 both cummunity and ultimate edition supposed to have the embedded lombok, but there is something wrong with cummunity edition – Django47 Dec 23 '20 at 01:47
  • Yes, there was some issue with integrating plugin to Community edition. probably we need to wait for 2020.3.1 release. – y.bedrov Dec 24 '20 at 08:44

1 Answers1

1

Actually, mvn compile solved my problem.

Ivan Aracki
  • 4,861
  • 11
  • 59
  • 73
Django47
  • 23
  • 6