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

@Setter onX issue #1344

Open
xjarkrof opened this issue Mar 23, 2017 · 1 comment
Open

@Setter onX issue #1344

xjarkrof opened this issue Mar 23, 2017 · 1 comment

Comments

@xjarkrof
Copy link

It seems that there is problem processing something like:

@Setter(onMethod = @__(@PersistenceContext(unitName = "xxxx")))
private EntityManagerFactory entityManagerFactory;

Which ends up:

error: duplicate element '<any?>' in annotation @<any?>.
    @Setter(onMethod = @__(@PersistenceContext(unitName = "xxxx")))
                                               ^

And whole annotation processing is interrupted

@oleksandrzaiats
Copy link

@xjarkrof looks at these issues: #1317 and original #778 issue. Looks you are using Java 8. You should update your project to 1.16.16 lombok and use "onMethod_" instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants