Reputation: 1075
Upgrade to IntelliJ 12.1.5 installed lombok plugin, but can't build @Slf4j
error message like this
java: FileName.java:89: cannot find symbol
symbol : variable log
Upvotes: 0
Views: 295
Reputation: 119
have your tried to Enable annotation processing ?
go under Settings->Compiler->Annotation Processors. and make sure 'Enable annotation processing' is enabled.
Otherwise check your dependencies. if you are using Maven to build your project you should have something similar to this in your pom :
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.22</version>
</dependency>
Upvotes: 2