Debop
Debop

Reputation: 1075

IntelliJ 12.1.5 with lombok @Slf4j can't build

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

Answers (2)

Monsif Mabrouk
Monsif Mabrouk

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

Rage Steel
Rage Steel

Reputation: 606

Use new build or wait for 12.1.6

Upvotes: 1

Related Questions