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

Ability to work with AOP/cglib/Spring annotations #6

Open
GoogleCodeExporter opened this issue Mar 25, 2015 · 1 comment
Open

Ability to work with AOP/cglib/Spring annotations #6

GoogleCodeExporter opened this issue Mar 25, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

If I have a spring transaction service bean such as the following -

@Service
@Transactional
@Logger(type=Type.SLF4J, var="logger")
public class TestService {
   ...
}

I get a NPE when I use the logger object. I am guessing this is due to the 
proxy mechanisms.

Using morbok 0.1.3.

Original issue reported on code.google.com by alvin...@gmail.com on 26 Nov 2009 at 8:47

@GoogleCodeExporter
Copy link
Author

Sorry I haven't gotten around to looking at this, it's been a while since I did 
anything with spring so I haven't 
been to motivated to try to reproduce this.  I imagine this is a limitation in 
lombok itself so outside the scope of 
morbok.  Do other lombok annotations like @Data work with that combination of 
spring annotations?

Original comment by voidstar@gmail.com on 22 Feb 2010 at 1:13

  • Added labels: ****
  • Removed labels: ****

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