Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@Slf4J not running #330

Closed
lombokissues opened this issue Jul 14, 2015 · 5 comments
Closed

@Slf4J not running #330

lombokissues opened this issue Jul 14, 2015 · 5 comments

Comments

@lombokissues
Copy link

Migrated from Google Code (issue 257)

@lombokissues
Copy link
Author

👤 lkwg82   🕗 Aug 12, 2011 at 22:36 UTC

What steps will reproduce the problem?

  1. aspectj enabled
  2. adding/commenting @ Slf4J
    3.

this code:


import lombok.AccessLevel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Setter;

@ Data
@ EqualsAndHashCode
//@ Slf4j
public class TestLombok
{
@ Setter(value = AccessLevel.PRIVATE)
private String name;

private void test()
{
// log.debug("assd");
}

}


What is the expected output? What do you see instead?

no error

What version of the product are you using? On what operating system?

eclipse 3.7. aspectj5 and lombok 0.10.0-RC3

Please provide any additional information below.

maybe you can detect aspectj and be the first in the compilation process?

I've read a lot about this problem and I've seen the manual solution, but not from within eclipse.

@lombokissues
Copy link
Author

👤 reinierz   🕗 Sep 20, 2011 at 18:30 UTC

@lombokissues
Copy link
Author

👤 reinierz   🕗 Sep 20, 2011 at 18:30 UTC

Duplicate of issue #96

@lombokissues
Copy link
Author

👤 mattedgeis   🕗 Dec 31, 2014 at 20:50 UTC

This issue remains with the newest Lombok and Eclipse Luna. Specifically, installing the STS Plugin with Spring AOP/ADJT will break the Lombok code generation. No error is shown, but the Eclipse Outline view will show that no code generation occurs.

@lombokissues
Copy link
Author

End of migration

lianhaijun pushed a commit to lianhaijun/lombok that referenced this issue May 8, 2020
…substitution

Fixes projectlombok#306

Generate generics builder when @builder is on non-generic constructor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant